开发者

rdf file and blackberry touch screen devices

开发者 https://www.devze.com 2023-01-14 22:48 出处:网络
from rdf file http://www.blackberry.net/go/mobile/profiles/开发者_如何学编程uaprof/9530/4.7.0.rdf

from rdf file http://www.blackberry.net/go/mobile/profiles/开发者_如何学编程uaprof/9530/4.7.0.rdf

how do we know that device is a touch screen device?


You could try to infer it from this line:

 <prf:Keyboard>Virtual</prf:Keyboard>

But that would break down for devices such as the Torch which have both a touchscreen and physical keyboard (it's RDF has "Qwerty" for the Keyboard value).

The safest way to know is by using Java APIs, such as Touchscreen.isSupported()

0

精彩评论

暂无评论...
验证码 换一张
取 消