adding button to android application to quit app without using back button -


i'm new android programming,i want add button exits app. don't want use buttons exit app

i have enough knowledge creating intents open new activity , other basics of android programming

according android guidelines, should never ever put exit button on android application. have let os decide when kill activity. should android activity lifecycle , implement necessary callbacks.

nevertheless, previous answers work well.


Comments

Popular posts from this blog

php - Magento - Deleted Base url key -

javascript - Tooltipster plugin not firing jquery function when button or any click even occur -

java - WrongTypeOfReturnValue exception thrown when unit testing using mockito -