On Fri, Oct 22, 2010 at 1:23 PM, klavin <[email protected]> wrote:
> I have an app which runs as a background service only. I'l like it to
> start up when its installed.

That is not supported. Please let the user choose when to start up
your application.

> As its just a background service it doesnt show up on the pane of
> installed apps.

That is an invitation to a whole lot of one-star ratings on the
Market. By most reports, users do not like installing which have no
icons in the launcher.

> So there is no way for the user to manually start it.

Then add an activity that adds value to your application, and along
the way sets up the alarm for AlarmManager for your periodic
background work. For example, you could allow the user to change the
frequency of the background work (including "never") in the form of a
PreferenceActivity.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

_The Busy Coder's Guide to Android Development_ Version 3.1 Available!

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to