Android - can I use in-app purchase to download content?

my question is quite simple: does Google have an app purchase service that, after completing the purchase process, will download the purchased content? if not, is there another alternative?

the reason for this is to make the application as small as possible, rather than having all the content purchased in the application. a possible solution for this would be to use the extension library and download a partial fragment from there, but it is too complicated, and for most devices the entire extension will be loaded when the application itself is downloaded through the market.

+6
source share
2 answers

Yes.

It is also fully documented in the Android developer repository, complete with guides for setting it up, etc. Obviously, if you use Google, they will take the cut. But if you made your own, you still have to give back part of your credit card processor. Good luck:

http://developer.android.com/guide/market/billing/index.html

The Amazon android application market also offers a similar service.

EDIT

"--- upon completion of the purchase process will download the purchased content" :: NO <- in this part. You must deal with this using your web server. On Google Play, only the original content of the application is available for you.

-1
source

What I often saw is to provide additional content as another application download on the PlayStore, which then uses IPC to communicate / transfer this additional content to the main application.

I saw, for example, video players, to download an additional application to get certain codecs. After the user has downloaded the codec application and transferred its codecs to the video player application, the user can delete the codec application.

In your case, you will have an additional step to make a controlled purchase in the application before your application agrees to contact additional content.

This is a clumsy user interface, but besides paying for a dedicated website to serve your additional content, this is the only option at this point.

0
source

Source: https://habr.com/ru/post/914273/


All Articles