Thursday, April 25, 2013

[android help] In-App payment in amazon

android - In-App payment in amazon - Stack Overflow








Tell me more ×

Stack Overflow is a question and answer site for professional and enthusiast programmers. It's 100% free, no registration required.


















I have followed the following steps As shown in image ..steps in In AppPayment amazon but the problem is when i run the code provided in sdk as shown in image 4 when i click the button the number of clicks should be deducted but it is not. I have place the follwing values in string.xml m i right in theses steps?



amazoncheckout

com.amazon.checkout
com.amazoncheckoutconsumable
com.amazoncheckoutentitlementn
com.amazon.buttonclicker.blue_button
com.amazoncheckoutsubscription
com.amazoncheckoutsubscriptionmonthly


enter image description here


The above sku is generated by me and i also want to know the the json file shown in image three , i have downloaded that and placed in assert folder .. what is this json file for ? kind provide comment on my steps where i m wrong ... the click number is shown 5 but when i click it is not deducted why? any help will be appricated .... Thanks


















This question has an open bounty worth +50 reputation from Venkat ending in 6 days.


Looking for an answer drawing from credible and/or official sources.


i am stuck with this. please anybody help. i want to test the amazon app in my app.
















I'm going to try to explain how can you have the demo working, because, I think, that's your question, sorry if I'm wrong...



  1. Install the AmazonSDKTester.apk in your device and open it. It's inside tools folder in the SDK package. For install it you can use in terminal:


    adb install AmazonSDKTester.apk




  2. Next add your project to Eclipse:


    File > New > Project...>Android Project from Existing Code , browse the Button Clicker Demo Project in the SDK folder and Finish.




  3. Copy the amazon.sdktester.json file to SD memory. In the ButtonClicker project folder, go to assets folder and add the amazon.sdktester.json file to the SD memory. An easy way it's dragging the file to the SD folder using DDMS file explorer. Your SD folder may be different depends on device, in my Nexus S is like you can see in the image.



enter image description here


And that's it, you must have Button Clicker Demo sample fully working. When you make a purchase you can go to the AmazonSDKTester and see all your purchases. Hope it helps you and solves your problem.














Not the answer you're looking for? Browse other questions tagged or ask your own question.







default







.

stackoverflow.comm

No comments:

Post a Comment

Google Voice on T-Mobile? [General]

Google Voice on T-Mobile? So I recently switched from a GNex on Verizon to a Moto X DE on T-Mobile. I had always used Google Voice for my v...