I am having problems in doing a clean exit/quit of a native application in android.
Calling finish() seems to take time and even after exit, if the user was to click the application icon within 5 seconds or immediately , the app crashes or launch fails.
Ofcourse, if suficient time is given or user does something else and trys to run the app, it launches fine.
This problem is causing my application to get rejected in the samsung store and this is the message from them.
*This defect was detected in the previous test.
Application force closes when re-executing it.
- Execute application
- Press BACK key > Re-execute application
- Check the screen
Application should be able to re-execute after the termination.
I understand that it would be hard to analyze this as its quite complicated and also related to android OS. But what I want to know is your suggestions and practiced
methods of doing a clean exit which won’t cause these such problems. I have experienced the same problem while experimenting with the powerVR android samples without any change and hence the samples won’t help.
Also when I return false in RenderScene(), what kind of a call back I can expect in the NativeActivity in Java ?
Please help !!!