How can monogame use a serialport on android

use serialport in android. Do you have any tutorial?

I don’t know the answer but I don’t think Monogame is going to help with that directly. .NET has a serial port class but I don’t know if it’s supported on Android. Search the web for “xamarin serial port” and you’ll find a few others asking the same question.

Thank you for replay, …NET Serialports class not supported on android.
I’ll try using android .So file.

It may be a good idea anyway to make a worker in native android for that (I’ve forgotten how it is called properly) - especially if you want to listen to a serial port you want to have that run as “a service” (whatever it’s called in android)