Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

android coding how to open map

//Moves you to different intent with the map on it

String uri = String.format(Locale.ENGLISH, "geo:%f,%f", latitude, longitude);
Intent intent = new Intent(Intent.ACTION_VIEW, Uri.parse(uri));
context.startActivity(intent);
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #android #coding #open #map
ADD COMMENT
Topic
Name
5+8 =