摘要: Notification的构造方法 Notification(int, CharSequence, long) 在API11之后就淘汰了,之后的API需要用Notification.Builder()方法: 阅读全文
posted @ 2016-07-14 15:08 亲爱的村姑 阅读(1342) 评论(0) 推荐(0)
摘要: 导入项目的时候gradle报错 error: package org.apache.http does not exist 解决方法: 在build.gradle中加入 android { useLibrary 'org.apache.http.legacy' } 阅读全文
posted @ 2016-07-14 14:29 亲爱的村姑 阅读(2242) 评论(0) 推荐(0)
摘要: xUTILS插件 最简单的方法 -- 使用 xUtils的 的HttpUitls下载文件,支持多线程断点下载 下载地址 https://github.com/wyouflf/xUtils 使用方法: HttpUtils http = new HttpUtils(); HttpHandler hand 阅读全文
posted @ 2016-07-14 09:07 亲爱的村姑 阅读(625) 评论(0) 推荐(0)