Hi all! I have a user id at php (MySQL DB). I want to know' how I can add bage number to an app icon from php side. I have used these
Titanium.UI.iPhone.appBadge=2;but it works when app is started, I want to increment the appBadge from php end when app is closed. did anyone have experienced it, if yes please share your experience. thanks in advance. Abdul Sattar
2 Answers
As I mentioned in this thread:
There is no badge icon counter on Android. The one you have on your device is HTC specific (part of their HTC Sense UI layer). Meaning that other Android devices may not have it.
Simply uset the setAppBadge function with the number you want.
Where the number will be extracted from the json you just retrieved.
Your Answer
Think you can help? Login to answer this question!