[android-beginners] Can i remove my status bar notification without opening my app?

2010-07-13 Thread 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

Re: [android-beginners] Can i remove my status bar notification without opening my app?

2010-07-13 Thread Kostya Vasilyev
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 Richards

Re: [android-beginners] Can i remove my status bar notification without opening my app?

2010-07-13 Thread TreKing
On Tue, Jul 13, 2010 at 2:12 AM, Nick Richardson wrote: > Hi everyone, > Hi there. > I have (what i hope is) a simple question. > Yup, pretty simple. > 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. >

Re: [android-beginners] Can i remove my status bar notification without opening my app?

2010-07-13 Thread Nick Richardson
Thanks for pointing out that flag... i don't know how i could have missed it, as i had read over that document several times trying to figure this one out. On Tue, Jul 13, 2010 at 8:36 AM, TreKing wrote: > On Tue, Jul 13, 2010 at 2:12 AM, Nick Richardson < > richardson.n...@gmail.com> wrote: > >