Installation

To develop an Android robot application, you need to set up your development environment as follows.

Install Android Studio

Robot application runs on the built-in Android tablet of the robot and therefore to develop the application, Android Studio must be installed.

Requirement
Android Studio Version 1.5 or Higher
Java Development Kit (JDK) System Requirements of Android Studio

To install Android Studio, follow the installation guide available here: http://developer.android.com/sdk/index.html

Get Android SDK and Build-Tools

To develop an Android application, you need to install Android SDK and its Build-Tools:

Step Action

From Android Studio menu bar, click the SDK Manager sdk.

The SDK Manager appears.

_images/sdk_manager_win.png

Download and install Android SDK version 5.1.1 (API 22, Lollipop).

_images/android_sdk_install.png

Note: As backwards compatibility is supported, you can install SDK version 5.1.1(API 22) or lower.

Download and install SDK Build-Tools

SDK Build-tools such as Emulator/Android Debug Bridge are also required. Download and install the same version of SDK Build-tools as the installed Android SDK.

_images/android_build_tools_install.png

Note: The system image for Android Virtual Device (AVD) environment is described in Get Robot SDK and tools section.

Get Pepper SDK Plugin

Reminder: before installing Pepper SDK Plugin, you should have downloaded and installed Android Studio, Java Development Kit (JDK) and Android Tools.

This section shows how to install Pepper SDK Plugin in Android Studio for developing robot applications.

Step Action

From Android Studio Settings, select Plugins sub-menu,

then click the Browse repositories… button.

_images/plugins_step1.png
Enter “Pepper” in the search bar, in order to find Pepper SDK.

Select Pepper SDK and click the Install plugin button.

_images/plugins_step2.png
Restart Android Studio.

Check the File > New menu: robot plugin menus should appear.

_images/plugins_step3.png

Get Robot SDK and tools

Once Pepper SDK Plugin is installed, your last step for setting up the environment is to download the tools for developing robot application.

Step Action
From Android Studio menu bar, click the Robot SDK Manager image7.

Check the target API version you want to develop your robot application in and click the Apply button.

_images/robot_sdk_manager_win.png

Robot SDK Content

AVD

(Android Virtual Device):

AVD system image same as the robot tablet image. Provides x86 and armeabi architectures.

Tools Robot Emulator and tools for developing robot application, such as Robot Viewer, Robots Browser, Trajectory, etc.

You are ready!

It is now time to create a robot application.