Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,296 questions
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hi,
I created a Xamarin.android project for serial communication from a sensor through usb port of an android device. When I try to get data using 'Intent.GetParcelableExtra(EXTRA_TAG) as UsbSerialPortInfo;' is always returning null. Extra_Tag is declared as ' public const string EXTRA_TAG = "PortInfo";' . I don't find a proper documentation somewhere to set up the project for serial communication through Xamarin. Can anyone please help?
Thank you