Hi Kyle, Where does the icon "live" that you are trying to update? Is it inside of your app, or is it on the Android home screen? From what I can gather the SDK does not allow one to update the icon on the home screen during runtime (at least that is what I read here on the board when attempting to do that), instead you have to use the notification layer and post a message to the title bar.
On the other hand, if you are attempting to change an image/icon inside of the app, this is pretty standard. Just grab the current ImageButton and call .setImageResource(int resource id). Now, if you are getting fancy and just adding a "badge" or something, it will be slightly more complicate, but this should get you up in the right direction. Take a look at the draw() methods as well.... Does that help? Kevin On Oct 26, 12:20 pm, Kyle <[EMAIL PROTECTED]> wrote: > Hello, > > I'm trying to find a way to programmatically change a drawable > resource within my application so that I can display this updated icon > as a notification. Would this be possible? If not is there another way > to go about doing something like this? I figured a notification object > might be able to take a bitmap or drawable but it looks like you can > only pass a resource id. > > Thanks for any help. > Kyle --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

