Yes, it was permissions problem. I've added the following lines to the
manifest -
<uses-library android:name="com.android.future.usb.accessory"
android:required="false" />
<intent-filter>
<action
android:name="android.hardware.usb.action.USB_ACCESSORY_ATTACHED" />
</intent-filter>
<meta-data
android:name="android.hardware.usb.action.USB_ACCESSORY_ATTACHED"
android:resource="@xml/accessory_filter" />
(and of course the accessory_filter.xml at the res directory), but it did
not help.
Only when I've added the internet and bluetooth permissons it worked,
although I use neither of them. Can you explain it to me?
But anyway, I've just turned on a LED via SMS, after so many trials! I'm so
happy:)
--
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/d/optout.