Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android In-App Billing list of available products

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?

like image 332
user754730 Avatar asked Jan 03 '13 08:01

user754730


2 Answers

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.

like image 123
Jamie Cockburn Avatar answered Nov 04 '22 18:11

Jamie Cockburn


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.

like image 36
Tertium Avatar answered Nov 04 '22 17:11

Tertium