Android6.0 BETA3 - internal OTG problem after restart

Discussion in 'General Discussion' started by david sedlacek, Jul 19, 2016.

  1. david sedlacek

    david sedlacek New Member

    Jul 19, 2016
    Likes Received:
    Hi all,
    Iam not sure where to post this, because it is some kind of issue related to your current development.
    So forgive me, if you know about it, or if it should be placed somewhere else.

    The option in Settings -> General -> Enable internal Arduino communication is checked after restart (yes, I checked it before reboot), but the Accessory is not available.
    After uncheck and check again, the accessory can be listed.
    This is related to Android6.0 BETA3.

    code snippet for accessory listing:
    mUsbManager = (UsbManager) getSystemService(Context.USB_SERVICE);
    if (mUsbManager.getAccessoryList() != null) {
    out += "accessory count: " + mUsbManager.getAccessoryList().length + "\n\n";
    for (UsbAccessory usbA : mUsbManager.getAccessoryList()) {
    out += usbA.toString() + "\n\n";
    } else {
    out += "no accessory";

    thank you for all the work :)
    Andrea Rovai likes this.
  2. Andrea Rovai

    Andrea Rovai Well-Known Member

    Oct 27, 2014
    Likes Received:
    Thank you very much for pointing this out, we were unaware of the problem and we're trying to solve it.

Share This Page