Open PlayStore Programmatically
Unsolved
Mobile and Embedded
-
Use JNI to create and call an intent: https://stackoverflow.com/questions/3343432/how-do-i-programmatically-launch-a-specific-application-in-android
-
V-Play Engine for Qt-based mobile Apps and Games also provides a ready-made NativeUtils component, which allows to open play-store links by passing the url to the openUrl method.
Here's a short code snippet:
import VPlayApps 1.0 App { AppButton { text: "Open PlayStore" onClicked: { // this opens the app with id net.vplay.demos.apps.showcaseapp in the playstore nativeUtils.openUrl("https://play.google.com/store/apps/details?id=net.vplay.demos.apps.showcaseapp") } } }
Cheers,
GT