[mono-android] GetAccessoryList?

theshadow124 kylenewlove at gmail.com
Thu Jun 7 17:17:20 UTC 2012


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?

                UsbManager manager =
(UsbManager)this.GetSystemService(Context.UsbService);
                Double t = manager.DeviceList.Count;
                button.Text = string.Format("{0} Devices! TESTING!", t);

It just always displayed "0 Devices! TESTING!" even when the test app from
microchip will communicate with the device

--
View this message in context: http://mono-for-android.1047100.n5.nabble.com/GetAccessoryList-tp5710208p5710231.html
Sent from the Mono for Android mailing list archive at Nabble.com.


More information about the Monodroid mailing list