Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在 J2ME 的画布上开发视频播放器。如果高度大于手机的宽度,我想以横向模式显示视频,否则以纵向模式显示视频。我怎样才能做到这一点 ? 谢谢
不幸的是,您不能在 J2ME 中动态地强制执行此操作。
有些手机包含一个 jad 属性来强制定向,但我不知道那些允许动态强制定向的手机。