I need to develop an app in xamarin forms ( Andorid and UWP) in which the app gets location data from an external GPS device connected using USB.
Does your external GPS device connect to the PC ? Then you want to get the data that from GPS device in you application? And you do not want to use GPS data in android device?
If you just use application read the data from USB, There is plugin to achieve it in the xamarin androidhttps://github.com/anotherlab/UsbSerialForAndroid#compatible-devices
I guess that a GPS device is an unrecognized device?
Perhaps explore the info about compatible devices:https://github.com/anotherlab/UsbSerialForAndroid#compatible-devices
Xamarin Inc., as a wholly-owned Microsoft subsidiary acting as a separate legal entity, adheres to the Microsoft Privacy Statement: Privacy & cookies