On Thu, Apr 1, 2010 at 5:46 AM, guru <[email protected]> wrote:

> after 2nd function notiifes, then 1st function should start... how
> this can be handled? can I use same ID 120 for both functions?
>
> if i update number field, it is not updating the status bar....
>

I'm confused on what you're asking and what you're trying to do but ....

1 - You create a Notification object with all the properties you want to
show up in the notification area (title, subtitle, flags, intent to launch,
(if any) when clicked, etc.) This is where you set the number that should
show up overlayed on the notification when the notification window is
collapsed.

2 - You call NotificationManager.notify() with the Notification object you
created with a specific ID. This ID tells the system to either create a new
item in the notification window or update an existing one with the same ID.
If you update an existing one (by passing ID 120 as in your example) the
properties, including the number, should update to reflect the new
Notification.

Hope that helps some.

-------------------------------------------------------------------------------------------------
TreKing - Chicago transit tracking app for Android-powered devices
http://sites.google.com/site/rezmobileapps/treking

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

To unsubscribe, reply using "remove me" as the subject.

Reply via email to