startForeground() basically helps you achieve keeping your service running 
as long as possible. However, the cost of doing this is that you must 
provide an ongoing notification so the user is aware that something is 
constantly running.

What is it you are trying to achieve and you want the NFC service to run 
continuously?

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