ACTON RocketSkates SDK - Android Developer Guide
ACTON RocketSkates™, the world’s first smart electric skates, are designed to be lightweight, hands-free and tons of fun. RocketSkates are also packed with smart technology and they can connect with apps on users’ smartphones via Bluetooth.
This document introduces how to integrate ACTON RocketSkates SDK into your Android app project.
ACTON RocketSkates uses Bluetooth Low Energy to communicate with smart phones. In order to utilize this SDK, your Android project's target API level must be equal to or higher than 18 (Android 4.3).
Also, please make sure your
AndroidManifest.xml has the following definitions inside
<uses-permission android:name="android.permission.BLUETOOTH" /> <uses-permission android:name="android.permission.BLUETOOTH_ADMIN" />
ACTON RocketSkates SDK is compatible with ADT and Android Studio.
Download the latest version of ACTON RocketSkates SDK from our release page, or simply clone this project.
Acton_R_SDK.jarinto your project's 'libs' folder.
- Open your project's Properties->Java Build Path. Click on 'Libraries' tab and open 'Android Private Libraries', make sure that
After these steps, your app would be able to use APIs provided by ACTON RocketSkates SDK.
We created 3 sample projects for you to start with:
- Hello R Skates! Scan for RocketSkates and connect to them.
- Skate Control Retrieve RocketSkates' real-time status, and change their mode.
- RemoteControl Remote-control your RocketSkates.
You can import these project into your ADT or Android Studio workspace, or simply copy some of their code into your project.
Detailed Javadoc can be found in 'javadoc' folder.