The OpenXC functionality is exposed via a Java library that includes some Android services your application can use. The library is available on GitHub in the openxc-android repository and the latest stable version is also in the JCenter repository (which can be used in any Android Studio project just by adding a line to your build.gradle).

Follow Google’s excellent instructions to download and install Android Studio.

Add the openxc library to your project’s dependencies in the app/build.gradle file:

dependencies {
    compile 'com.openxcplatform:library:6.1.6+'
}

That’s it! You can now proceed to the next steps to start using the library in your project.

Clone the openxc-android repository using Git. If you don’t already have Git installed, GitHub has a good reference for all platforms.

After cloning the openxc-android library, open the project in Android Studio. You should be able to point it at the openxc-android directory to open an existing project. The project includes 2 modules: the library and the Enabler app.

Once you have the library set up, you can start writing your first OpenXC app using the App Tutorial. If you are having trouble, check out the troubleshooting steps.