如何打开谷歌Play商店的的PhoneGap [英] How to Open Google Play store from Phonegap
问题描述
我想打开谷歌从我的PhoneGap的应用程序安装另一个通知应用程序中播放商店。怎么样才能做到这一点?我想IOS它很容易通过网址导航方案。但谷歌并不支持所有的网址导航方案。我检查只是微博正在这一点。
I want to open google play store from my phonegap application to install another notification app. How will be able to do that? I guess ios its easy by URL navigation scheme. But google does not support all url navigation schemes. I checked only twitter was working with that.
推荐答案
您可以打开一个URL到该应用程序时对下载用户点击它会重定向Play商店中的应用程序。
You can open an URL to this app and when the user click on download it will redirect it play store application.
看这一个<一个href="http://stackoverflow.com/questions/7755275/phonegap-android-app-open-links-within-app">Link
,也可以使用这一个:
window.location.href("http://stackoverflow.com")
或
window.open("http://stackoverflow.com")
或你刚刚推出它直接的方式看看这个例子和文档: 文件
or u just launch it in direct way look at this example and document: Document
这篇关于如何打开谷歌Play商店的的PhoneGap的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!