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? -

Shrink a YouTube video to responsive width -

wpf - PdfWriter.GetInstance throws System.NullReferenceException -