0
I have following problem with phonegap, while trying to execute the following instruction:
navigator.app.exitApp();
The android just leaves in the background the application, the screen fades even more is in the background, IE when I click on the button to show the open applications it is still there
Can someone help me
Thanks Lucas I’ll see that link
– Jacob de Oliveira
The important thing is to always keep in mind that you do not control the application lifecycle, so when it is no longer visible the system can destroy it at any time (in case the system needs resources for the application in the foreground)then if you need to do something before the application closes, use the methods
onStop
oronDestroy
– Lucas Queiroz Ribeiro