0
我用PG-插件屏幕取向:https://github.com/their/pg-plugin-screen-orientation如何检查手机和平板电脑之间的手机平板设置屏幕方向?
如何在PhoneGap的对设定画面方向手机&平板电脑之间的检查设备。平台?
我煎茶触摸制定
我用PG-插件屏幕取向:https://github.com/their/pg-plugin-screen-orientation如何检查手机和平板电脑之间的手机平板设置屏幕方向?
如何在PhoneGap的对设定画面方向手机&平板电脑之间的检查设备。平台?
我煎茶触摸制定
你可以通过这样的:http://try.sencha.com/touch/2.2.0/demos/Ext.os.is/viewer.html
如果您想检查的设备类型,你可以使用这样的事情:
if(Ext.os.is.Phone)
{
console.log('Phone');
}
else if(Ext.os.is.Tablet)
{
console.log('Tablet');
}
else
{
console.log('Others');
}
更多关于:
如果我在sencha touch中检查设备类型,那么在AndroidManifest.xml中不需要放置代码。 – Jason
是的,不需要在AndroidManifest.xml中放置任何东西。 – GenieWanted