Hello,
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 **
**...
Hi, Guys
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() - '
Try
a = DoSomething(...)
Catch
Log(LastException) ' Catch works and traps the error
End Try
' However if DoSomething() returns...
Greetings,
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...
Hello Evryone!
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:
Sub...
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...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.