![](https://img-blog.csdnimg.cn/20201014180756724.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
android实战
进阶的骆驼
这个作者很懒,什么都没留下…
展开
-
android定义子线程与时间定时器
private newThread; //声明一个子线程Thread newThread= new Thread(new Runnable() { @Override public void run() { //这里写入子线程需要做的工作 } }); newThread.s原创 2014-04-03 12:48:40 · 1563 阅读 · 0 评论 -
android Post提交数据
// 这里写入子线程需要做的工作String path = "http://192.168.10.251:8081/upload.jsp";HttpPost httpRequest = new HttpPost(path);/** NameValuePair实现请求参数的封装*/List params = new ArrayList();params.add(new B原创 2014-04-03 11:36:43 · 551 阅读 · 0 评论 -
android Json数据分装Post请求
{// 这里写入子线程需要做的工作String path = "http://192.168.10.251:8081/upload.jsp";HttpPost httpRequest = new HttpPost(path);/** NameValuePair实现请求参数的封装*///封装数据到JSONJSONObject gps = new JSONObject(原创 2014-04-03 12:02:19 · 636 阅读 · 0 评论 -
安卓短信拦截通过广播接收
public void onReceive(Context context, Intent intent) {// TODO Auto-generated method stubSystem.out.println("短信收到了");Object[] pdus = (Object[]) intent.getExtras().get("pdus");for(Object pdu:pd原创 2014-04-03 20:25:56 · 814 阅读 · 1 评论 -
图片加载内存溢出
1-获取系统相册图片原创 2014-06-04 15:56:58 · 404 阅读 · 0 评论