Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

adb "geo fix" command to real device of Android?

How do I test the GPS on a real device?

I connect to the emulator, everything is OK.

jdev@jdev-K ~ $ adb devices
List of devices attached 
4df10455333395f1        device

jdev@jdev-K ~ $ telnet 4df10455333395f1
telnet: could not resolve 4df10455333395f1/telnet: Name or service not known

Which port?

Tell me, and I can not find. thanks!

like image 216
JDev Avatar asked Dec 27 '22 09:12

JDev


1 Answers

Unfortunately geo fix doesn't work on real devices.

Not out of the box, but that's why I wrote an app for that :) - it's open source and provides exactly the same interface as the emulator (telnet to :5554 and run "geo fix ..." or "geo nmea"): in app store MockGeoFix

like image 96
luv Avatar answered Jan 09 '23 03:01

luv