Hello ,
Can you help me how two handle the Home button of android device .
I didn’t find any key name in specified API.
Note : i have try with event table , but didn’t get any key name / key-code in listener .
Hello ,
Can you help me how two handle the Home button of android device .
I didn’t find any key name in specified API.
Note : i have try with event table , but didn’t get any key name / key-code in listener .
You cannot capture the home button.
Rob
You can handle the back button , volume buttons, and search button( which is rare to see on devices)
Check out https://coronalabs.com/blog/2013/03/26/androidizing-your-mobile-app/
Key processing
Do you mean the back button? If so, here is a module for handling the back button and volume button(s), as well as dealing with ‘on screen’ buttons (some devices have them on screen instead of on the bezel) :
http://github.com/roaminggamer/SSKCorona/blob/master/com/roaminggamer/ssk/RGAndroid.lua
PS - The article linked above by Scott is tight and you should definitely read it.
You cannot capture the home button.
Rob
You can handle the back button , volume buttons, and search button( which is rare to see on devices)
Check out https://coronalabs.com/blog/2013/03/26/androidizing-your-mobile-app/
Key processing
Do you mean the back button? If so, here is a module for handling the back button and volume button(s), as well as dealing with ‘on screen’ buttons (some devices have them on screen instead of on the bezel) :
http://github.com/roaminggamer/SSKCorona/blob/master/com/roaminggamer/ssk/RGAndroid.lua
PS - The article linked above by Scott is tight and you should definitely read it.