My app opens google map through ACTION.VIEW intent. When I give only latitude and longitude, the map displays the area without marker. To get the marker i used the following code,
Uri uri = Uri.parse("geo:"+Double.parseDouble(dealer_lat)+","+Double.parseDouble(dealer_long)+"?q="+Uri.encode(dealer_nameX+", "+provider_location.toLowerCase()+","+provider_street.toLowerCase()));
Intent intent = new Intent(Intent.ACTION_VIEW, uri);
intent.setPackage("com.google.android.apps.maps");
startActivity(intent);
But this code does search of the location through the address i provide. I need to add marker to the location given by latLng while also display the Marker label with certain text. What should i do ?