See if you are clever enough to spot the problem!
I am using B4A version 3.2 with MySQL, and something bizarre is transpiring.
Clicking the app icon on the phone, the app only runs flawless "every other time."
However, clicking the Play button on the IDE makes the app work every time (running from the B4A 3.2 IDE).
On the "every other time" that it fails when clicking the phone icon, it triggers an error in the app for a List object not being initialized, "Continue?" Say No. App shuts down hard. Click the phone icon to run the app again. Works fully.
*saying Yes to that error message and then exiting app "normally" means that it still won't work the next time that you run it...must say "No" to the Continue question for the app to have db access the next time the app is run. Saying "No" triggers a hard stop of the app by the Android OS. Then click the app icon again, it runs flawlessly, etc.
Works every other time.
**the actual Android error message is:
"An error occurred in sub: java.lang.RuntimeException: Object should first be initialized (List).
Continue?
I am using B4A version 3.2 with MySQL, and something bizarre is transpiring.
Clicking the app icon on the phone, the app only runs flawless "every other time."
However, clicking the Play button on the IDE makes the app work every time (running from the B4A 3.2 IDE).
On the "every other time" that it fails when clicking the phone icon, it triggers an error in the app for a List object not being initialized, "Continue?" Say No. App shuts down hard. Click the phone icon to run the app again. Works fully.
*saying Yes to that error message and then exiting app "normally" means that it still won't work the next time that you run it...must say "No" to the Continue question for the app to have db access the next time the app is run. Saying "No" triggers a hard stop of the app by the Android OS. Then click the app icon again, it runs flawlessly, etc.
Works every other time.
**the actual Android error message is:
"An error occurred in sub: java.lang.RuntimeException: Object should first be initialized (List).
Continue?
Last edited: