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

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

Sponsored Links

       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

Any kind of sample code will be highly appreciated.


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




Sponsored Links

Other Threads

1. Using C2DM to receive gmail message notifications

I'd like my app to receive notification when new messages arrive in my
gmail account.
I realize that the Android gmail client does not broadcast
notification when it receives messages. Instead I want to utilize the
gmail server's Cloud to Device Messaging capabilities to do this. I
read the article at http://code.google.com/android/c2dm/ - the only
"missing piece" for me is to understand how my app sends a
registration ID to the gmail server. Can someone please point me in
the right direction?



2. Apply a style to a group of TableRow entries

I want to apply a style to a group of TableRows without loosing the
alignment of the enclosing TableLayout.

Does anybody have a suggestion for this? I have been looking for a way
to 'connect' 2 TableLayouts so that they share the same alignment of
their columns, but did not find anything. And everything else just
messes up the layout of the table.


3. #setChecked in CheckedTextView in ListView not working

4. Bind the pushpin on image

5. about handle the home key

6. Insertion Mount on state_Pending.

7. bertanya upgrade os