Reputation: 1362
Anyone know of an example or tutorial on what to do with the Android SDK that you download for your AWS APIGateway? It is a template of Empty objects and calls to all of your APIGateway methods. Not sure what to do to the downloaded file (that uses Maven to build a jar) in order for it to return JSON objects the way that the AWS Dashboard does. The Android documentation does not reflect the current state of AndroidStudio in its steps.
Upvotes: 0
Views: 1671
Reputation: 7354
Have you gone through this? http://docs.aws.amazon.com/apigateway/latest/developerguide/how-to-generate-sdk.html#how-to-generate-sdk-android
The 'Empty' object you see is the default one that is included with the 200 response, but to actually build a useful SDK you need to write your own Models and attach them to the method requests/responses. There are several examples here http://docs.aws.amazon.com/apigateway/latest/developerguide/example-photos.html
As far as integrating it into your project, you need to build it with Maven then use the SDK similar to the example code in the first doc link.
Upvotes: 2