Android Fake GPS location apps do not work anymore

╄→гoц情女王★ 提交于 2019-12-21 04:19:10

问题


I used to work with this application: https://play.google.com/store/apps/details?id=com.fakegps.mock&hl=en And before this with this one: https://play.google.com/store/apps/details?id=com.incorporateapps.fakegps.fre&hl=en Am working on a LG G3 and a Nexus 5, but in the last couple of days, the fake location doesn't work as it should. It doesn't always modify my location and sets in where I want. Or many times, it sets my location where I want for a couple of seconds and then resets to my real location. I'm working on a travel app, and this made it very simple to simulate trips and locations. Is there any other fake location app that actually works how it should? Or is there any other way to set the location of my phone, while the app is running?

EDIT: YES! MOCK LOCATIONS is ON. Like i said: It DOES change my location, to the mock location I want, but it jumps back to my REAL location, after a couple of seconds. Depending, sometimes, it stays for minutes on the mock location, but then jumps for 1 second on my real location, and then goes back :) Now I know this, cause I log all the locations that I find, even more, draws the path, and I have lines that jump back to my Real location and then continue PICTURE: Pink = how it should be. Green = locations that I get and the path. As you can see, each a couple of locations that I get, it jumps back to my location https://www.dropbox.com/s/sszzrvhnwlq2bxr/Screenshot%202015-09-10%2015.47.20.png?dl=0


回答1:


Make sure you have Allow Mock Location turned on in phone's Developer Options and try this app: https://play.google.com/store/apps/details?id=fr.dvilleneuve.lockito&hl=en

I'm using it when working on Geofencing and works great.




回答2:


If mocked location seems to jump to real one during simulation, try to turn off wifi based locations (Settings / Location / Mode --> Device only).




回答3:


I managed to fix this problem by disabling the "Fused Location" service on my phone. I used the Disable Service application which requires root privileges to run. After disabling the "Fused Location" service I stopped teleporting to my real location.




回答4:


In Settings -> General -> Location -> Mode

I switched it from Battery Saving to High accuracy and then the mock location app started working.

Note, you also need to set your preferred Mock Location app in Developer Options, but even after doing that my app was showing my true location instead of the mocked location - now it's working like a champ!



来源:https://stackoverflow.com/questions/32499210/android-fake-gps-location-apps-do-not-work-anymore

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!