microg / UnifiedNlp

Alternative network location provider for Android, with plugin interface to easily integrate third-party location providers.
946 stars 207 forks source link

provide locations via android mock locations developer API #27

Open hhm0 opened 9 years ago

hhm0 commented 9 years ago

Thanks for the onderful project! :-)

In android, there is an option in the Developer options to "enable mock locations". It would be wonderful to have this implemented, as a straightforward option for providing the Android system with location data.

(see here for example of using this API for injecting location data).

mar-v-in commented 9 years ago

A lot of apps do not work properly with the mock locations, this happens whenever a location provider is selected directly instead of automatically. That's why the network location provider api was choosen to implement this.

However I agree that using the mock API might become an interesting additional option.

hhm0 commented 9 years ago

Yes, i mainly meant having it as another alternative for location supply :-)

On 2/19/15, Marvin W notifications@github.com wrote:

A lot of apps do not work properly with the mock locations, this happens whenever a location provider is selected directly instead of automatically. That's why the network location provider api was choosen to implement this.

However I agree that using the mock API might become an interesting additional option.


Reply to this email directly or view it on GitHub: https://github.com/microg/android_packages_apps_UnifiedNlp/issues/27#issuecomment-75090078

KUKHUA commented 4 months ago

:(