Skip to content Skip to sidebar Skip to footer

Android Show A Notification Not Working

Currently I have a service that plays music. I want to show a notification when the service start to play music. This is what I do: public void setUpNotification() { /* *

Solution 1:

Per the notification guide list of required fields, you must set a small icon via the setSmallIcon() method. Generally, this icon looks like your application icon, although entirely as white over a transparent background per the anatomy of a notification.


Post a Comment for "Android Show A Notification Not Working"