No description, website, or topics provided.
CSS JavaScript
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
img
javadoc
samples
Acton_R_SDK.jar
README.md

README.md

Skates

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.

本文档中文版: https://github.com/ActonInc/RocketSkates-Android-SDK/tree/cn

Requirements

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 <manifest>:

<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.

SDK Installation

  1. Download the latest version of ACTON RocketSkates SDK from our release page, or simply clone this project.

  2. Copy Acton_R_SDK.jar into your project's 'libs' folder.

project-libs

  1. Open your project's Properties->Java Build Path. Click on 'Libraries' tab and open 'Android Private Libraries', make sure that Acton_R_SDK.jar is there.

java-build-path

After these steps, your app would be able to use APIs provided by ACTON RocketSkates SDK.

Samples

We created 3 sample projects for you to start with:

  1. Hello R Skates! Scan for RocketSkates and connect to them.

sample1

  1. Skate Control Retrieve RocketSkates' real-time status, and change their mode.

sample2

  1. RemoteControl Remote-control your RocketSkates.

sample3

You can import these project into your ADT or Android Studio workspace, or simply copy some of their code into your project.

Javadoc

Detailed Javadoc can be found in 'javadoc' folder.

FAQ