301 Moved Permanently

301 Moved Permanently


cloudflare
android_setup.1399431330.txt.gz · Last modified: 2017/03/23 09:17 (external edit)

This is an old revision of the document!


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/developer-tools-3-android

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!

301 Moved Permanently

301 Moved Permanently


cloudflare