How to enable GPS on Android using native response?

I think this is possible using the SettingsAPI parameter, as mentioned by one of the Responders for this post:

Turn on GPS automatically as OLA cabs app

But is it possible to use SettingsAPI interactively without diving into Java?

+4
source share
1 answer

If there is no module for this (I cannot find it), you, unfortunately, need to implement the settings API in Java. If the Java API is simple, it should not be difficult. Look at the documents and other third-party modules for an example.

+1
source

Source: https://habr.com/ru/post/1657964/


All Articles