question

Ryan P. Muzzey avatar image
Ryan P. Muzzey asked

SearchRequest and ShoppingService.search()

I'm trying to develop an app based around this SDK and I'm currently just trying to test out my implementation. I can't seem to get any SearchRequest to actually return any products. A search that seems like it should work will just not have anything in the response. Like SearchRequest request = new SearchRequest("Electronics", "kindle"); What are the valid categories that amazon expects for this?
mobile associates
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Ryan P. Muzzey avatar image
Ryan P. Muzzey answered
After reading through some more of the documentation, it seems that search doesn't seem to be enabled for me to develop with. I've installed the Amazon App Store, and logged in, but I'm not sure how I can have fill the requirement of having the app in the app store when it's currently in development. How am I supposed to test this?
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Sujoy@Amazon avatar image
Sujoy@Amazon answered
Hi Ryan, Thank you for posting. Sorry for the delay to respond to your query. The Amazon App Tester is a developer tool that allows developers to test In-App Shopping feature of the Mobile Associates API integration in a production-like environment before submitting their app to Amazon for publication. It allows developers to construct test cases that cover all responses generated by the API, and gives them confidence that their app runs correctly and will be published. For the In-App Shopping experience, only apps that have been approved and published through the Distribution Portal can communicate with the Amazon Client. This is a problem for developers who want to see how their app behaves in a live environment before it is submitted for publication. The Amazon App Tester solves this problem by providing a means to test the app before submission. Please go through below link to get complete idea about Amazon App Tester : https://developer.amazon.com/sdk/mobile-associates/testing.html Please let us know if you have any further query. Hope it helps.
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.