在onclick事件裡:

Uri uri=Uri.parse("http://www.yahoo.com.tw");
Intent i=new Intent(Intent.ACTION_VIEW,uri);
startActivity(i);

AndroidManifest:

<!-- Permission: Allow Connect to Internet -->
<uses-permission android:name="android.permission.INTERNET" />

arrow
arrow
    全站熱搜
    創作者介紹
    創作者 小Chiu 的頭像
    小Chiu

    Cuiu's Home

    小Chiu 發表在 痞客邦 留言(0) 人氣()