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"
Without the line
starts the app. But I only have a white square as icon
I use b4a 8.0
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"
I use b4a 8.0