Android WebView : Why I can not able to redirect to play store from WebView? -
i trying pass url webview should redirect play store not working.
what tried :
string url = "https://play.google.com/store/apps/details?id=com.matchify"; webview.loadurl(url); but loading inside webview, how can solve this?
thanks in advance
to open app's / other app's page on play store app use :
startactivity(new intent(intent.action_view, uri.parse("market://details?id=" + apppackname))); where apppackname is:
string apppackname = getpackagename(); play store app has intent filter listen intent , launch uri (since starting market:// open play store. ) if want open in browser use uri argument :
https://play.google.com/store/apps/details?id=" + apppackname helpful link : how open google play store directly android application?
Comments
Post a Comment