2012-06-03 3 views

답변

1
Intent websiteIntent = new Intent(Intent.ACTION_VIEW); 
Uri uri = Uri.parse("http://www.android.com"); 
websiteIntent.setData(uri); 
startActivity(websiteIntent); 
2

만의 onclick()이 코드를 추가

 // Launch a browser 
     Uri uri = Uri.parse("http://www.yahoo.com"); 
     Intent intent = new Intent(Intent.ACTION_VIEW, uri); 
     startActivity(intent);   
1

Intent intent = new Intent(Intent.ACTION_VIEW, Uri.parse("http://www.google.com"); 
startActivity(intent); 
시도
관련 문제