77范文网 - 专业文章范例文档资料分享平台

Android APN开发流程分析(3)

来源:网络收集 时间:2019-04-23 下载这篇文档 手机版
说明:文章内容仅供预览,部分内容可能不全,需要完整文档或者需要复制内容,请下载word后使用。下载word有问题请添加微信号:或QQ: 处理(尽可能给您提供完整文档),感谢您的支持与谅解。点击这里给我发消息

return apn; }

/**

* @param apn the apn to set */

public void setApn(String apn) { this.apn = apn; }

/**

* @return the proxy */

public String getProxy() { return proxy; }

/**

* @param proxy the proxy to set */

public void setProxy(String proxy) { this.proxy = proxy; }

/**

* @return the port */

public String getPort() { return port; }

/**

* @param port the port to set */

public void setPort(String port) { this.port = port; }

/**

* @return the user */

public String getUser() { return user; }

/**

* @param user the user to set */

public void setUser(String user) { this.user = user; }

/**

* @return the server */

public String getServer() { return server; }

/**

* @param server the server to set */

public void setServer(String server) { this.server = server; }

/**

* @return the password */

public String getPassword() { return password; }

/**

* @param password the password to set */

public void setPassword(String password) { this.password = password; }

/**

* @return the mmsc */

public String getMmsc() { return mmsc; }

/**

* @param mmsc the mmsc to set */

public void setMmsc(String mmsc) { this.mmsc = mmsc; }

/**

* @return the mmsproxy */

public String getMmsproxy() { return mmsproxy; }

/**

* @param mmsproxy the mmsproxy to set */

public void setMmsproxy(String mmsproxy) { this.mmsproxy = mmsproxy; }

/**

* @return the mmsport */

public String getMmsport() { return mmsport; }

/**

* @param mmsport the mmsport to set */

public void setMmsport(String mmsport) { this.mmsport = mmsport; }

/**

* @return the mcc */

public String getMcc() { return mcc; }

/**

* @param mcc the mcc to set */

public void setMcc(String mcc) { this.mcc = mcc; }

/**

* @return the mnc */

public String getMnc() { return mnc; }

/**

* @param mnc the mnc to set */

public void setMnc(String mnc) { this.mnc = mnc; }

/**

* @return the numeric */

public String getNumeric() { return numeric; }

/**

* @param numeric the numeric to set */

public void setNumeric(String numeric) { this.numeric = numeric; }

/**

* @return the type */

public String getType() { return type; }

/**

* @param type the type to set */

public void setType(String type) { this.type = type;

} }

如果里面的函数名不清楚的话,网上找APN设置,一大堆的资料

3.主界面里的代码为:

public class ApnNew extends Activity { private Button setbtn; private Button insertbtn; private Button apnexist;

@Override

public void onCreate(Bundle savedInstanceState){ super.onCreate(savedInstanceState); setContentView(R.layout.apnnew);

setbtn = (Button)this.findViewById(R.id.setApn); setbtn.setOnClickListener(setlis);

insertbtn = (Button)this.findViewById(R.id.insertApn); insertbtn.setOnClickListener(insertlis);

apnexist = (Button)this.findViewById(R.id.Apnexist); apnexist.setOnClickListener(existlis); }

private OnClickListener setlis = new OnClickListener(){

@Override

public void onClick(View v) { setCmwapAPN(); } };

private OnClickListener insertlis = new OnClickListener(){

@Override

public void onClick(View v) { InsetAPN();

if(apnd_id != 0)

Toast.makeText(ApnNew.this, String.valueOf(apnd_id), Toast.LENGTH_SHORT).show(); else

百度搜索“77cn”或“免费范文网”即可找到本站免费阅读全部范文。收藏本站方便下次阅读,免费范文网,提供经典小说综合文库Android APN开发流程分析(3)在线全文阅读。

Android APN开发流程分析(3).doc 将本文的Word文档下载到电脑,方便复制、编辑、收藏和打印 下载失败或者文档不完整,请联系客服人员解决!
本文链接:https://www.77cn.com.cn/wenku/zonghe/622189.html(转载请注明文章来源)
Copyright © 2008-2022 免费范文网 版权所有
声明 :本网站尊重并保护知识产权,根据《信息网络传播权保护条例》,如果我们转载的作品侵犯了您的权利,请在一个月内通知我们,我们会及时删除。
客服QQ: 邮箱:tiandhx2@hotmail.com
苏ICP备16052595号-18
× 注册会员免费下载(下载后可以自由复制和排版)
注册会员下载
全站内容免费自由复制
注册会员下载
全站内容免费自由复制
注:下载文档有可能“只有目录或者内容不全”等情况,请下载之前注意辨别,如果您已付费且无法下载或内容有问题,请联系我们协助你处理。
微信: QQ: