如何仅在横向模式下限制j2me应用程序 [英] How to restrict j2me application in the Landscape mode only

查看:100
本文介绍了如何仅在横向模式下限制j2me应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用J2ME和LWUIT开发应用程序.我只想在横向模式下运行此应用程序. 对于诺基亚,有一个属性:Nokia-MIDlet-App-Orientation:风景,但对于其他设备,该属性是什么?将应用程序仅限制为风景模式? 如何针对不同的J2ME设备实现这一目标?

I am developing application using J2ME and LWUIT.I want to run this application on landscape mode only. For Nokia there is an attribute : Nokia-MIDlet-App-Orientation: landscape but for other device , What is the attribute to restrict the application to landscape mode only? How to achieve this for different J2ME devices?

推荐答案

以下是仅在横向模式下限制应用程序的属性.

Following is the attribute to restrict application in landscape mode only.

诺基亚设备:

Nokia-MIDlet-App-Orientation : Landscape

三星设备:

MIDlet-ScreenMode : Landscape

这篇关于如何仅在横向模式下限制j2me应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆