Android Question Notification with a different icon app (NB6)

dibesw

Active Member
Licensed User
Longtime User
This is my NB6 notification.
B4X:
Dim n As NB6
Dim smiley As Bitmap
smiley = LoadBitmapResize(File.DirAssets, "temporary-tooth.png", 24dip, 24dip, False)
n.Initialize("default", Application.LabelName, "LOW").SmallIcon(smiley)
temporary-tooth.png it is different from the icon app and is present in the files tab.
I have also copied the icon in drawable dir (reading only)
but the notification icon that I can see is always app icon.
In my opinion the File.DirAssets path is not good but I can't understand how to get to the drawable folder.
 
Last edited:
Top