This project was build for Netvision 2016 conference as exaple of AWS IoT Shadow usage in Android application. This application is working with the https://github.com/3mdeb/aws-iot-mqtt-pubsub embedded project
How this project work is described here http://www.slideshare.net/rafalkorszun/how-to-build-iot-solution-using-cloud-infrastructure-61282284
Video with Live Example (polish audio only) https://www.youtube.com/watch?v=owz4kcwXahE
Please modify the GetShadowTask.java and UpdateShadowTask.java files with your Amazon endpoint prefix and Cognito Pool Id
Endpoint Prefix = random characters at the beginning of the custom AWS
IoT endpoint
describe endpoint call returns: XXXXXXXXXX.iot..amazonaws.com,
Log into Amazon console, open Cognito service, open "Manage Federated Identities" link and create new Pool id
Go to Amazon IAM and modify the unauthorized cognito role policy by adding these policies:
"iot:GetThingShadow", "iot:UpdateThingShadow"
This project is prepared in Android Studio 2.0 please open it from Android Studio and compile
This example project is made by http://kleder.co company