android-notifications

Use a persistent notification to allow the user to return to running Android app

I am developing an app with numerous Activities. I would like to create a persistent notification that (more or less) says, "AppName - Return to AppName" that will be present whenever my background services are running. Creating and disposing of the notification was no problem. Now, the user could be on any of several screens/Activiti...

Possible to make an Android Notification that does not call an Intent?

Hello, I need to put a Notification in the Status bar while my app is running, but I don't want it to call back to my Activity if selected. Its meant to just be info to the user that the app is running - basically a reminder in case they press the home button and minimize it. Ideas? ...

Don't overwrite existing Notification

For a given Notification ID is it possible (using standard android packages) not to set a notification if there is an existing notification from the app ? I have a news application notifying users on breaking news headlines, one of the requirement is not to over write a breaking news if the user has not cleared it or has not clicked to ...

Does Android provide a callback when the clear button on notifications list is clicked

Does Android provide a callback when the clear button on the notification list is clicked ? My app needs to clear some data whenever the notification is clicked or cleared. On clicking I know what to do, but how do I handle the second case ? ...

Can I test status bar notifications using Android's testing framework?

I have a class that sends a status bar notification in Android. I can't find a way to test whether the notification was sent or not, which makes it very hard to write any kind of useful unit test. Does anyone have a solution for this? ...