Nick,
A Notification's PendingIntent can be anything you want - not
necessarily one that launches an activity.
It can be set up to trigger a BroadcastReceiver or even a Service -
which could clear the notification without being visible to the user.
-- Kostya
13.07.2010 11:12, Nick Richardson ?????:
Hi everyone,
I have (what i hope is) a simple question. I would like to remove my
status bar notification when a user clicks on without my app being
brought into the foreground in the process.
I have tried creating a new class/intent that clears my notification
then calls finish() in the onStart and onCreate methods. It clears
the notification, but my app is still opened as a result of the click
on the notification.
Any help would be appreciated.
Thanks!
--
//Nick Richardson
//[email protected] <mailto:[email protected]>
--
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
--
Kostya Vasilev -- WiFi Manager + pretty widget -- http://kmansoft.wordpress.com
--
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en