Getting the Command Result
Thing Interaction Framework transfers the command sent from the mobile app to the thing. The mobile app receives a push notification after the command is executed on the thing. You can get the command result by getting the latest command from the server on receipt of the push notification.
Implementation of push notification is different among FCM, GCM, and JPush. The following topics explain how to initialize push notification, how to receive push messages, and how to get the command result.
- Getting the Command Result with FCM
- Getting the Command Result with GCM
- Getting the Command Result with JPush
What's Next?
Now you have completed the section of the Android mobile app. You have reviewed most of the sample program code except for the blocks for push notification, which are explained in Push Notification Tutorials.
Next, let us walk through the thing program.
Go to Thing Program.