6

我正在为 android 开发一个基于 phonegap 的应用程序,并且想知道如何在当前设备中未安装希望的应用程序时运行另一个应用程序甚至去 android 市场。

任何帮助,将不胜感激。

4

2 回答 2

2

是的,Dozent,这是可能的,但您可能最终需要编写一个插件来调用 Android Intent。许多核心PhoneGap API,如Camera 使用Intents。

http://developer.android.com/guide/topics/intents/intents-filters.html

http://wiki.phonegap.com/w/page/36753494/How%20to%20Create%20a%20PhoneGap%20Plugin%20for%20Android

于 2013-03-02T15:45:57.277 回答
1

查看这个名为WebIntent的插件。要了解有关意图的更多信息,请参阅此处

于 2013-03-02T16:01:56.427 回答