5,381 questions
SerialPortInfo through Intent Xamarin always returning null
sheeja varghese
21
Reputation points
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
Developer technologies | .NET | Xamarin
Developer technologies | C#
11,580 questions
Sign in to answer