Hello,
The sample consumes a third-party usb-serial-for-android
library and Android USB Host Mode (OTG) API. If you want to do the same stuff in MAUI, you could try Binding Library for Android platform. And Android native library bindings can be done the same way as in Xamarin, please see Binding a Java Library - Xamarin | Microsoft Learn
In addition, you can refer to Binding Native Libraries for .NET MAUI - Events | Microsoft Learn
Best Regards, Wenyan Zhang
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment". Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.