Hi All
We are porting Android to a device which doesn't have any hardware
buttons, so it should have software buttons for the equivalent HOME/
BACK/MENU hardware buttons functionality.
I could able to achieve the functionality of the HOME button by
sending an intent with following details,
Intent mHomeIntent = new Intent(Intent.ACTION_MAIN, null);
mHomeIntent.addCategory(Intent.CATEGORY_HOME);
mContext.startActivity(mHomeIntent);
Is this the correct way of implementing it?
I have no idea of implementing the other two buttons (BACK and MENU)
functionality.
Can someone help me on this, probably where to look in the android
source code?
Regards
Gowda
--~--~---------~--~----~------------~-------~--~----~
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting
-~----------~----~----~----~------~----~------~--~---