intent 예시 (android) [code]// 웹페이지 띄우기 Uri uri = Uri.parse(“http://www.google.com“); Intent it = new Intent(Intent.ACTION_VIEW,uri); startActivity(it); // 구글맵 띄우기 Uri uri = Uri.parse(“geo:38.899533,-77.036476″); Intent it = new Intent(Intent.Action_VIEW,uri); startActivity(it); // 구글 길찾기 띄우기 Uri uri = Uri.parse(“http://maps.google.com/maps?f=d&saddr=출발지주소&daddr=도착지주소&hl=ko“); Intent it = new Intent(Intent.ACTION_VIE.. 더보기 자바의 기본적인 형변환 출처 : http://forum.falinux.com/zbxe/index.php?amp;mid=lecture_tip&mid=lecture_tip&page=83&document_srl=550084 int to String String str = Integer.toString(i); String str = "" + i; String to int int i = Integer.parseInt(str); int i = Integer.valueOf(str).intValue(); double to String String str = Double.toString(d); long to String String str = Long.toString(l); float to String String str = Float.toS.. 더보기 이전 1 다음