Using the ThingWorx Edge Java SDK for Android Applications > Setting Up to Run Sample Android Applications
Setting Up to Run Sample Android Applications
All of the examples discussed in the sections that follow are available in the examples directory of your ThingWorx Edge Java SDK distribution. Also present in this directory is a build script for the Gradle build tool for the examples.
As of v.7.0.0 of the Java SDK, you can write applications for Android devices using the Java SDK. In addition, the examples provided in the distribution show you how to implement proxy server support for both Java and Android applications. A sample squid configuration file is also provided with the examples. This configuration file establishes a proxy on the machine where it is running on port 3128.
To run the Android examples:
1. Download and extract the distribution bundle for the Android SDK. This installation provides the appropriate environment for building and running the examples.
2. Import any of the sample applications in the examples directory into Android Studio. The build.gradle file will configure your classpath for you so that the examples are ready to compile and run.
To build and run the Steam Sensor example, continue to the next section.
Was this helpful?