Android: open links on the Play Store from the PhoneGap app

I want to open the link in the Google Play Store from the phone phone application. The call market://details?id=com.google.android.apps.mapsthrows an ActivityNotFoundException, which is defined here:

https://github.com/apache/cordova-android/blob/af440460e10da89caa167ecb5c266f3857493f90/framework/src/org/apache/cordova/CordovaWebViewClient.java#L208

What do I need to change to find the activity that should handle the intent? any help is appreciated!

+4
source share
2 answers

I will answer my question:

, , Google Play Store , . Google Play Store .

+1

, PhoneGap. blogpost.

, , , , :

appstore("org.teusink.droidpapers", "app");

appstore("Teusink.org", "pub");

, App Amazon .

+1

Source: https://habr.com/ru/post/1532449/


All Articles