Android In-App Billing list of available products

11,800

Solution 1

As mentioned in this post, this is now possible using the Google Play Developer API (a.k.a. android-publisher):

https://developers.google.com/android-publisher/

In particular, the Inappproducts: list API:

List all the in-app products for an Android app, both subscriptions and managed in-app products.

Solution 2

Third-paty apis and services are not reliable. There is no reliable and convenient way for production yet. You have to store it on your server in encrypted json data file for example, without any php/java/something, just static file.

OR you can guess item skus in your code and check even non-existing items: myitem_00-myitem_99 for example.

Share:
11,800
user754730
Author by

user754730

Updated on June 17, 2022

Comments

  • user754730
    user754730 about 2 years

    Is it somehow possible to get a list of all available products from the Play Store?

    What I want to do is to get all available items and then show them in a ListView. Whenever someone taps the ListView the right item is opened in Google Play Store.

    Is that possible? And if yes, how?

  • Ali Hassan
    Ali Hassan over 11 years
    Thanks for your help Aamir.
  • user754730
    user754730 over 11 years
    Android Market API is deprecated and the Google Play Store is PHP and not Java for my Andorid project...
  • Aamir Abro
    Aamir Abro over 11 years
    @user754730 I'm afraid but you might have to make a php server which does the work for you and then by making http requests you can fetch the data from your server.
  • Aamir Abro
    Aamir Abro over 11 years
    You can also use droidmeter. For that you dont have to maintain your server, you can just request droidmeter server to get data. But its not free.
  • leshka
    leshka almost 11 years
    Sorry, I can't find how to get list of all available products without passing list of products_ids. It's impossible, is it?
  • papadi
    papadi about 9 years
    This answers the question 'how to get the details of existing products, once you have their IDs'. The question is how to get the IDs.
  • Chintan Soni
    Chintan Soni almost 8 years
    What is mService ?
  • Joubert Vasconcelos
    Joubert Vasconcelos about 7 years
    This is not an answer for the user754730 question.