On 30 July 2010 00:43, Dianne Hackborn <[email protected]> wrote: >> Simplier does not always mean better. > What if you post a notification for your app, using an icon from another > app, and then the user goes and uninstalls the other app?
Currently it would probably crash, but it's not unsolvable case :) I could i.e. copy resource for that time of using it (would waste much space - ca 1KB) other way would be to broadcast the information given package is being uninstalled - since I know what package I took the icon from I could cancel notification). The final solution (which looks best so far) I could be able to hand notify() BitmapDrawable object. And it'd be absolutely irrelevant how I built it (not to mention it would allow dynamically drawn icons to be used for notification which also would save hell lot of memory for some apps). -- 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

