Closing apps has changed. Can't figure it out.
Monkey Targets Forums/Android/Closing apps has changed. Can't figure it out.| 
 | ||
| I have done a few searches for closing and app and have tried each approach.  For some reason I can't get it to work. I have tried to capture the back key in the OnUpdate method If KeyHit(KEY_CLOSE) Then Error "" If KeyDown(KEY_CLOSE) Then Error "" If KeyHit(KEY_BACK) Then Error "" I have even tried to create a Method for OnBackPressed No luck. Could someone please help? | 
| 
 | ||
| for some reason, KeyDown(KEY_CLOSE) does not work. this behavior was changed in V67f. which version are you using? make sure to delete old .build folders. | 
| 
 | ||
| I am using v69 | 
| 
 | ||
| For Android it's KEY_ESCAPE, but JOY_BACK for Windows Phone. I use: If JoyHit( JOY_BACK ) Or KeyHit(KEY_ESCAPE) Then Error "" End If |