Include this script into your page along with the iframe for a responsive media embed
This video shows the steps to create an App which uses Google Map to give the precise location of your phone. This app can be used to track your current position. In the initial part of the video it shows how to create API Key to have the access of the google Map.nnThis custom app works offline based on GPS and you do not need internet connection to get your current location.nnprogrammerworld362978165.wordpress.com/android/design-a-location-tracking-app-using-gps-in-android-studio/nnnI am pasting the main method code below (for complete class please contact):nn public void onMapReady(GoogleMap googleMap) {n mMap = googleMap;nn // Add a marker in Sydney and move the cameran LatLng sydney = new LatLng(-34, 151);n mMap.addMarker(new MarkerOptions().position(sydney).title("Marker in Sydney"));n mMap.moveCamera(CameraUpdateFactory.newLatLng(sydney));nn locationListener = new LocationListener() {n @Overriden public void onLocatid(Location location) {nn try {n latLng = new LatLng(location.getLatitude(), location.getLongitude());nn mMap.addMarker(new MarkerOptions().position(latLng).title("My Current Position"));n mMap.moveCamera(CameraUpdateFactory.newLatLng(latLng));n }n catch (SecurityException e){n e.printStackTrace();n }n }nn @Overriden public void onStatusChanged(String s, int i, Bundle bundle) {nn }nn @Overriden public void onProviderEnabled(String s) {nn }nn @Overriden public void onProviderDisabled(String s) {nn }n };nn locationManager = (LocationManager) getSystemService(LOCATION_SERVICE);nn try {n locationManager.requestLocationUpdates(LocationManager.GPS_PROVIDER, MIN_UPDATE_TIME, MIN_UPDATES_DISTANCE, locationListener);n }n catch (SecurityException e){n e.printStackTrace();n }n }n}