自学内容网 自学内容网

Android APN type 配置和问题

问题/疑问

如果APN配置了非法类型(代码没有定义的),则APN匹配加载的时候最终结果会是空类型。

那么到底是xml解析到数据库就是空type呢?还是Java代码匹配的时候映射是空的呢?

Debug Log

尝试将原本的APN type加入ota或者新建一条ota type APN,检查log情况。

//Type有限制长度

09-23 15:27:14.272  1977  1977 D ApnEditor: onBindDialogView: set preference EditText length limit to 32

09-23 15:27:28.904  1977  1977 D ApnEditor: getUserEnteredApnType: changed apn type to editable apn types: ota

//将原本的default APN加入了ota type,在加载Data Profile的时候也是不会显示ota type的

09-23 15:27:29.139  1977  1977 D MtkDPM  : DPM-1: Added [DataProfile=[ApnSetting] T-Mobile US, 2028, 310260, fast.t-mobile.com, , http://mms.msg.eng.t-mobile.com/mms/wapenc, , null, null, 0, supl | hipri | default | xcap, IPV6, IP, true, 0, true, 0, 0, 0, 1440, 1440, gid, 544D, false, GPRS|EDGE|UMTS|CDMA|CDMA - EvDo rev. 0|CDMA - EvDo


原文地址:https://blog.csdn.net/qq_38666896/article/details/141674805

免责声明:本站文章内容转载自网络资源,如本站内容侵犯了原著者的合法权益,可联系本站删除。更多内容请关注自学内容网(zxcms.com)!