I am communicating with a NFC tag and sending commands to the tag. But
the service gets cutoff and I could not complete the sending of
commands. Increasing the timeout doesn't help too.

That's why need looking for a way to continuously run the NFC service.

On May 12, 11:12 am, dnkoutso <[email protected]> wrote:
> 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 [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