Yes you should be able to call startForeground again to change the notification. If this information is displayed elsewhere, it would still be updated.
On Sat, Nov 28, 2009 at 8:10 AM, skyhigh <[email protected]> wrote: > Thanks for the detailed response on how to use these APIs for correct > compatibility. > > I have an additional question. With the older API, my service would > called notify multiple times. It did this to change the icon being > shown in the notification bar based on the current status of the > service. When the service status changed, the new call to notify > would let the user see the updated state because the icon being > displayed would change. > > With the new API which combines both notify and setForeground, is it > still OK to call startForeground multiple times and give it an updated > notification on each call? I read some comments on this API > mentioning that its functionality might change in the future to move > service notifications to their own area, and would like to make sure > that multiple calls will be supported. > > -- > 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]<android-developers%[email protected]> > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en > -- Dianne Hackborn Android framework engineer [email protected] Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e-mails. All such questions should be posted on public forums, where I and others can see and answer them. -- 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

