Skip to content

Latest commit

 

History

History
16 lines (13 loc) · 412 Bytes

File metadata and controls

16 lines (13 loc) · 412 Bytes

This app allows you to change mock location from terminal using adb in order to test GPS on real devices.

Usage:

adb [-s <specific device>] shell am broadcast -a send.mock [-e lat<latitude>] [-e lon <longitude>]
        [-e alt <altitude>] [-e accurate <accurate>]
adb  shell am broadcast -a stop.mock

Example:

adb  shell am broadcast -a send.mock -e lat 15.3 -e lon 99