GPS
How may I get Android Device GPS location (latitude and logitude)
I need GEO enabled lat long
Catch up wih the Appery.io community on our forum. Here you'll find information on the lastest questions and issues Appery.io developers are discussing.
https://forum.appery.io/
How may I get Android Device GPS location (latitude and logitude)
I need GEO enabled lat long
Hi -
You can start from here: https://devcenter.appery.io/tutorials...
-- for better familiarize yourself with platform.
This code is in Android
I need same in Appery
mLastLocation = LocationServices.FusedLocationApi
.getLastLocation(mGoogleApiClient);
if (mLastLocation != null) {
double latitude = mLastLocation.getLatitude();
double longitude = mLastLocation.getLongitude();
Code: Select all
lblLocation.setText(latitude + ", " + longitude);
}
This code is in Android
I need same in Appery
mLastLocation = LocationServices.FusedLocationApi
.getLastLocation(mGoogleApiClient);
if (mLastLocation != null) {
double latitude = mLastLocation.getLatitude();
double longitude = mLastLocation.getLongitude();
lblLocation.setText(latitude + ", " + longitude);
}
Hello!
Please look at this tutorial: https://devcenter.appery.io/tutorials...
It shows how to get your current location. Also please note that custom js code is outside the scope of our support.