5
A
回答
4
如果通过禁用您的意思是防止方向改变,那么它不能以干净的方式完成(至少在iPhone平台上)。
虽然我非常确定iOS不会让你阻止它(你可能会对Android有一些好运),但你可以(可能)调查重新定位显示时的方向here的想法
4
您可以禁用,使用阻断纵向/横向或其它方向:
对于Android的,如果你使用Eclipse开放:AndroidManifest在你的“应用程序节点“=>屏幕方向
对于所有系统(IOS,Android,BlackBerry,WebOS ...):您可以使用Phonegap完成此操作:它允许您使用HTML5在WebView中封装应用程序。 你只需要创建一个像这样的config.xml文件:https://build.phonegap.com/docs/config-xml 并添加:在应答器中。
接下来,您只需使用http://build.phonegap.com编译您的应用程序。它是免费的,方便快捷的使用。
希望对你有所帮助;)
相关问题
- 1. 如何在Sencha Touch应用程序中禁用增量更新?
- 2. 如何在Sencha touch中禁用Picker中的特定行
- 3. 如何在sencha touch中禁用特定选项
- 4. 如何在Sencha Touch中禁用存储缓存?
- 5. Sencha Touch 2 vs DHTMLX Touch
- 6. 在Sencha touch 2中使用路由
- 7. 在Sencha Touch XTemplate中使用外部JSON
- 8. 在sencha touch中使用Web服务?
- 9. 在Sencha Touch中使用localStorage存储
- 10. Sencha Touch:按钮
- 11. Sencha Touch查询
- 12. Sencha Touch fireEvent
- 13. Sencha Touch和PhoneGap
- 14. Sencha Touch入门
- 15. Sencha Touch JSONPReader
- 16. Ext.Ajax.request Sencha Touch
- 17. sencha-touch using ActionSheet
- 18. Sencha Touch XML
- 19. Sencha Touch 2 Ext.util.Geolocation
- 20. sencha touch Ext.Router
- 21. Cordova和Sencha Touch
- 22. Sencha Touch Watermark
- 23. Sencha Touch itemtap
- 24. Sencha Touch Fastbook
- 25. Parse.com Sencha Touch 2.0
- 26. Sencha Touch密码
- 27. 委托使用sencha touch 6
- 28. 使用Kendo UI与sencha touch
- 29. 图片库使用sencha touch
- 30. Sencha Touch:引用不生成