[mono-android] GetAccessoryList?

Jonathan Pryor jonp at xamarin.com
Thu Jun 7 17:31:43 UTC 2012


On Jun 7, 2012, at 1:17 PM, theshadow124 wrote:
> I wanted to see if my program could even detect the device, and to no anvil, I used the following code on a button to check if a device is detected. Am I doing something wrong?

Are you fulfilling all of the AndroidManifest.xml requirements?

	http://developer.android.com/guide/topics/usb/accessory.html#manifest

What API level are you targeting? You need to target API 12 or later to use the Android.Hardware.Usb namespace.

What Android device are you running this on?

Thanks,
 - Jon



More information about the Monodroid mailing list