从 myapp 启动另一个没有 url 方案的应用程序 - 越狱用户可以,那么如何呢?
我正在尝试编写一个小应用程序,一个“启动器”应用程序,当我将手机插入电源时会出现该应用程序。现在应该有一个 4x4 网格,其中包含我想要加载的我最喜欢的应用程序。因此没问题。
但如何从应用程序启动应用程序呢?我读了几十遍,这是不可能的,如果没有 tel:// 这样的 url 方案,
越狱应用程序如何能够做到这一点?像 Activator、PluggedIn、iSheduler... 我让它们在我的手机上运行,它们能够启动任何应用程序,包括我自己的,没有 url 方案。
我尝试了 Erica Utilities 的 lauchner,但它崩溃了。
这是可能的,但是如何呢?
感谢您的任何建议 问候最大
i'm trying to write a small application, a "launcher" app, that comes up when i plug my phone to power supply. Now there should be a 4x4 grid with my fav app i want to load. therefore no problem.
But how to start an app from an app? I read dozens of times that is is not possible, to do it without url shemes like tel://
How are jailbreak applications able to to this? Like Activator, PluggedIn, iSheduler...
I have them running on my phone, and they are able to start any application, also my own, which don't have url scheme.
I tried lauchner from Erica Utilities, but it just crashed.
It is possible, but how?
Thanks for any advice
Greetings Max
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您可以通过导入这些类来激活应用程序:
SBApplicationController 获取您的应用程序 SBApplication,然后使用 SBUIController 打开它,如下所示:
You can activate an app by importing these classes:
The SBApplicationController gets your app, the SBApplication, and then opens it using the SBUIController like so:
最后我找到了一个解决方案:open - Conrad Kramer 的命令行工具:
http://thecydiastore.com/app/com.conradkramer.open/
Finally i found a solution: open - a commandline tool by Conrad Kramer:
http://thecydiastore.com/app/com.conradkramer.open/