ThingWorx Edge Android SDK > About the ThingWorx Edge Android SDK
About the ThingWorx Edge Android SDK
The ThingWorx Edge Android SDK is intended for use in creating Android applications that take advantage of the ThingWorx AlwaysOn protocol. This SDK supports Android API version 19 or higher and should be used with Android Studio, which is available at
Based on the ThingWorx Edge Java SDK, the ThingWorx Edge Android SDK is designed for portability while making it easy to integrate your applications into the ThingWorx distributed computing view of the Internet of Things (IoT).
The goal of the SDK is to make it simple to connect any Android-enabled devices to the ThingWorx platform. In addition, the SDK is designed to give developers enough flexibility to start simple and move quickly to creating more sophisticated applications.
The AlwaysOn protocol is a binary protocol that uses the WebSocket protocol as its transport. The AlwaysOn protocol allows persistent WebSocket connections that can operate through a firewall. The persistence enables two-way, low latency communication between the device and server.
The primary purpose of the ThingWorx Edge Android SDK follows:
To establish and manage a secure, AlwaysOn connection with a ThingWorx platform.
To enable simple programmatic interaction with the properties, services, and events that are exposed by entities that exist on a ThingWorx platform.
To easily define properties and services that can be accessed from the ThingWorx platform.
Since the Android SDK is based on the ThingWorx Edge Java SDK, the PDF for the Edge Java SDK is included in the docs directory. Use that document as a reference to implement ThingWorx functionality in your Android application. However, do not attempt to use the Edge Java SDK inside your Android application. It contains classes that are not supported on the Android operating system. The Edge Android SDK has been specifically designed to function in a similar manner to the Edge Java SDK but relies only on classes available on your Android device.