2012/5/10 lbendlin <l...@bendlin.us>

> We have such a program that supports GPS logging every second. We use a
> foreground service (and a notification icon) and the service very rarely
> gets killed (and most of the time it gets restarted quickly by the OS) .
> Our users are fully aware of and fully ok with the battery impact. Most of
> them use the app in the car with the device in a powered cradle. You
> wouldn't believe how many requests we get for subsecond GPS logging.
> Thankfully the consumer GPS devices don't go that low.
>
> We actually see the opposite problem. When the user exits the application
> this sends the stop signal to the service. However, the service then
> sometimes restarts on its own.
>

Just curious: what does your service return from onStartCommand?

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

Reply via email to