Hello all,

I want to run a background thread or service till application is in 
foreground. Means i want that service to run in background only if any 
activity of an application is in foreground and visible.
when application is in background or not running i.e no activity is in 
foreground or visible it should stop service or cancel that background 
thread.

-- 
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