我正在为 android 开发一个基于 phonegap 的应用程序,并且想知道如何在当前设备中未安装希望的应用程序时运行另一个应用程序甚至去 android 市场。
任何帮助,将不胜感激。
我正在为 android 开发一个基于 phonegap 的应用程序,并且想知道如何在当前设备中未安装希望的应用程序时运行另一个应用程序甚至去 android 市场。
任何帮助,将不胜感激。
是的,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