Android Question Notifcations - "icon" doesn't work

Tomas Petrus

Active Member
Licensed User
Longtime User
hi,

I am using simple notification:

B4X:
Dim n As Notification
n.Initialize
n.SetInfo("Some title", "Some text", Main)
n.AutoCancel = True
n.Icon = "icon"
n.Notify(1)

I have problem with icon. Small icon at top is there, but the bigger after open notification isn't.
Is there any problem with file? It is PNG file 144x144, size 28 kB


Thanks for answer
 

DonManfred

Expert
Licensed User
Longtime User
Upvote 0

JordiCP

Expert
Licensed User
Longtime User
This (setting icon after "Setinfo") can also crash the app in certain phones. I found this with a Wiko Lenny 2 and @Cableguy suffered it
 
Upvote 0
Top