Let’s say i have an android device that has some extra buttons on it, can i register one of those buttons to launch my app? is there a configuration file on the device that controls hardware keys behavior?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You would have to ask the device manufacturer that question. Non-standard buttons, by definition, are non-standard, so the device manufacturer would need to document their use. In particular, you would need to know if there is a broadcast
Intentsent out if the button is pushed and is not used by the current activity, as is the case for the camera and media buttons today.