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?
I ended up coming up with a solution to this issue although its basically a hack. instead of setting the intent to point to an Activity class I'm using a Dialog class.
Now if the user selects the notification, via the logcat, I can see the Starting Activity logged, but it appears nothing happens.
This allows me to post a notification that stays while my app is running and then I just dismiss it when the user exits.
I have the same desired behavior. My solution was:
Also, to make the notification automatically disappear when selected by the user
Intent intent = new Intent(this, YourActivity.class);
or just
Intent intent = new Intent();