I eliminated the activity-related part of the helloioio example app, and I 
used a lower-level connection code and I can connect my ioio.
Thanks for all!

        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();
        try {
            BA.Log("waitForConnect");
            m_ioio_thread.waitForConnect();
            BA.Log("Connected");
        } catch (ConnectionLostException e) {
            // TODO Auto-generated catch block
            e.printStackTrace();
            BA.Log("ConnectionLostException");
        } catch (IncompatibilityException e) {
            // TODO Auto-generated catch block
            e.printStackTrace();
            BA.Log("IncompatibilityException");
        } 


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