Android Question B4A-Bridge Log Problem

agraham

Expert
Licensed User
Longtime User
I currently have three devices to play with which I connect to with B4A_Bridge v2.54. On two of them the Log window works as expected, both filtered and unfiltered. They are

Samsung A3 (2017) - Android 8.0
Huawei T3-7 - Android 6.0

On my third device I get no logging information at all, filtered or unfiltered :( The debugger works as expected, it single steps and inspects variables fine but the log window stays stubbornly empty apart from a single line "Logger connected to: HUAWEI CPN-W09". I have restarted the tablet several times - to no avail. It is a

Huawei M3 Lite 8 - Android 7.0


Any ideas anyone (Erel!)?
 
Last edited:

DonManfred

Expert
Licensed User
Longtime User
Upvote 0
D

Deleted member 103

Guest
I currently have three devices to play with which I connect to with B4A_Bridge v2.54. On two of them the Log window works as expected, both filtered and unfiltered. They are

Samsung A3 (2017) - Android 8.0
Huawei T3-7 - Android 6.0

On my third device I get no logging information at all, filtered or unfiltered :( The debugger works as expected, it single steps and inspects variables fine but the log window stays stubbornly empty apart from a single line "Logger connected to: HUAWEI CPN-W09". I have restarted the tablet several times - to no avail. It is a

Huawei M3 Lite 8 - Android 7.0


Any ideas anyone (Erel!)?
Have you already tried to connect it with the USB cable?
I always connect my devices with a USB cable, only when I need to test OTG-devices on my smartphone, do I use B4A_Bridge.
 
Upvote 0

agraham

Expert
Licensed User
Longtime User
Maybe this can help
Indeed it did :)

Many thanks for the link. I was already starting compile my own version of B4A-Bridge to see if I could see what was going on but I wouldn't have found that!

I needed to enable 'AP Log' in the Background Setting > Log setting item of that hidden menu and now all is well! I get a toast warning 'Performance may be affected' so I guess somebody thought that disabling it was a good thing but why then decide to hide it away somewhere most people would never be able to find? Putting it as a developer option would have been a much better idea.

For the record my other Huawei T3-7 tablet running Android 6.0 doesn't have this menu. I have a Huawei Y7 phone on Android 8.0 arriving sometime today - it will be interesting to see if that needs the tweak as well.
 
Upvote 0
Top