java - Android recognize cell phone with keyboard or not? -


in android app, want detect user's device if device has keyboard(like motorola milestone) , show corresponding user interface. guys know how that? !

regards justicepenny

http://developer.android.com/reference/android/content/res/configuration.html

public int keyboard

the kind of keyboard attached device. 1 of: keyboard_nokeys, keyboard_qwerty, keyboard_12key.

that's it!


Comments

Popular posts from this blog

asp.net - repeatedly call AddImageUrl(url) to assemble pdf document -

iphone - How would you achieve a LED Scrolling effect? -