Ytai,
Some progress, at last. Commenting out IOIOLibAndroidDevice let the 
application come up.

After that I started again with a clean slate and verified that the problem 
still exists. Then I commented out only the IOIOLibAndroidDevice. For some 
reason I get messages about that any changes in AndroidManifest.xml will be 
over written, so I just killed the line again.
The application came up again, showing the problem is ONLY in that library.

Now it was time to hook up ioioBridge to actually start to do something. No 
such luck. Without the library it doesn't work, i.e. it doesn't crash but 
it doesn't do anything useful. I get the following:

02-25 10:24:20.410 7966-7966/ioio.examples.hello D/IOIOConnectionRegistry: 
No runtime support for: 
ioio.lib.android.bluetooth.BluetoothIOIOConnectionBootstrap. Not adding.
02-25 10:24:20.410 7966-7966/ioio.examples.hello D/IOIOConnectionRegistry: 
Bootstrap class not found: 
ioio.lib.android.device.DeviceConnectionBootstrap. Not adding.
02-25 10:24:20.660 7966-7982/ioio.examples.hello D/IOIOImpl: Waiting for 
IOIO connection
02-25 10:24:20.660 7966-7982/ioio.examples.hello V/IOIOImpl: Waiting for 
underlying connection
02-25 10:24:20.670 7966-7981/ioio.examples.hello D/IOIOImpl: Waiting for 
IOIO connection
02-25 10:24:20.670 7966-7981/ioio.examples.hello V/IOIOImpl: Waiting for 
underlying connection
02-25 10:24:20.670 7966-7981/ioio.examples.hello V/SocketIOIOConnection: 
Creating server socket
02-25 10:24:20.670 7966-7981/ioio.examples.hello V/SocketIOIOConnection: 
Waiting for TCP connection
02-25 10:24:20.780 7966-7968/ioio.examples.hello W/art: Suspending all 
threads took: 20ms
02-25 10:24:20.790 7966-7982/ioio.examples.hello 
E/IOIOBaseApplicationHelper: Unexpected exception caught
                                                                              
java.lang.NullPointerException: Attempt to invoke interface method 
'android.hardware.usb.UsbAccessory 
android.hardware.usb.IUsbManager.getCurrentAccessory()' on a null object 
reference
                                                                                
  
at android.hardware.usb.UsbManager.getAccessoryList(UsbManager.java:340)
                                                                                
  
at 
ioio.lib.android.accessory.Adapter$NewUsbManager.getAccessoryList(Adapter.java:204)

It is always complaining about the usb, which isn't surprising since I'm 
trying to send command via the usb. Long ago I tried the 507 in place of 
the 505 and the 507 didn't work either.
In short what needs to be done in order that the board will actually do 
something?

Thanks,
Ilan

-- 
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