How to display popup on tapping overlay in android?

Yes it is possible you should design our self info window for display information over tap in map i am supply code to you if you are understand that please replay me. public class MapLocationOverlay extends Overlay { private boolean isNameAddHold=true; private Bitmap bitmap,bitCross,bitMoreInformation; int testX,testY,count=0; int infoWindowOffsetX,infoWindowOffsetY; public String name,address,argName,argAddress,argid; // Store these as … Read more

Comparing two locations using their Longitude and Latitude

You actually need to implement a function called distance that will calculate the distance between two locations. Calculating the distance between two locations is one possible way of comparing the longitude and latitude values. An example of comparing them: @Override public void onLocationChanged(Location location) { double lat2 = location.getLatitude(); double lng2 = location.getLongitude(); // lat1 … Read more

Keytool alias does not exist

This is right a way to get key: To get certificate fingerprint (MD5) follow the steps below: You need to get the keystore file for getting the certificate fingerprint (MD5). Your keystore file can be found at the following path: C:\Documents and Settings\<username>\Local Settings\Application Data\Android (Or) C:\Documents and Settings\<username>\.android Keystore file name is debug.keystore. Copy … Read more

android maps: How to Long Click a Map?

I’ve found an even easier way. Just make an overlay as the first overlay in the list that does not draw anything and use it to recognize gestures using the GestureDetector. It should then return true if it handled the event so it doesn’t get propagated. List<Overlay> overlays = mapView.getOverlays(); overlays.clear(); overlays.add(new MapGestureDetectorOverlay(new MyOnGestureListener())); And … Read more

How can I handle map move end using Google Maps for Android V2?

Check out new maps api. @Override public void onMapReady(GoogleMap map) { mMap = map; mMap.setOnCameraIdleListener(this); mMap.setOnCameraMoveStartedListener(this); mMap.setOnCameraMoveListener(this); mMap.setOnCameraMoveCanceledListener(this); // Show Sydney on the map. mMap.moveCamera(CameraUpdateFactory .newLatLngZoom(new LatLng(-33.87365, 151.20689), 10)); } @Override public void onCameraMoveStarted(int reason) { if (reason == OnCameraMoveStartedListener.REASON_GESTURE) { Toast.makeText(this, “The user gestured on the map.”, Toast.LENGTH_SHORT).show(); } else if (reason == OnCameraMoveStartedListener … Read more