display count as a bubble over tabs or home screen icon?

by Slater » Sat, 13 Sep 2008 00:53:23 GMT


Sponsored Links
 Hi,

       On an iphone, its common to see a bubble over home screen icons
indicating some kind of a count information (for example, phone icon
on the home screen has a bubble which indicates how many missed calls
I have). Does android api offer anything in built to draw something
like that over an icon.

Also I want to know if its possible to dynamically draw a bubble
counter(value changes) over an icon on a tab within an android
application.

Any kind of sample code will be highly appreciated.

Thanks,
SNEP.
--~--~---------~--~----~------------~-------~--~----~



display count as a bubble over tabs or home screen icon?

by Jeffrey Sharkey » Mon, 15 Sep 2008 01:25:43 GMT


 It's probably not possible to change the icons on the homescreen, as I
think it caches them when your APK is installed.

If you're trying to share dynamic information (such as # of new emails/
messages), the Notification framework would be the best place to do
that.

 http://code.google.com/android/reference/android/app/NotificationManager.html 
 http://code.google.com/android/reference/android/app/Notification.html 

j




--~--~---------~--~----~------------~-------~--~----~


Sponsored Links


Other Threads

1. Widget Update Through Market

Hi,
    What does all included in an update?
I mean, if I make a widget and someone downloads / uses that and after
some time, if I want to give updated version to user through market,
what all should it include? Is it same a whole new widget for me /
user ?

Thanks
-

-- 

2. Where to download ADT 10.0.0 from?

I saw in 

3. Instance state randomly not being restored on orientation changes

4. Own JAR in /system/framework/

5. Loading images to WebView from Stream or byte[]

6. Simple BroadcastReceiver

7. Nexus S NDEF