No such luck that it would actually work. I went back and downloaded 
App-IOIO0507.zip 
<https://github.com/ytai/ioio/raw/master/release/software/App-IOIO0507.zip> 
and tried again. Now I already knew how to change


android {
  buildToolsVersion "23.0.2"
  compileSdkVersion 23
}
from compile version 19 to 23. That got rid of my SDK errors, but there is a 
strange error in the comment of all places

class Looper extends BaseIOIOLooper {
   /** The on-board LED. */
   private DigitalOutput led_;

   /**
    * Called every time a connection with IOIO has been established.
    * Typically used to open pins.
    *
    * @throws ConnectionLostException
    *             When IOIO connection is lost.
    *
    * @see ioio.lib.util.IOIOLooper#setup()
    */

It can't resolve IOIOLooper#setup and setup is red. This may just be a red 
herring as who ever heard of an error inside a comment?
In any case it fails

 E/AndroidRuntime: FATAL EXCEPTION: main
                       Process: ioio.examples.hello, PID: 4221
                        java.lang.RuntimeException: Unable to start 
activity 
ComponentInfo{ioio.examples.hello/ioio.examples.hello.MainActivity}: 
java.lang.NullPointerException: Attempt to invoke interface method 'void 
android.hardware.usb.IUsbManager.getDeviceList(android.os.Bundle)' on a 
null object reference
                         at 
android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2416)
                         at 
android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2476)

It isn't clear to me what has failed. Is it something in ioio or 
android.hardware.usb? It appears again as

 Caused by: java.lang.NullPointerException: Attempt to invoke interface 
method 'void 
android.hardware.usb.IUsbManager.getDeviceList(android.os.Bundle)' on a 
null object reference
                                                                       at 
android.hardware.usb.UsbManager.getDeviceList(UsbManager.java:295)

I am using an IOIO bridge to talk between the ioio and the emulator and it 
works on the simple android test program which I wrote. The test program 
doesn't do anything with the ioio board
itself, so I am trying to take the next step. Until I figure out what is 
killing me, there isn't much I can do.

-- 
You received this message because you are subscribed to the Google Groups 
"ioio-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/ioio-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to