Possible Duplicate:
How can I detect user pressing HOME key in my activity?
I am using below lines of code to find if the use press the backkey from android phone,its working fine .
But I want to detect home key Button press event,Anyone can guide how it is possible ?
@Override
public void onBackPressed()
{
Toast.makeText(getApplicationContext(),"BackKeyPressed", Toast.LENGTH_LONG).show();
super.onBackPressed();
}
Thanks . . .
You cannot “detect home key Button press event”, sorry.