Thanks alot, this is what i need :-)
On 5 Mrz., 10:04, dillirao malipeddi <[email protected]> wrote:
> while creating notification
>
> set flags as FLAG_NO_CLEAR
>
> then the notification remains after user clicks clear notification
>
> Notification my_notification = new Notification(R.drawable.iconl,
> status_text, System.currentTimeMillis());
>
> my_notification .flags = Notification.FLAG_NO_CLEAR;
>
> i think this will help you
>
>
>
> On Thu, Mar 5, 2009 at 2:26 PM, Manfred <[email protected]> wrote:
>
> > Hi!
>
> > I have a Backgroundservice running, an icon is displayed in the status-
> > bar. When a user clicks the button "delete notifications" my icon
> > dissappears also.
> > But i want that after that my icon appears again! So that the user is
> > able to click on the notification to get into my application. Now i
> > display the notification in a thread every time. But i want to display
> > it only if it was deleted. I think the best way is to check if the
> > notification is displayed, is there a way to get this information?
>
> > Thanks
> > manfred
>
> --
> Dilli Rao. M
> ARIJASOFT
> +91 - 9703073540
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---