SDK=30, Android 12, Oppo-Reno5
if GeoLocation is OFF then error invoike
Logger connected to: OPPO CPH2211
--------- beginning of main
** Service (starter) Destroy (ignored)**
*** Service (starter) Create ***
** Service (starter) Start **
** Activity (main) Create, isFirst = true **
I appear to have a problem when I insert a resummable sub, within a try/catch block i.e.
' This will work Ok if the is error in DoSomething() - '
a = DoSomething(...)
Log(LastException) ' Catch works and traps the error
' However if DoSomething() returns...
After setting up B4A on a new computer, I made a small test app which I compiled tested. It compile and ran ok. I tried to compile one of my working apps from Google Play and got this try/catch error. The sub routine in the error doesn't have any Try/Catch statements in it. What is...
I use jSerial library to connect to some device on serial/usb port.
I've a class that manage the connection with the devices and I'd like to catch the "Port not found" exception if the specified port doesn't exist.
I've used this code in the class that manage the connections:
The one (and only) way of error handling is now 'Try Catch'.
While an error occured, Try jumps to Catch out of the code flow : the code flow ends on the line with the error.
I have so many code to written with database reads and string handles etc etc. At now I must check everything (consist...