Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Open PlayStore Programmatically
Forum Updated to NodeBB v4.3 + New Features

Open PlayStore Programmatically

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
3 Posts 3 Posters 1.4k Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • N Offline
    N Offline
    NickV
    wrote on 20 Jun 2017, 07:40 last edited by
    #1

    Is there a way to open playstroe by clicking a button into my app>

    1 Reply Last reply
    0
    • S Offline
      S Offline
      sierdzio
      Moderators
      wrote on 20 Jun 2017, 08:15 last edited by
      #2

      Use JNI to create and call an intent: https://stackoverflow.com/questions/3343432/how-do-i-programmatically-launch-a-specific-application-in-android

      (Z(:^

      1 Reply Last reply
      1
      • G Offline
        G Offline
        GTDev
        wrote on 22 Jun 2017, 11:31 last edited by
        #3

        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

        Senior Developer at Felgo - https://felgo.com/qt

        Develop mobile Apps for iOS & Android with Qt
        Felgo is an official Qt Technology Partner

        1 Reply Last reply
        1

        1/3

        20 Jun 2017, 07:40

        • Login

        • Login or register to search.
        1 out of 3
        • First post
          1/3
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved