Quantcast
Channel: Android Mode - Processing 2.x and 3.x Forum
Viewing all articles
Browse latest Browse all 941

Back button and Menu button in android

$
0
0

void keyReleased() { if (key==CODED){ if(keyCode==MENU || keyCode==BACK){//MENU and BACK keys //do things } } keyCode=0; } in this code, when back button pressed, the program just quit. and Menu button, you know, like this KakaoTalk_20160522_113457617

How can I press back button in sketch without quit?


Viewing all articles
Browse latest Browse all 941

Trending Articles