How to Obtain the Current Location of a Terminal
Please reference to the User Location of Android SDK.
Please notice that in Q2/K2, if use the terminal without GPS module, so it depends on the network location.
If third-party app runs in device without google play service, and the app use network provider to get location, please download and install the NetworkLocation-gms.apk, restart device, then the third-party app can get location correctly.