Android Question BLE + BridgeLogger = Crash

f0raster0

Well-Known Member
Licensed User
Longtime User
Hi Team,
I just downloaded the BLE example from here:
Is it the later demo ?

as soon as uncomment (if commented all good)
#BridgeLogger: True

something with this:
Call B4XPages.GetManager.LogEvents = True to enable logging B4XPages events.
I don't understand what is wrong.

I got this error:
B4X:
** Activity (main) Pause, UserClosed = false **
*** Service (starter) Create ***
** Service (starter) Start **
** Activity (main) Create, isFirst = true **
Call B4XPages.GetManager.LogEvents = True to enable logging B4XPages events.
** Activity (main) Resume **
java.lang.Exception: Sub activity_permissionresult was not found.
    at anywheresoftware.b4a.BA.raiseEvent2(BA.java:219)
    at anywheresoftware.b4a.BA$2.run(BA.java:387)
    at android.os.Handler.handleCallback(Handler.java:883)
    at android.os.Handler.dispatchMessage(Handler.java:100)
    at android.os.Looper.loop(Looper.java:237)
    at android.app.ActivityThread.main(ActivityThread.java:7811)
    at java.lang.reflect.Method.invoke(Native Method)
    at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1068)
--------- beginning of crash



thanks

Edit: Old example, not using pages working nice.

Untitled.jpg
 
Last edited:

f0raster0

Well-Known Member
Licensed User
Longtime User
My guess is that you are using an old version of B4A, or you have an old copy of RuntimePermissions in the internal libraries folder.
Thanks Erel. I'm using 11.20

Last time from 9.8 to 10.7 had issues too then solved for unistalling B4X and install it again from scrach.

Question:
(please don't get it wrong or unhappy - just want to understand the best way when updating b4x)

Should I unistall B4X before updating B4X?
No just run the last version .exe downloaded from https://www.b4x.com/b4a.html
to solve those issues?
 
Upvote 0
Top