Problem solved!

For the ones that came up with same problem

You should add following line to manifest file of your application

<uses-feature android:name="android.hardware.usb.host" />

And also push or copy 
android.hardware.usb.host.xml<https://android.googlesource.com/platform/frameworks/native/+/master/data/etc/android.hardware.usb.host.xml>
 to 
/system/etc/permissions

After Reboot and you will be prompted to use IOIO as device

Cheers

27 Aralık 2013 Cuma 09:44:22 UTC+2 tarihinde Deha Kuran yazdı:
>
> I don't see any dialogs at all. Does this means accessory service is not 
> implemented or not included in OS design at first place?
>
> I am not really familiar with android build from source, so I used one of 
> the prebuild image from TI. I thought that if some library or framework is 
> missing, it could be installed later via adb or some other way.
>
> Also after I dive into logcat traces deeply, I saw following lines
>
> 01-01 00:19:55.314: I/dalvikvm(1024): Could not find method 
> com.android.future.usb.UsbManager.openAccessory, referenced from method 
> ioio.lib.android.accessory.AccessoryConnectionBootstrap.openStreams
> 01-01 00:19:55.314: W/dalvikvm(1024): VFY: unable to resolve virtual 
> method 63: Lcom/android/future/usb/UsbManager;.openAccessory 
> (Lcom/android/future/usb/UsbAccessory;)Landroid/os/ParcelFileDescriptor;
> 01-01 00:19:55.314: D/dalvikvm(1024): VFY: replacing opcode 0x6e at 0x0004
> 01-01 00:19:55.324: I/dalvikvm(1024): Could not find method 
> com.android.future.usb.UsbManager.getInstance, referenced from method 
> ioio.lib.android.accessory.AccessoryConnectionBootstrap.onCreate
> 01-01 00:19:55.324: W/dalvikvm(1024): VFY: unable to resolve static method 
> 61: Lcom/android/future/usb/UsbManager;.getInstance 
> (Landroid/content/Context;)Lcom/android/future/usb/UsbManager;
> 01-01 00:19:55.334: D/dalvikvm(1024): VFY: replacing opcode 0x71 at 0x0002
> 01-01 00:19:55.334: I/dalvikvm(1024): Could not find method 
> com.android.future.usb.UsbManager.getAccessoryList, referenced from method 
> ioio.lib.android.accessory.AccessoryConnectionBootstrap.open
> 01-01 00:19:55.334: W/dalvikvm(1024): VFY: unable to resolve virtual 
> method 60: Lcom/android/future/usb/UsbManager;.getAccessoryList 
> ()[Lcom/android/future/usb/UsbAccessory;
> 01-01 00:19:55.334: D/dalvikvm(1024): VFY: replacing opcode 0x6e at 0x000b
> 01-01 00:19:55.334: D/IOIOConnectionRegistry(1024): No runtime support 
> for: ioio.lib.android.accessory.AccessoryConnectionBootstrap. Not adding.
>
> And this leads us to your previous statement isn't it ytai?
>
>

-- 
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 http://groups.google.com/group/ioio-users.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to