HI Im using a intent to send to a google maps a position via geo: with his latitude and longitude and mark a position with a titles. but know that i update the google maps v7.0.1 on android 4.2.2 it wont display the mark that i did in the code. here is the code that i used for make the call of maps.
Intent intent = new Intent(android.content.Intent.ACTION_VIEW,
Uri.parse("geo:"+latitude+","+longitude+"?q="+latitude+","+longitude+"("+name+")"));
intent.setComponent(new ComponentName("com.google.android.apps.maps", "com.google.android.maps.MapsActivity"));
startActivity(intent);
It seems that it is not supported any more. Also this syntax is not mentioned in Google Uris, RFC 3986 or geo: Uri Draft.
If google maps does not find the given name at this point, there will be no search result. You can remove the name and google maps will draw a marker at the given point with its street name.
Intent intent = new Intent(android.content.Intent.ACTION_VIEW,
Uri.parse("geo:"+latitude+","+longitude+"?q="+latitude+","+longitude+"("+name+")"));
intent.setComponent(new ComponentName("com.google.android.apps.maps", "com.google.android.maps.MapsActivity"));
startActivity(intent);