C CGP Member Licensed User Longtime User Sep 17, 2014 #1 Hi. I don't know it is a B4A behaviour. How to reproduce: Install attached app When finished, click 'open' button (see photo) Press 'Click' and go to second activity Press Home Button Reopen app again from launcher/applications list App restarts and goes to first Activity, in log appears: Killing previous instance (main) Press 'Back button', Activity 2 now appears If when app installs I click 'Done' it works well Attachments bug.apk bug.apk 105.6 KB · Views: 420
Hi. I don't know it is a B4A behaviour. How to reproduce: Install attached app When finished, click 'open' button (see photo) Press 'Click' and go to second activity Press Home Button Reopen app again from launcher/applications list App restarts and goes to first Activity, in log appears: Killing previous instance (main) Press 'Back button', Activity 2 now appears If when app installs I click 'Done' it works well
Erel B4X founder Staff member Licensed User Longtime User Sep 18, 2014 #2 Please upload the project (File - Export as zip) instead of the APK.
C CGP Member Licensed User Longtime User Sep 18, 2014 #3 Done, but the problem occurs when you install the app as I have described above. Attachments Bug.zip Bug.zip 6.7 KB · Views: 407
Erel B4X founder Staff member Licensed User Longtime User Sep 19, 2014 #4 When I press on the app in the applications list it returns to the second activity. Are you using a non-standard launcher?
When I press on the app in the applications list it returns to the second activity. Are you using a non-standard launcher?
C CGP Member Licensed User Longtime User Sep 19, 2014 #5 I'm using Nova Launcher with android 4.4.2. I will try tonight on android emulador.
C CGP Member Licensed User Longtime User Sep 19, 2014 #6 I've uploaded a video running on android emulator with sv 2.3.3, same problem. Attachments 2014-09-19_200420077.zip 2014-09-19_200420077.zip 327.1 KB · Views: 388
Erel B4X founder Staff member Licensed User Longtime User Sep 21, 2014 #7 Eventually it is the OS that decides which Activity will be started. Do a test and check it again with the standard launcher on your Android 4.4.2 device.
Eventually it is the OS that decides which Activity will be started. Do a test and check it again with the standard launcher on your Android 4.4.2 device.
C CGP Member Licensed User Longtime User Sep 21, 2014 #8 Same error like before. Tested on three different devices. No one have this behavior?
J James Chamblin Active Member Licensed User Longtime User Sep 22, 2014 #9 I'm getting the error as well. It only happens immediately after installing a compiled apk to the device. It doesn't happen when it is installed from B4A, nor on subsequent runs.
I'm getting the error as well. It only happens immediately after installing a compiled apk to the device. It doesn't happen when it is installed from B4A, nor on subsequent runs.