Abstract
The article contains YotaPhone SDK installation guide for Windows, Linux and Mac operatingsystems and is intended for third–party developers of YotaPhone applications.YotaPhone SDK supports all gestures for 3-rd party application (swipe left, swipe right, etc.) and both screens– FrontScreen (FS), BackScreen(BS).
Getting Started
NOTE: IF YOU HAVE PROBLEMS IN STARTING EMULATOR, PLEASE, UPDATE/COPY THE FOLLOWING FILE source.properties TO THE FOLDER: android_sdk\add-ons\addon-yotaphone
Download and setup Android SDK. All necessary information you can get here.
All information about Android Emulator you can get here.
With a single download, the YotaPhone SDK includes everything you need to begin developing apps:
- The latest SDK jar file for developing apps
- The latest system image for the YotaPhone emulator
- Api reference guide
- Extract archive to your
<sdk>/add-ons/folder. Input the path to
addon-yotaphonetools folder to make environment variable. Just click on the Computer icon on your Desktop -> Properties -> Advanced systemsettings -> Advanced -> Environment Variables… In the Edit User Variable dialog pop up add<sdk>/add-ons/addon-yotaphone/tools_winto the Variable valuePathand click OK button.
Copy emulator files form
<sdk>/add-ons/addon-yotaphone/tools_winto<sdk>\tools.Launch Android SDK manager and download all files for Android 4.2.2 (API 17)

Launch AVD manager and Create new AVD based on
addon-yotaphone, with thisconfiguration:- AVD Name: any acceptable. (i.e.
<avd_name>) - Device: any acceptable
- Target: choose Platinum Add-On (Yota Platinum)
- CPU/ABI: both ARM or x86 acceptable (To improve work of the emulator we recommend to install Intel Hardware Acceleration Execution Manager. All necessary information you can get here.)
- Other AVD settings are up to user
Below is example of created AVD based on Platinum add-on:

- AVD Name: any acceptable. (i.e.
Start the emulator.

- To improve work of the emulator we recommend to install Intel Hardware Acceleration Execution Manager. All necessary information you can get here.
Note: If you develop for real device, you should install YotaPhone Device Driver and copy adb_usb.ini file to C:\Users\
echo "0x2916" >> "%USERPROFILE%\.android\adb_usb.ini" adb kill-server adb start-server
Set the
ANDROID_SDK_ROOTenvironment variable (<sdk>- is the path of installedAndroid SDK):export ANDROID_SDK_ROOT=<sdk>;
Extract archive addon-yotaphone.zip to
<sdk>/add-ons/addon-yotaphoneLaunch android SDK manager
cd <sdk>/tools/ ./androidDownload all files for Android 4.2.2 (API 17)

Launch AVD manager
./android avd
Create a new AVD based on
addon-platinum, with the following configuration:- AVD Name: any acceptable. (i.e.
<avd_name>) - Device: any acceptable
- Target: choose Platinum Add-On (Yota Platinum)
- CPU/ABI: both ARM or x86 acceptable (To improve work of the emulator we recommend to install Intel Hardware Acceleration Execution Manager. All necessary information you can get here.)
- Other AVD settings are up to user
Below is example of the created AVD based on Platinum add-on:

- AVD Name: any acceptable. (i.e.
Copy and replace all files from
\addon-yotaphone\tools_lintotoolsfolder of downloaded SDK.
!!! Important !!! You need to change permission for theese files to executablechmod +x <sdk>/tools/emulator*
Launch emulator:
<sdk>/tools/emulator -avd platinum

- To improve work of the emulator we recommend to install Intel Hardware Acceleration Execution Manager. All necessary information you can get here.
Note: If you develop for real device, you should copy adb_usb.ini file to ~.android\ folder and restart adb server. Or you should run the following commands:
echo 0x2916 >> ~/.android/adb_usb.ini adb kill-server adb start-server
- Download SDK for Mac OS (http://developer.android.com/sdk/index.html)
- Launch Eclipse from
adt-bundle-mac-x86_64/eclipse - Set SDK path in Eclipse: ADT - Settings - Android - SDK location
- Open SDK Manager (Eclipse - Window - Android SDK Manager)
Select Tools, Android 4.2.2 (API 17) and last item in Extras - Emulator Accelerator(HAXM) (What is it and why this need you can read here: http://software.intel.com/en-us/android/articles/installation-instructions-for-intel-hardware-accelerated-execution-manager-mac-os-x)

Copy
addon-yotaphoneto folderandroid-sdk-macosxCopy and replace all files from
\addon-yotaphone\tools_mactotoolsfolder of downloaded SDK.
!!! Important !!! You need to change permission for theese files to executablechmod +x <sdk>/tools/emulator*
Open AVD Manager (Eclipse - Window - Android SDK Manager)
Create new avd device with the following parameters:
- AVD Name: any acceptable. (i.e.
<avd_name>) - Device: any acceptable
- Target: choose Platinum Add-On (Yota Platinum)
- CPU/ABI: both ARM or x86 acceptable*
- Other AVD settings are up to user

- AVD Name: any acceptable. (i.e.
Press OK and Start it

Note: If you develop for real device, you should copy adb_usb.ini file to ~.android\ folder and restart adb server. Or you should run the following commands:
echo 0x2916 >> ~/.android/adb_usb.ini adb kill-server adb start-server