Hello,
i'm trying to add a badge (number or string) on the app's icon.
i've found this example :
but i can't make it work in my app,
here's my code :
any suggestion?
i'm trying to add a badge (number or string) on the app's icon.
i've found this example :
B4X:
http://stackoverflow.com/questions/2905542/is-there-a-way-to-add-a-badge-to-an-application-icon-in-android
but i can't make it work in my app,
here's my code :
B4X:
Dim cv As ContentValues
cv.Initialize
cv.PutString("package", "com.app.my")
cv.PutString("class", "com.app.my.Main")
cv.PutInteger("badgecount", 8)
Dim u As Uri
u.Parse("content://com.sec.badge/apps")
cr.Insert(u, cv)
any suggestion?