티스토리 뷰

브라우저 호출하기

단순히 웹 화면을 부를 때 사용한다.
※ WebView 와 구분하여 사용한다.

	protected void onCreate(Bundle savedInstanceState) {

		super.onCreate(savedInstanceState);
		Intent i = new Intent(Intent.ACTION_VIEW); 
		Uri u = Uri.parse("http://angmang.tistory.com"); 
		i.setData(u); 
		startActivity(i);	
		
	}

결과화면

참고자료

  • Web Apps Overview
  • 댓글