2012년 6월 18일 월요일

Start Google Map with address

String address = ""; // Enter address hear

Uri uri = Uri.parse("geo:0,0?q=" + Uri.encode(address)); // if address has special character like '#', it should be encoded.

Intent intent = new Intent(Intent.ACTION_VIEW, uri);

startActivity(intent);

댓글 없음:

댓글 쓰기