I have one question in my mind that can we test the in-app purchase application in Google Apis emulator with different api level?
Any information regarding this will be welcomed.
I have one question in my mind that can we test the in-app purchase application in Google Apis emulator with different api level?
Any information regarding this will be welcomed.
You cannot test services like in app billing and LVL on emulators as they lack Google Play, which acts as a middleman between your app and then launch Google servers. Additionally, the accounts you can configure on the emulator are limited in functionality.
See this for details on testing.
No, you can't. There's a way to test you in-app billing, but it's something you have to install on a real device, not the emulator:
http://developer.android.com/guide/google/play/billing/billing_testing.html
"To test in-app billing in an application you must install the application on an Android-powered device. You cannot use the Android emulator to test in-app billing."
I know of this open-source library project called android-test-billing who apparently lets you test IAB in the emulator by recreating the Google Play Billing Service.
I haven't tried it myself, though.
Yes, You can test. Login into Google play with google account. Now purchase the in-app products.