Adding a Number Badge

 

The number badge is the event notification specific for Quick Circle applications and displays the number of events occurred in the application. The number badge is a small circular UI on the icon.

To activate a number badge, create an intent by using LG QCircle API. activateNumberBadge() takes the current activity and the count as arguments. The count is the number in the badge which indicates the number of events that occurred.

Intent numberBadge = QCircleFeature.activateNumberBadge(this,3);
this.sendBroadcast(numberBadge);

 

To delete the number badge, set ‘0’ instead of ‘3’ in the code above.

 

Activating a number badege for third-party apps is available on LG G4 devices.

 

 

Navigation