0

There are 3 ways to modify Gps data in the Android emulator. But how can I do this in a real Android-powered device in order to test the location function.

Shuai Wang
  • 335
  • 1
  • 8
  • 19

1 Answers1

0

You can try fake GPS:

https://play.google.com/store/apps/details?id=com.incorporateapps.fakegps.fre&hl=en

or you can use

<uses-permission android:name="android.permission.ACCESS_MOCK_LOCATION" /> 

in mandifest and customize your code with LocationManager with detail in

Android mock location on device?

I hope it can help your problem!

Thientvse
  • 1,719
  • 1
  • 14
  • 23