hi Erel
Maybe i am missing something about compiling.This is what i am doing
- Just in case, i uninstall the last installed version of the app on the device
- connect the device via USB (i am not using B4A-Bridge)
- i select "Release" on the IDE, and click on "Run". The app runs on the device.
- To be sure of what is happening, i close the app and unplug the USB cable.
- I start the app, and when i scan pressing the scan trigger button of the devices, the scanned value is returned to the activity ... together with the "Waiting for IDE debugger to connect" toastmessage.
But apart from this, there is another problem that i have not seen before. The "Service_Start (StartingIntent As Intent) + callsub" procedure is working this way the first time. If the user stays on the same activity, the second time he presses the scanning button, the service sends back the scanned value taking about 10 seconds (the first time it is returnded almost immediately) without the "Waiting for the IDE..." message. It seems somethig is released, because the third scanning acts as the first one, ... and so on.
Just in case, I have tried using callsub,callsub2, callsubdelayed, callsubdelayed2
Maybe i have to sleep more, but this what is happening, or what i am seeing.
The filtered log shows no errors. I attach two unfiltered logs, corresponding to the first scan, and for the second one (sent from the same activity)
thanks!