Saturday, 15 September 2012

android - Make notification disappear after 5 minutes -


Is it possible to automatically turn information off after a certain time?

Yes, you can create only one service that runs in the background, which is after five minutes. The time will expire and your notification will be removed. Even if you really should do this "there is a debate" should be a notification to inform the user ... and the user should be able to dismiss it yourself.

A service is an application component that performs long-running tasks in the background and does not provide user interfaces.

No comments:

Post a Comment