三星 Bada 平台上的 J2ME UI
当 J2ME 应用程序在带有 Samsung Bada 且支持 TouchWhiz(在我的例子中为 GT-S5320)的操作系统的三星手机上运行时,默认情况下,屏幕上始终会显示虚拟键盘!该虚拟键盘由以下键组成 - 左、右、上、下、FIRE 和 SOFT1、SOFT2。
无论如何,我是否可以控制何时显示此键盘以及何时不显示。我知道这将是一个特定于平台的解决方案。但它存在吗? 谢谢, -- Kiran Kuppa
编辑:我还必须注意 Google 地图(似乎是 J2ME 应用程序)不显示此键盘。我确信一定有办法抑制它。
EDIT2:感谢您的更正。我附上一张图片来说明。
When a J2ME application runs on Samsung phone with Samsung Bada an OS that supports TouchWhiz (GT-S5320, in my case),a virtual keypad is shown on the screen by default and always! This virtual keypad consists of the following keys - LEFT,RIGHT,UP,DOWN,FIRE and SOFT1, SOFT2.
Is there anyway I can control when this keypad is displayed and when it isn't. I understand that this would be a platform specific solution. But does it exist?
Thanks,
-- Kiran Kuppa
EDIT: I must also note that Google Maps, ( seems to be a J2ME app) does not show this keypad. I am sure there must be a way to supress it.
EDIT2: Thanks for the correction. I am attaching a picture to illustrate.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
您应该能够在 jad/manifest 中使用:
MIDlet-Touch-Support: True
来删除屏幕键盘。
只是为了了解更多信息,如果您的手机支持带加速计的旋转,则也可以使用 jad 参数进行控制:
MIDlet-ScreenMode: Rotate //to allowed spin
MIDlet-ScreenMode: Portrait //强制为纵向
MIDlet-ScreenMode: Landscape //强制横向
祝你好运!
You should be able to use:
MIDlet-Touch-Support: True
in the jad/manifest to remove the on-screen pad.
Just for more information, if your handset supports rotation with an accelerometer this too can be controlled with a jad parameter:
MIDlet-ScreenMode: Rotate //to allow rotation
MIDlet-ScreenMode: Portrait //to force to portrait
MIDlet-ScreenMode: Landscape //to force to landscape
Good Luck!
如果 j2me 应用程序不使用 TouchUI 功能,则会显示虚拟键盘
The virtual keyboard appears for j2me application if it not uses TouchUI functionality
在 bada 1.2 上(不在 bada 1.0 上,不在 bada 2.0 上,grr),“游戏及更多”(=java) 菜单中有一个选项,您可以在其中手动启用或禁用 1)键盘和 2) 应用程序的显示方式,拉伸显示(但 240x320)或不拉伸(完整 480x800)。
on bada 1.2 (not on bada 1.0 and not on bada 2.0, grr) there was an option in the "games and more" (=java) menu, where you could manually enable or disable the 1) keypad and 2) the way the app is shown, stretched to display (but 240x320) or not-stretched(and full 480x800).