I did a small android program what works well if usb debugging is on. 
This is the connection part:
                BA.Log("IOIOConnectionRegistry.addBootstraps");
                IOIOConnectionRegistry.addBootstraps(new String[]{
                        
"ioio.lib.android.accessory.AccessoryConnectionBootstrap",
                        "ioio.lib.impl.SocketIOIOConnectionBootstrap",
                        "ioio.lib.android.device.DeviceConnectionBootstrap",
                        
"ioio.lib.android.bluetooth.BluetoothIOIOConnectionBootstrap"
                });        
                BA.Log("IOIOFactory.create");
                m_ioio_thread = IOIOFactory.create();                
                BA.Log("waitForConnect");
                SystemClock.sleep(50L);
                m_ioio_thread.waitForConnect();
                BA.Log("Connected");
If I switch off the usb debugging in a newer phone, the connection hang up 
in the line .waitforconnect. I can understand, it can't connect. 
The official helloioio example works in this mode too, but mine isn't. How 
do I connect in the right mode to be good in accessory mode?

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