Download zip Select Archive Format
Name Last Update history
File dir AEyeTabs Loading commit data...
File txt README.txt Loading commit data...


QL2 Android
AEye USB Ref

Updated Jan 2014

To get started with this project you need the following setup and installed on your computer:

See Installing Tools and Drivers
See ADB Commandline Tools
See Developer Mode

Setting up the SDK Manager

    The reference project was written to work down to Android API 17.
    From inside Eclipse, launch Window > Android SDK Manager.
    See the screenshot of the checked items in this folder to see if you have all the dependencies.

Importing the Reference Project

    Launch ADT Eclipse
    Open to your preferred workspace.
    Go to File > Import > General > Existing Projects into Workspace
    Under Select root directory, put the folder that this ReadMe.txt file is located in.
    After selecting it, the Projects: list should populate with "AEyeTabs".
    If your workspace is equal to the current folder you selected, leave
    "Copy projects into workspace" UNCHECKED.
Adjusting Project Properties

    If there is a red exclamation point next to the project name in the Package Explorer, edits need to be made in the Properties of the project.
    Go to Properties > Android > Library
    and remove any listed items here.
    Go to Properties > Java Build Path > Libraries (tab) > Add JARs...
    Browse to AEyeTabs > libs
    and select both eyetechusblib.jar and quicklinklib.jar
    Click OK.
    If you get errors about .classpath Access Denied, you may need to go and remove any "read-only" attributes or "hidden" attributes on the folder.  You may need to also ensure that your user has full access to the folder and subfolder and files here.  Editing these properties in the windows file system while Eclipse is open, may prevent the properties from being applied.  A build clean doesn't hurt either.
    After the red exclamation mark disappears, you should see it build and probably list a few warnings.  In our test, we had 21 warnings.
How to connect to the eye tracker and debug wirelessly

    C:\>adb kill-server

    C:\>adb devices
    * daemon not running. starting it now on port 5037 *
    * daemon started successfully *
    List of devices attached

    C:\>adb devices
    List of devices attached
    R32D100WTSD     unauthorized

    C:\>adb tcpip 5555
    error: device unauthorized. Please check the confirmation dialog on your device.

    C:\>adb devices
    List of devices attached
    R32D100WTSD     device

    C:\>adb tcpip 5555
    restarting in TCP mode port: 5555
    <Note: at this point you may disconnect the android device from the computer.>
    <You need to make sure that your device is on the same wifi network as your computer, and that it is enumerated.>

    C:\>adb connect
    connected to

Installing Tools and Drivers

	First get the driver file and the adb tools.

	After unzipping the file go to:
	Right click on the 
	and select

ADB Commandline Tools
	Add "C:\path\to\adt-bundle-windows-x86_64-20130917\sdk\platform-tools"
	to your environment variables.
Developer Mode
	Turn on the android device.

	Go to
		Settings > About tablet > Build number

	Tap this setting 7 times.

	Go to
		Settings > Developer Options > Debugging > USB Debugging

	Make sure this is checked.

	Unplug and replugin your USB connection between the device and your computer,

	Select okay, and always allow from this computer for the
		Allow USB debugging (dialog)

Now open the command prompt and type

	C:\Users\eyetech>adb devices
		List of devices attached
		R32D100WTSD     device