以下代碼可以實現從activity跳轉到瀏覽器並打開括號中的網址
startActivity(new Intent(Intent.ACTION_VIEW,Uri.parse("http://hao123.com")));
以下代碼可以實現從activity跳轉到瀏覽器並打開括號中的網址
startActivity(new Intent(Intent.ACTION_VIEW,Uri.parse("http://hao123.com")));
activity的傳值方式 一、初步涉及 簡單傳值方式 發送 Intent intent = new Intent(MainActivity.this,Two_ac.class); inten
任務完成: 第一行代碼看到了120頁, 視頻看了六集以上, 超額完成任務 看書收穫 一、理解了Activity的生命週期 二、 Activity的