Friday, 9 January 2015

Android map show using intent - j4android

I will show map programmatically using map intent in andriod.

Please try it your self.

         String uri ="geo:" + latitudeValue + "," + longitudeValue + "?z=" + 3;

         Intent intent = new Intent(android.content.Intent.ACTION_VIEW, Uri.parse(uri));
         startActivity(intent);

No comments:

Post a Comment