I wrote an application that the main activity through three buttons open additional 3 secondary activities. Each of these contains a relatively large number of images (not very large in size but many in number). To opening activities I do:
but to go back to the main activity use the Back button. The application works fine on the phone, the problem occurs only when the main activity button for closing the application is pressed. The application closes but the phone does not respond to commands about 5-10 seconds, then recovers. Home key is only functional. If you press it, the phone is back to normal quickly.
My question is: is this approach correct (without closing programmaticaly secactivity)? It releases memory to pressing the Back? I chose not to use a button closure for reasons of design...
If you need further details are available! Thank you!
B4X:
StartActivity(CompX)
My question is: is this approach correct (without closing programmaticaly secactivity)? It releases memory to pressing the Back? I chose not to use a button closure for reasons of design...
If you need further details are available! Thank you!