I need to send my external device a command to shut itself down when the android app exits.
I am managing to do this using Activity_Pause and UserClosed, works fine when I hit the BACK key.
If I end the process using task manager, then it seems the Activity_Pause is never hit.
Is there anywhere I can trap an exit from task manager?
I am managing to do this using Activity_Pause and UserClosed, works fine when I hit the BACK key.
If I end the process using task manager, then it seems the Activity_Pause is never hit.
Is there anywhere I can trap an exit from task manager?