摘要: public class LogUtils { public static final int VERBOSE = 1; public static final int DEBUG = 2; public static final int INFO = 3; public static final int WARN = 4; public static f... 阅读全文
posted @ 2017-02-22 21:55 yl007 阅读(418) 评论(0) 推荐(0) 编辑
摘要: 1、定制一个Application类,管理全局的状态信息 2、在AndroidManifest.xml中指定自定义的Application <application android:name = "com.exmple.networktest.MyApplication" ......> </app 阅读全文
posted @ 2017-02-22 21:36 yl007 阅读(198) 评论(0) 推荐(0) 编辑