本帖最後由 headuck 於 2020-10-12 11:24 編輯
我剛剛試了,只插外國 SIM 開機,也是有114 DNS,看了 GOOGLE API ,它好像會看你 Cell nearby
...
dingwinslow209 發表於 2020-10-12 09:54 
因為 TelephonyManager.getNetworkCountryIso() 的 MCC 是跟 mobile network operator, 而不是發 SIM card 的 operator (後者是用另一個 method: getSimCountryIso()). 即你用香港 SIM 去外國 roaming 是沒有問題,反而你用港版 Samsung 去外國唔插 SIM 上 wifi 會有問題,因為沒有 mobile 會 fallback 跟機內 set 死的 country iso. |