Check device type?
- 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 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/
精彩评论