Web badge API retrieving the badge count from another application
Setting the other apps ID to listen for its badge changes. Then retrieving the current apps ID and then listening to the changes of the badge count of an external Tizen application.
PRIVILIGES NEEDED: http://tizen.org/privilege/notification
var otherAppID = "m0bzyHuEeO.badgeapidemo"; // the ID of the application
// which is changing the badges
var appId = tizen.application.getCurrentApplication().appInfo.id;
tizen.badge.addChangeListener([appId, otherAppID], badgeChangeCB);
function badgeChangeCB(applicationId, count) {
console.log("The App " + applicationId + " has the badge count of " + count);
}