android_setup.txt · Last modified: 2017/03/23 09:17 by masasomeha

1) Download Eclipse Classic (Juno) http://www.eclipse.org/downloads/ In order to run Eclipse properly, you might need to setup a Java Runtime Environment. http://www.oracle.com/technetwork/java/javase/downloads/index.html

2) Install Android SDK from Google (http://developer.android.com/sdk/index.html)

3) In Eclipse, Help Menu –> Install New Software a) Add –> Android ADT (https://dl-ssl.google.com/android/eclipse) b) choose both “Developer Tools” and “NDK Plugins”

If you are unable to install from that link, you may also try: (Go to Help/“Install New Software…” Click on “Available Sofware Sites” Search “http://download.eclipse.org/releases/indigo and enable it Search “http://download.eclipse.org/tools/cdt/releases/indigo and enable it Come back to Help/“Install New Software…” Check “Contact all update sites during install to find requiered sofware” Install ADT Plugin)

4) In Eclipse, Windows Menu –> Android SDK Manager a) choose tools b) Android 2.3.3 (API10) c) extras –> Google USB Driver

5) Download NeuroSky SDK from http://store.neurosky.com/products/android-developer-tools-4

6) Unzip the developer-tools-3-android.zip. In Windows, show all hidden files. Delete all the .DS_STORE files that might be in there

7) Import the HelloEEG project into Eclipse. File –> Import –> Android –> Existing Android Code. Browse to /src/HelloEEG folder

8) If there is a build error, Expand the “Lib” folder in Ecplise and a) Right click on ThinkGear.jar b) Build Path c) Add to build path

9) Refresh eclipse. If there is still an error: delete the project, then re-add it following step 7

10) (optional) Add new AVD (emulator) a) In Ecplise, Window menu –> AVD manager b) new c) AVD-10, Android 2.3.3, 65 MiB, Built in –> WVGA800

NOTE: Bluetooth doesn't work in AVD so you won't be able to get any data unless you use the actual device!

About NeuroSky

NeuroSky technologies enable the most insightful and easy-to-understand health and wellness biometrics for mobile solutions, wearable devices, and service providers. The company’s proprietary, market-leading biosensor technologies provide a foundation for analyzing biometric data in a way that’s never before been practical. NeuroSky-enabled solutions deliver unique insights into body and mind health and wellness that can motivate people to make better lifestyle choices.