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. How to modify the QtPurchasing.jar file?
QtWS25 Last Chance

How to modify the QtPurchasing.jar file?

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
6 Posts 2 Posters 899 Views
  • 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.
  • PowerNowP Offline
    PowerNowP Offline
    PowerNow
    wrote on last edited by PowerNow
    #1

    Hi,
    I'm using the Qt Purchase module for supscriptions under Android. Now I found that only In-App-Purchase "consumable" and "unlockable" are possible, not "subscriptions". But there would exist a hack by modifying the file.

    \5.12.1\android_armv7\jar\QtPurchasing.jar
    

    https://forum.qt.io/topic/98353/qt-purchasing-supports-subscriptions-on-android/5

    Unfortunately in some of the latest versions this file changed from .java to .jar.
    Is there a way to modify such files under Qt? Thxs...

    Pablo J. RoginaP 1 Reply Last reply
    0
    • PowerNowP PowerNow

      Hi,
      I'm using the Qt Purchase module for supscriptions under Android. Now I found that only In-App-Purchase "consumable" and "unlockable" are possible, not "subscriptions". But there would exist a hack by modifying the file.

      \5.12.1\android_armv7\jar\QtPurchasing.jar
      

      https://forum.qt.io/topic/98353/qt-purchasing-supports-subscriptions-on-android/5

      Unfortunately in some of the latest versions this file changed from .java to .jar.
      Is there a way to modify such files under Qt? Thxs...

      Pablo J. RoginaP Offline
      Pablo J. RoginaP Offline
      Pablo J. Rogina
      wrote on last edited by
      #2

      @PowerNow here's QtInAppPurchase.java source code just in case you want to contribute your changes to Qt project :-)

      Upvote the answer(s) that helped you solve the issue
      Use "Topic Tools" button to mark your post as Solved
      Add screenshots via postimage.org
      Don't ask support requests via chat/PM. Please use the forum so others can benefit from the solution in the future

      PowerNowP 1 Reply Last reply
      0
      • Pablo J. RoginaP Pablo J. Rogina

        @PowerNow here's QtInAppPurchase.java source code just in case you want to contribute your changes to Qt project :-)

        PowerNowP Offline
        PowerNowP Offline
        PowerNow
        wrote on last edited by
        #3

        @Pablo-J.-Rogina: Thxs, the QtPurchase modul can be found under

        http://code.qt.io/cgit/qt/qtpurchasing.git/tree/src/android/src

        But now how should I create a new executable .jar file from this?

        Pablo J. RoginaP 1 Reply Last reply
        0
        • PowerNowP PowerNow

          @Pablo-J.-Rogina: Thxs, the QtPurchase modul can be found under

          http://code.qt.io/cgit/qt/qtpurchasing.git/tree/src/android/src

          But now how should I create a new executable .jar file from this?

          Pablo J. RoginaP Offline
          Pablo J. RoginaP Offline
          Pablo J. Rogina
          wrote on last edited by
          #4

          @PowerNow what about following the Contributions Guidelines?

          Upvote the answer(s) that helped you solve the issue
          Use "Topic Tools" button to mark your post as Solved
          Add screenshots via postimage.org
          Don't ask support requests via chat/PM. Please use the forum so others can benefit from the solution in the future

          PowerNowP 1 Reply Last reply
          0
          • Pablo J. RoginaP Pablo J. Rogina

            @PowerNow what about following the Contributions Guidelines?

            PowerNowP Offline
            PowerNowP Offline
            PowerNow
            wrote on last edited by
            #5

            @Pablo-J.-Rogina there is already a bugreport from 2015.
            https://bugreports.qt.io/browse/QTBUG-49606

            Pablo J. RoginaP 1 Reply Last reply
            0
            • PowerNowP PowerNow

              @Pablo-J.-Rogina there is already a bugreport from 2015.
              https://bugreports.qt.io/browse/QTBUG-49606

              Pablo J. RoginaP Offline
              Pablo J. RoginaP Offline
              Pablo J. Rogina
              wrote on last edited by
              #6

              @PowerNow well, if you're Ok to wait... Ticket was created 24 Nov '15 8:04 AM

              Upvote the answer(s) that helped you solve the issue
              Use "Topic Tools" button to mark your post as Solved
              Add screenshots via postimage.org
              Don't ask support requests via chat/PM. Please use the forum so others can benefit from the solution in the future

              1 Reply Last reply
              0

              • Login

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