amotzte / android-mock-location-for-development

allows to change mock location from command line on real devices
74 stars 24 forks source link

Question - Doesn't work, am I using it wrong way? #2

Open ghost opened 7 years ago

ghost commented 7 years ago

I installed in on mobile , but don't see any app is install.

I tried both the commands below but noting happens.

adb shell am broadcast -a stop.mock

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

for both commands i get same output as - Broadcasting: Intent { act=send.mock (has extras) } Broadcast completed: result=0

I am checking google maps / any other app showing my current location. it still shows my real location

I am using real device with Android 7 (N)

amotzte commented 7 years ago

Weird, you should see the application installed. Let me check this on android 7 and come back to you

ghost commented 7 years ago

Yes it is, I can uninstall using "adb uninstall"