Android Sense
Connect an Android device to WSO2 IoT Server and monitor the sensor data. The following subsections explain how you can work with the Android sense device type:
Enroll Android Sense
Sign in to the Device Management console.
- Click Enroll New Device.
- Click Android Sense to enroll a device of the type Android Sense.
- Enroll the device.
- Click Enroll Device.
Scan the QR code or click DOWNLOAD NOW to download the Android sense agent onto your Android device.
You need to make sure that your Android device and the IoTS server is on the same network, else you will not be able to download the Android sense agent.
If you chose to scan the QR code, you will be directed to a web page. When this page appears, the web browser will typically display an "insecure connection" message, which requires your confirmation before you can continue.
- Open the downloaded file, and tap INSTALL.
- Tap OPEN, once the WSO2-SenseAgent is installed.
- Enter your details and tap REGISTER DEVICE.
- Username: Provide a preferred username
- Password: Provide a preferred password
- Server URL: Provide the server URL in the
https://<IOTS_HOST>:<IOTS_HTTPS_PORT>
format.
Example:https://10.100.4.98:9443
- Try out the Android Sense application.
If you want to add more sensors, tap add sensor, select the sensors you wish to add, and tap OK.
For more information on configuring the accelerometer to work with Android Sense, see Configuring the Rapid Accelerometer of the Android Sense.
- If you want to push the data to the WSO2 IoT Server so you can view the data in real time or check out the historical data, tap push data to device.
Try it out
Once you start the Android sense you can try out the following actions:
Action | Description |
---|---|
View device details | Navigate to the Device Details page to view the device details, carry out operations and monitor real-time data. |
Monitor real-time data | Monitor real-time data via the Device Details page by clicking on View Device Analytics. |
What's next
Follow the options given below to see what you can do next:
Try out building the Android Sense source. For more information, see Building the Android Sense Agent.
Navigate to the Device Management page to view all the created devices.
Select a device from your device dashboard and check the available operations and monitor real-time data.