I am new to Android. I want to detect, through code, whether my android device has QWERTY keypad and camera or not. Any suggestions?
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.
For check keypad existence
Fetch the Configuration object using
…and then look at the
keyboardfield.If they value of
keyboardis not KEYBOARD_NOKEYS, the user has a hardware keyboard.And for hardware Camera…