Android Question Notification icon missing?

0CrimsonScythe0

Member
Licensed User
Longtime User
Hi,
I built an app containing an ongoing notification , I used a custom picture for the icon but the problem is that it only shows on the notification bar but not in the drawer. This is part of my code. I have also attached a screenshot.
B4X:
Sub Service_Start (StartingIntent As Intent)
notification1.OnGoingEvent = True
notification1.Notify(1)
notification1.SetInfo("App is running" , "tap to stop app" , Main)
notification1.Sound = False
notification1.Vibrate = False
notification1.Icon = "icon"
 

Attachments

  • notificationicon.png
    notificationicon.png
    97.9 KB · Views: 137

DonManfred

Expert
Licensed User
Longtime User
Try this order

B4X:
notification1.OnGoingEvent = True
notification1.Sound = False
notification1.Vibrate = False
notification1.Icon = "icon"
notification1.SetInfo("App is running" , "tap to stop app" , Main)
notification1.Notify(1)
 
Upvote 0
Top