Prosg Active Member Licensed User Longtime User Dec 15, 2015 #1 Hello, I have the icon in the barNotification but when i open the panel of the phone the text is without icon Why ? B4X: For i = 1 To 2 Dim n As Notification n.Initialize n.SetInfo("Notification " & i, "abcde", Me) n.Icon = "icon" n.Notify(i) Next Last edited: Dec 15, 2015
Hello, I have the icon in the barNotification but when i open the panel of the phone the text is without icon Why ? B4X: For i = 1 To 2 Dim n As Notification n.Initialize n.SetInfo("Notification " & i, "abcde", Me) n.Icon = "icon" n.Notify(i) Next
Prosg Active Member Licensed User Longtime User Dec 15, 2015 #2 i try advance notification library and always the same the icon is not display on the dropdown notifications window icon I test to start a new project... same I test on Samsung Edge & Galaxy tabs same problem i don't understand Upvote 0
i try advance notification library and always the same the icon is not display on the dropdown notifications window icon I test to start a new project... same I test on Samsung Edge & Galaxy tabs same problem i don't understand
Prosg Active Member Licensed User Longtime User Dec 15, 2015 #3 XD i got it ! This code works B4X: Dim n As AdvancedNotification n.Initialize n.Icon = "icon" n.SetInfo("Notification" , "abcde", Main) n.Notify(1) This code bug (no windows icon) B4X: Dim n As AdvancedNotification n.Initialize n.SetInfo("Notification" , "abcde", Main) n.Icon = "icon" n.Notify(1) is it a bug ? Upvote 0
XD i got it ! This code works B4X: Dim n As AdvancedNotification n.Initialize n.Icon = "icon" n.SetInfo("Notification" , "abcde", Main) n.Notify(1) This code bug (no windows icon) B4X: Dim n As AdvancedNotification n.Initialize n.SetInfo("Notification" , "abcde", Main) n.Icon = "icon" n.Notify(1) is it a bug ?
barx Well-Known Member Licensed User Longtime User Dec 15, 2015 #4 Prosg said: XD i got it ! This code works B4X: Dim n As AdvancedNotification n.Initialize n.Icon = "icon" n.SetInfo("Notification" , "abcde", Main) n.Notify(1) This code bug (no windows icon) B4X: Dim n As AdvancedNotification n.Initialize n.SetInfo("Notification" , "abcde", Main) n.Icon = "icon" n.Notify(1) is it a bug ? Click to expand... It's not a bug, you have to set the icon before calling SetInfo. It is documented somewhere but I cannot remember where. Maybe the beginners guide, maybe Android Docs..... Upvote 0
Prosg said: XD i got it ! This code works B4X: Dim n As AdvancedNotification n.Initialize n.Icon = "icon" n.SetInfo("Notification" , "abcde", Main) n.Notify(1) This code bug (no windows icon) B4X: Dim n As AdvancedNotification n.Initialize n.SetInfo("Notification" , "abcde", Main) n.Icon = "icon" n.Notify(1) is it a bug ? Click to expand... It's not a bug, you have to set the icon before calling SetInfo. It is documented somewhere but I cannot remember where. Maybe the beginners guide, maybe Android Docs.....