Hello everyone… In this post I will show you how to listen to hardware button in an android smartphone. This post especially shows how to listen to the home button in android. But my advice is never override the home button in your app. Home button is to move the currently running process to background. But you can… Read More »
This code works for all API Levels. The below code works for API level 5 or Higher…..