Z Zockolade Member Licensed User Longtime User May 2, 2018 #1 I have a problem with the notification on a Lenovo Tab 2, Android version 5.1 With this code the system crashes!!! The error message is "System UI has stopped" B4X: Notify.Initialize Notify.Icon = "ic_stat_m" Notify.Vibrate=False Notify.Sound=False Notify.SetInfo("My App", "Caption", Main) Service.AutomaticForegroundMode = Service.AUTOMATIC_FOREGROUND_ALWAYS Service.AutomaticForegroundNotification = Notify Without the line B4X: Notify.Icon= "ic_stat_m" starts the app. But I only have a white square as icon I use b4a 8.0
I have a problem with the notification on a Lenovo Tab 2, Android version 5.1 With this code the system crashes!!! The error message is "System UI has stopped" B4X: Notify.Initialize Notify.Icon = "ic_stat_m" Notify.Vibrate=False Notify.Sound=False Notify.SetInfo("My App", "Caption", Main) Service.AutomaticForegroundMode = Service.AUTOMATIC_FOREGROUND_ALWAYS Service.AutomaticForegroundNotification = Notify Without the line B4X: Notify.Icon= "ic_stat_m" starts the app. But I only have a white square as icon I use b4a 8.0
KMatle Expert Licensed User Longtime User May 2, 2018 #2 Maybe the image file is broken. Try with another one. Upvote 0
Erel B4X founder Staff member Licensed User Longtime User May 3, 2018 #3 KMatle said: Maybe the image file is broken. Click to expand... If not broken then it might be too large. Upvote 0
KMatle said: Maybe the image file is broken. Click to expand... If not broken then it might be too large.
Z Zockolade Member Licensed User Longtime User May 3, 2018 #4 I don´t think they are broken... It works on Android 7. The file size is 1.15 kb. The problems I have since b4a 8.0 Upvote 0
I don´t think they are broken... It works on Android 7. The file size is 1.15 kb. The problems I have since b4a 8.0
Erel B4X founder Staff member Licensed User Longtime User May 6, 2018 #5 The file size is not important. Only the image dimensions. Upvote 0