English 中文(简体)
安乐器承认带有键板的手机吗?
原标题:Android recognize cell phone with keyboard or not?

在我的和星体评估中,如果该装置有键盘(如摩托拉里程碑),然后显示相应的用户界面,我想探测用户装置。 我如何这样做?

最佳回答

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

A. 公共钥匙板

该装置所附的关键板。 其中一项:KEYBOARD_NOKEYS, KEYBOARD_QWERTY, KEYBOARD_12KEY。

问题回答

如果你再次询问是否有机制允许探测体质板?

是的,安乐公司的确有能力通知关键板的公开/秘密活动的申请。

你必须进一步发现你的活动组合的变化。 我认为,有一项通知已贴在目前显示的活动中,表明主要状态(或装置配置改变)。

rel=“nofollow” http://developer.android.com/guide/topics/mani.4/1999//active-element.html 或许可以更深入地了解你重新寻找的东西。





相关问题
Spring Properties File

Hi have this j2ee web application developed using spring framework. I have a problem with rendering mnessages in nihongo characters from the properties file. I tried converting the file to ascii using ...

Logging a global ID in multiple components

I have a system which contains multiple applications connected together using JMS and Spring Integration. Messages get sent along a chain of applications. [App A] -> [App B] -> [App C] We set a ...

Java Library Size

If I m given two Java Libraries in Jar format, 1 having no bells and whistles, and the other having lots of them that will mostly go unused.... my question is: How will the larger, mostly unused ...

How to get the Array Class for a given Class in Java?

I have a Class variable that holds a certain type and I need to get a variable that holds the corresponding array class. The best I could come up with is this: Class arrayOfFooClass = java.lang....

SQLite , Derby vs file system

I m working on a Java desktop application that reads and writes from/to different files. I think a better solution would be to replace the file system by a SQLite database. How hard is it to migrate ...

热门标签