Hi !, well this is about getting a GPS usb module to work on Android, at least i haven´t checked the gps on ubuntu.
The gps receiver that i used is the Holux GR-123u USB GPS Receiver. This GPS module is supported by the Prolific PL2303 USB-to-Serial chip, wich supports USB host mode (perfect for us) and no root permission (also perfect for us). Here the link http://www.prolific.com.tw/US/newsdetail.aspx?news_id=29.
I know that you will prefer a usb dongle gps, and i´m positive you could use this ★ GPS USB GlobalSat ND 100S ★ Android Sirf Stariii Dongle Receiver NMEA | eBay
So in order to get this working , we should install 2 applications :
Prolific PL2303 USB-UART (you can download it from the Google Play Store, if you don´t have already the Play Store you can see how here Installing Google Play Services and Google Play Store on RiotBoard)
UsbGPS4Honeycomb_MR1_alpha.apk = Redirecting
Once you installed them, then you should see that you have 2 new apps the UsbGps and the Serial Terminal for PL2303HXD.
Open the serial terminal app and go to settings , then configure the baud rate to 4800.
Also remember to configure in the system settings the "Allow Mock Location" and to enable acces to my location and gps satellites.
Now we plug in the GPS and open the UsbGps app , here you can choose the usb gps manually or it will detect it for you automatically.
Then you select Start GPS and that´s it. The GPS will start to receive data (If not check the fix led on the gps to whether is ready or not).
Then you can check with cat < /dev/ttyUSB0 in order to see the data. (If you unplugged it and the plugged it again it will change to /dev/bus/usb/002/006 )
Now you can use the google maps app or any other app to se that it´s working fine.
You can check the original doc here https://docs.google.com/document/d/1esQFg7NrScHitAqmrk1ITwts1tyXCDOw0J4PbDAiYrs/edit