安装后直接自动运行 BlackBerry 应用程序

发布于 2024-07-29 16:49:02 字数 233 浏览 2 评论 0原文

我编写了一个应用程序,该应用程序在其他 BlackBerry 应用程序中注入一些菜单项(例如 BlackBerry 浏览器中的“将此页添加为书签”菜单项)。 我已将应用程序配置为在(设备)启动时自动运行,因此当设备启动时,菜单项将安装在其他应用程序中。

但是,我还希望在安装后直接启动我的应用程序(通过 OTA),以便用户可以直接使用菜单项。 有没有一种方法可以实现此目的,而无需用户在安装后重新启动设备或手动启动应用程序?

I have written an application that injects some menu items in other BlackBerry applications (for example a "bookmark this page" menu item in the BlackBerry browser). I have configured the application to be run automatically at startup (of the device) so when the device starts, the menu items are installed in the other applications.

However, I would also like to have my application started directly after installation (via OTA), so the menu items are directly available to the user. Is there a way to accomplish this without having the user to reboot the device or manually start the application after installation?

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

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

发布评论

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

评论(1

懒猫 2024-08-05 16:49:02

自动启动应用程序应该运行
完成后自动
安装。 可能发生了什么
应用程序是否尝试自动启动,
但没有权限这样做
它想要什么但失败了
受控访问异常。 经常这样
可以被视为应用程序失败
开始,但事实上它确实开始了,但是
只是不被允许做那件事
尝试去做。

检查 BlackBerry 上的事件日志
(alt+lglg)。 您应该会看到一个条目
您的应用程序正在启动
安装后。

Mark Sohm 黑莓开发
顾问 www.BlackBerryDeveloper.com

BB 支持社区论坛:我们可以在安装后自动运行应用程序

Autostart applications should run
automatically after they have been
installed. What could have happened
is the application tried to autostart,
but didn't have the permissions to do
what it wanted and failed with a
ControlledAccessException. Often this
can be seen as the application failing
to start, but in fact it did start but
just wasn't allowed to do what it
tried to do.

Check the event log on the BlackBerry
(alt+lglg). You should see an entry
for your application being started
after it was installed.

Mark Sohm BlackBerry Development
Advisor www.BlackBerryDeveloper.com

BB Support Community Forums :Can we automatically run the application after install

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文