【问题标题】:mgwt - Orientation change programmaticallymgwt - 以编程方式改变方向
【发布时间】:2012-12-01 00:52:49
【问题描述】:

是否可以在 gwt+mgwt 应用程序中更改强制屏幕的特定方向?假设我希望用户始终以横向模式使用应用程序。

【问题讨论】:

    标签: android ios gwt mobile mgwt


    【解决方案1】:

    这取决于:是作为 phonegap 应用程序,而不是在浏览器中。

    如果您作为 Web 应用程序运行,您将不t get any control on the orientation. The browser handles that for you. But if youre 作为具有 phonegap 的应用程序运行,您可以在应用程序内设置支持的方向(与每个本机应用程序相同)。 对于 iOS,这将在您的应用程序的正常配置中。在 Android 上,它位于您的 android 清单文件中。

    【讨论】:

      猜你喜欢
      • 2020-12-21
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多