黑莓应用程序中不需要的虚拟键盘

发布于 2024-08-30 02:38:40 字数 252 浏览 1 评论 0原文

我为 4.5 操作系统系列开发了一个 Blackberry 应用程序。 除了storm 1(storm2 未经测试)之外,它在所有设备上都能正常工作。

问题(在风暴上)是我的应用程序的主屏幕(实际上是所有其他屏幕)是用虚拟键盘显示的。但屏幕上没有显示任何文本字段来证明 VK 的显示。 我仅在该屏幕上有位图字段和按钮字段。 强烈推荐对所有设备(4.5 及更高版本)使用单一程序。

是什么导致 VK 出现?我可以采取什么措施来阻止它(在 JDE 4.5 中)?

I have developed a Blackberry app for the 4.5 os series.
It works fine on all device except on the storm 1 (storm2 untested).

The problem (on the storm) is that the main screen of my application (and all other screens in fact) is shown with the virtual keybord. But there is no text field displayed on the screen that would justify the VK to show up.
I have bitmap fields and button fields only on that screen.
The use of a single program for all devices (4.5 and up) is seriously preferred.

What is causing the VK to show up and what can I do to prevent it (in JDE 4.5)?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

故事和酒 2024-09-06 02:38:40

您可以在storm上编译适用于OS 5.0或4.7(取决于设备上的操作系统)的应用程序,以确保该应用程序不会在兼容模式下运行。

或者您可以更改应用程序在 JAD 中的设置方式。

这是 知识库文章

RIM-TouchCompatibilityMode: false
RIM-TouchCompatibilityMode-UserChangeable: false

您还可以在安装应用程序后在设备内[禁用兼容模式]2

  1. 通过导航至应用程序列表
    单击选项->高级选项
    ->应用。
  2. 找到并选择第三方
    应用。
  3. 显示菜单并单击“禁用”
    兼容模式。

You could compile your application for OS 5.0 or 4.7(depending on the OS on the device) on the storm to make sure the app will not run in compatibility mode.

Or you can change how your app is setup in the JAD.

Here is a KB article from RIM

RIM-TouchCompatibilityMode: false
RIM-TouchCompatibilityMode-UserChangeable: false

You can also [disable compatibility mode] within the device after the app is installed2.

  1. Navigate to the Applications list by
    clicking Options -> Advanced Options
    -> Applications.
  2. Locate and select the third-party
    application.
  3. Display the menu and click Disable
    Compatibility Mode.
笑红尘 2024-09-06 02:38:40
    if(VirtualKeyboard.isSupported())
    getVirtualKeyboard().setVisibility(VirtualKeyboard.HIDE_FORCE); //Force to close the virtual Keyboard.

您将在 4.7 中进行编译并使用预处理器指令来检测是否支持虚拟键盘,然后强制关闭。

        //#ifdef BlackBerrySDK4.7.0
                if(VirtualKeyboard.isSupported())
        getVirtualKeyboard().setVisibility(VirtualKeyboard.HIDE_FORCE);
        //#endif
    if(VirtualKeyboard.isSupported())
    getVirtualKeyboard().setVisibility(VirtualKeyboard.HIDE_FORCE); //Force to close the virtual Keyboard.

you will compile in 4.7 and use preprocesor directives to detect if Virtual Keyboard is supported, then force to close..

        //#ifdef BlackBerrySDK4.7.0
                if(VirtualKeyboard.isSupported())
        getVirtualKeyboard().setVisibility(VirtualKeyboard.HIDE_FORCE);
        //#endif
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文