How to close my Android app when i click the back button from my mobile? -


i have created android app.

i need close or exit application when click button mobile.

how can achieve that?

you have handle button functionality

@override public void onbackpressed() {     // todo auto-generated method stub     super.onbackpressed();     finish(); } 

Comments

Popular posts from this blog

monitor web browser programmatically in Android? -

ios - iPhone/iPad different view orientations in different views , and apple approval process -

Shrink a YouTube video to responsive width -