LOGIN
Steven Reubenstone
39
Community Expert
Mechanical Engineer & Tinkerer of Things. Community Moderator. (Project Leader)
 · New YorkU.S.
Share
Report
Get Link
QUESTION
Open

Does anyone have experience with displaying/implementing the circular icon notification for Android Apps?

Nouman Tahir

1 like 
Like
Award Contribution
Nouman Tahir
17
Mastermind
Android/iOS Contractor - Google Certified
 · SargodhaPakistan
Share
Report
Get Link

Although doing this with default app icon not supported by Google, its still possible using third party libraries and not all phones support that for example phones running stock android

Check out his library, https://github.com/leolin310148/ShortcutBadger

An authentic way to do this is to develop a simple widget that looks similar to icon and add badger in its layout…

Like
1 like 
Award Contribution
Anton Voltchok
33
Community Expert
Software Engineer & Design Lead at Collaborizm
 · New YorkU.S.
Share
Report
Get Link

+Nouman Tahir Awesome suggestion, I checked out that lib and even with the restriction, that’s still very good coverage, much appreciated.

Like
1 like 
Award Contribution
Nouman Tahir
17
Mastermind
Android/iOS Contractor - Google Certified
 · SargodhaPakistan
Share
Report
Get Link

Always happy to help…

Like
0 like 
Award Contribution
Anton Voltchok
33
Community Expert
Software Engineer & Design Lead at Collaborizm
 · New YorkU.S.
Share
Report
Get Link

I think Steve was referring to an overlay on the app icon, so on your android home screen it would say a number next to the icon, for example the number of notifications which are unread

Like
0 like 
Award Contribution
Bi Sh
1
Apprentice
Design Invention Research
 · KathmanduNepal
Share
Report
Get Link

Few Working Methods

http://stackoverflow.com/questions/17565307/how-to-display-count-of-notifications-in-app-launcher-icon

Multiple methods are mentioned with necessary working codes…
Method 1: as already pointed… Widgets instead of App Launcher Icons.
Method 2: use of TouchWiz API (Facebook does this)
Method 3: use of ShortcutBadger Library (Sony does this)

Like
0 like 
Award Contribution
Nouman Tahir
17
Mastermind
Android/iOS Contractor - Google Certified
 · SargodhaPakistan
Share
Report
Get Link

Bi Sh really appreciate your work, I would like to narrow down the methods.

Using touchwiz method will only effect Samsung devices but Shortcut Badger can target a whole lot devices including Samsung, only exception are the devices running Stock Android.

perhaps we call also consider developing icon widget along with ShortcutBadger implementation aside., this way we can target Stock Android as well.

#suggestion

Like
1 like 
Award Contribution
Leave a reply...
DISCOVER
CHAT
HIRE
ACTIVITY
FEED
New Post
Help
Start Project
Online Users
Share Link
Write something before you submit it!
Photo updated
Request Sent!
Updated
Copied to Clipboard