Does MagicLeap2 support Android Open Accessory?

I need to connect magic leap2 and external USB hardware and make MagicLeap2 work as accessory mode and external usb hardware as host.
I am planning to use Android Open Accessory for this purpose.
Does MagicLeap2 support Android Open Accessory?

Finally, I will call the library from unity applications.

Unity Editor version: 2022.3.14f1
ML2 OS version:1.7.0
Unity SDK version:1.12.1
Host OS: Windows

Hi @hiroumi,

Welcome to the Magic Leap 2 Developer Forums. We are so grateful to have you here engaging with us.

I will go ahead and reach out to our team to answer your questions. I will report back as soon as I learn more.

Best,

El

We do support this feature. The FEATURE_USB_ACCESSORY feature is available via adb.

adb shell pm list features | grep usb.accessory

Keep in mind that this does not mean that we support all devices since some drivers might not be compatible with our platform or Android version. If you run into any issues, please feel free to let us know.

Best,

El

1 Like

I'll test it.

Thank you for your support.

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.