简介
针对SIM 的APN配置是在apns-conf.xml,而Google源码中有apns-full-conf.xml案例参考,是加入了carrier_id的统一配置,就不用单独的一张张卡配了。
apns-conf.xml和apns-full-conf.xml有什么区别?
在于它们包含的配置内容和复杂性,full包含了carrier_id字段。
详细代码
apns-full-conf.xml
针对android v新增的2575,有三条APN配置(下文有描述)
<apn carrier="MVNx #T Internet"
carrier_id = "2575"
apn="ereseller"
type="default,mms,supl,fota,xcap"
mmsc="http://mmsc.mobile.att.net"
mmsproxy="proxy.mobile.att.net"
mmsport="80"
protocol="IPV4V6"
roaming_protocol="IPV4V6"
user_editable="false"
/>
<apn carrier="MVNx #T IMS"
carrier_id = "2575"
apn="ims"
type="ims"
protocol="IPV4V6"
roaming_pro