Notification myNoti = new Notification();
myNoti.icon = iconid;
myNoti.tickerText = ...//you test.. etc

.....
NotificationManager notiManager;
notiManager.notify(0, myNoti);----------------------------//can show
your icon on the state bar.



2010/3/9 Sasi <[email protected]>:
> Hi-
>
> I want to create an icon on the status bar without the notification
> message. Is it possible to create an icon on the status bar without
> having the notification message? I just want to display the icon and
> not to allow the user to click on it display the any message.
>
> thanks.
>
> --
> 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

-- 
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

Reply via email to