1
一%2F我用這個代碼:Uri.fromParts讓我在Android模擬器
Intent i = new Intent(Intent.ACTION_VIEW);
i.setData(Uri.fromParts("http", "//google.com/", "")); //fromParts is ok b/c the scheme is different
startActivity(i);
但對Android模擬器瀏覽器中我得到這個地址:
的http:%2F %2Fgoogle.com
這是爲什麼?如何解決?