Java Question Debugging with java libraries

Creideiki

Active Member
Licensed User
Longtime User
Hi,

I try to get the usbserial library to work with my optohead. I managed to compile it (many thanks to Erel for this!) an have managed to get some bugs out.

But I need the possibility to log debugging infos. The Log.d in the java code doesn't show in the B4A console, even when I switch off the filter flag. Perhaps this happens because I use the B4A bridge via WiFi; maybe it would work when I used a direct USB connection.
But I am debugging a library to connect serial via USB, so the USB connector is used therefore...

What is the best way to get the logging output of a java library?
 

DonManfred

Expert
Licensed User
Longtime User
Use
B4X:
BA.log("text")
in your java-code....
 
Top