开发者

Check device type?

开发者 https://www.devze.com 2023-03-14 01:19 出处:网络
Is it possible, and how ( if it is ) to check the开发者_JAVA技巧 device type with flex ? with device type i mean : PC, laptop, tablet, phone ..Start with the flash.system.Capabilities class.Link to

with device type i mean : PC, laptop, tablet, phone ..


Start with the flash.system.Capabilities class. Link to Flex SDK docs about Capabilities Check the .os property.

From there, you might also need to check flash.system.TouchscreenType

Eventually, though, to get very detailed info about the device, installing WURFL on the server side may be your best bet.

http://wurfl.sourceforge.net/

0

精彩评论

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