I have received several crash reports on my itag app
I am running lib ble2 version 1.36 developed with b4a v.8.3
It seems that newer version of android crashes the app and do not know what to modify
Dont't know if the code error below say anyting that I could modify in the app code.
Reports300 on 70 users
39 on 39 users
78 from 21 users
28 from 15 users
All reports from TODAY
all have this error below
starter.HandleStart
Most of the crashes on android 10 and 9 , my app is mainly based on ble2 example
I am running lib ble2 version 1.36 developed with b4a v.8.3
It seems that newer version of android crashes the app and do not know what to modify
Dont't know if the code error below say anyting that I could modify in the app code.
Reports300 on 70 users
39 on 39 users
78 from 21 users
28 from 15 users
All reports from TODAY
all have this error below
starter.HandleStart
Most of the crashes on android 10 and 9 , my app is mainly based on ble2 example
B4X:
java.lang.RuntimeException:
at android.app.ActivityThread.handleServiceArgs (ActivityThread.java:3910)
at android.app.ActivityThread.access$1700 (ActivityThread.java:237)
at android.app.ActivityThread$H.handleMessage (ActivityThread.java:1816)
at android.os.Handler.dispatchMessage (Handler.java:106)
at android.os.Looper.loop (Looper.java:214)
at android.app.ActivityThread.main (ActivityThread.java:7050)
at java.lang.reflect.Method.invoke (Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:494)
at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:965)
Caused by: java.lang.RuntimeException:
at anywheresoftware.b4a.objects.ServiceHelper$StarterHelper.handleStartIntent (ServiceHelper.java:158)
at hs.itag.ro.starter.handleStart (starter.java:99)
at hs.itag.ro.starter.access$000 (starter.java:8)
at hs.itag.ro.starter$1.run (starter.java:71)
at anywheresoftware.b4a.objects.ServiceHelper$StarterHelper.onStartCommand (ServiceHelper.java:221)
at hs.itag.ro.starter.onStartCommand (starter.java:69)
at android.app.ActivityThread.handleServiceArgs (ActivityThread.java:3891)
Caused by: java.lang.SecurityException:
at android.os.Parcel.createException (Parcel.java:1966)
at android.os.Parcel.readException (Parcel.java:1934)
at android.os.Parcel.readException (Parcel.java:1884)
at android.app.IActivityManager$Stub$Proxy.setServiceForeground (IActivityManager.java:5062)
at android.app.Service.startForeground (Service.java:695)
at anywheresoftware.b4a.objects.ServiceHelper.StartForeground (ServiceHelper.java:81)
at anywheresoftware.b4a.objects.ServiceHelper$StarterHelper.handleStartIntent (ServiceHelper.java:156)
Caused by: android.os.RemoteException:
at com.android.server.am.ActivityManagerService.enforcePermission (ActivityManagerService.java:12179)
at com.android.server.am.ActiveServices.setServiceForegroundInnerLocked (ActiveServices.java:1289)
at com.android.server.am.ActiveServices.setServiceForegroundLocked (ActiveServices.java:969)
at com.android.server.am.ActivityManagerService.setServiceForeground (ActivityManagerService.java:24856)
at android.app.IActivityManager$Stub.onTransact$setServiceForeground$ (IActivityManager.java:11372)