I'm not sure when this started, but it used to be that I could compile my app and even if my phone was asleep when it finished installing and running, it was no big deal. Although come to think of it, I usually install using the B4A Bridge but am currently using ADB (at work on my notebook). When using ADB, the app runs automatically whereas when using the bridge it does not.
Anyway, if my phone is sleeping when the app is compiled and run, after waking my device up I notice that no settings have been loaded from my prefs file in the app. What's worse, I can't do much of anything in the app without getting the dreaded "object must be initialized.....". It is like nothing gets initialized correctly if the device is sleeping when the app first runs.
Is this normal when compiling over a USB cable if the device is sleeping when the app is automatically started? Does anyone else here see this behavior? I know it is an unusual circumstance but it bothers me.
Anyway, if my phone is sleeping when the app is compiled and run, after waking my device up I notice that no settings have been loaded from my prefs file in the app. What's worse, I can't do much of anything in the app without getting the dreaded "object must be initialized.....". It is like nothing gets initialized correctly if the device is sleeping when the app first runs.
Is this normal when compiling over a USB cable if the device is sleeping when the app is automatically started? Does anyone else here see this behavior? I know it is an unusual circumstance but it bothers me.