微波EDA网,见证研发工程师的成长!
首页 > 研发问答 > 手机设计讨论 > MTK手机平台交流 > Modify Browser UA string for using operator plug-in on GB3

Modify Browser UA string for using operator plug-in on GB3

时间:10-02 整理:3721RD 点击:
[DESCRIPTION]

Modify Browser UA string for using operator plug-in on GB3

[SOLUTION]

Code position:
mediatek/operator/OPxx/packages/apps/Plugins/src/com/mediatek/browser/plugin/OpxxBrowse
rSmallFeatureEx.Java (xx is the operator number, such as “01, 02, …”)
Class and Method:
OpxxBrowserSmallFeatureEx.getOperatorUA(String defaultUA)
Modification:
Add your UA into the method “getOperatorUA()” or modify the existed one.
Example
public String getOperatorUA(String defaultUA) {
return xxxxxx;
}
Note: return xxxxxx (xxxxxx is your UA string)

Copyright © 2017-2020 微波EDA网 版权所有

网站地图

Top