Android Applications
The ThingWorx Edge Java SDK can be used for developing Android applications that take advantage of the ThingWorx AlwaysOn protocol. The SDK supports Android API version 26 and can be used with an IDE that supports Java-based development and also with Android Studio, which is available at https://developer.android.com/sdk/index.html.
The ThingWorx Edge Java 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 ThingWorx Edge Java SDK enables developers to:
Establish and manage a secure, AlwaysOn connection with a ThingWorx Platform.
Interact easily with the properties, services, and events that are exposed by entities that exist on a ThingWorx Platform.
Easily define properties and services that can be accessed from the ThingWorx Platform.
Was this helpful?