Android Java工具类总结
时间
1.android 监听系统时区变化,日期变化,时间变化
https://www.cnblogs.com/lotusve/archive/2012/05/30/2525371.html
系统
1.获取当前方法的名字
https://blog.csdn.net/xsm666/article/details/80823643 2.网络状态监听
https://www.jianshu.com/p/6fa0f1f1ce48
文件
1.properties读取
Properties properties = new Properties();try { InputStream in=context.getAssets().open("test.properties"); properties.load(in); in.close();}catch (IOException e){ // ... return;}String host = properties.getProperty("HOST");
2.生成excel
先引用jxl库:https://mvnrepository.com/artifact/net.sourceforge.jexcelapi/jxl/2.6.12
https://blog.csdn.net/kangweijian/article/details/86694670
声明:本站所有文章资源内容,如无特殊说明或标注,均为采集网络资源。如若本站内容侵犯了原著者的合法权益,可联系本站删除。