Pergunta

I have prepared an application which has several features. To one feature of them, I want to add in app purchase option. Can anyone inform me the simplest way to implement this? As far I know it can't be tested using emulator. Then How can I test it after adding this option?

Foi útil?

Solução 2

At last, I have implemented in app purchase in my application with the help of bellow's website which contains brief but clear explanation of in app purchase with a simple example. Possibly this site will be helpful for the novice android programmers to learn how to implement in app purchase.

techotopia-In app purchase

Outras dicas

you can make a test account in your developer console under setting, upload the apk with in-app billing permissions but don't publish it. Add in-app products in developer console. Login with the same test account you have added in developer console as primary account to your android device. then install the signed apk into your device and you are ready for testing

you can also refer to android.developer for more details http://developer.android.com/google/play/billing/billing_testing.html

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top