Android SDK Tutorial
Use the SDK toolkit to create Android apps that scale via the ThingWorx platform.
Project Concept
This project will introduce simple and complex aspects of the ThingWorx Android SDK and help you to get started with development.
Following the steps in this this guide, you will be ready to develop your own IoT application with the ThingWorx Android SDK.
We will teach you how to use the Java programming language with the Android SDK to connect and build IoT applications to be used with the ThingWorx Platform.

Project Info
Type | Tutorial |
Level | Intermediate |
Est. Time | 60 Minutes |
Published | December 14, 2018 |
Author | Jason Johnson |
You'll learn how to
- Establish and manage a secure connection with a ThingWorx server, including SSL negotiation and connection maintenance.
- Enable easy programmatic interaction with the Properties, Services, and Events that are exposed by Entities running on a ThingWorx server.
- Create applications that can be directly used with your device running Android.
- Basic concepts of the Android Edge SDK
- How to use the Android Edge API to build a real-world application
- How to utilize resources provided in the Edge SDK to help create your own application
Things used in this project
This guide requires a connection to the ThingWorx Foundation.
It assumes that you are utilizing the 30-day hosted Foundation server.
This guide could also be run through with the 120-day downloadable trial, but some instructions could require modification.
In order to complete this exercise, you need the following:
- Download Android Studio with a Java Development Kit (JDK).
- Download the Android SDK.
ANDROID SDK TUTORIAL
- Step 1: Completed Example
- Step 2: Environment Setup
- Step 3: Sample Applications
- Step 4: SimpleThing Connection
- Step 5: Example Services
- Step 6: Delivery Truck Example
- Step 7: Create Services and Events
- Step 8: Troubleshooting
- Step 9: Next Steps