APN的配置文件一般以apns-conf开头
在Linux环境下查找文件 ,调用命令 find –name “apns-conf*”
有些是在overlay下的文件,源文件是open-source下的文件,可以根据需求选择是否单拉出来。
一般APN需求包含图中这些项目
在xml文件中单个节点的属性描述
<apn carrier="name"
mcc=""
mnc=""
apn=" "
proxy=""
port=""
mmsproxy=""
mmsport=""
server=""
user=" "
password=" "
type="default,supl"
authtype="1"
/>
type 为表中的APN Type
authType为表中的AUTHENTICATION,authType不写时默认为1,
取值范围 NONE:0,PAP:1,CHAP:2,PAP_CHAP:3.