Android Question Notification - System UI has stopped

Zockolade

Member
Licensed User
Longtime User
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
 

Zockolade

Member
Licensed User
Longtime User
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
Top