![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Android小知识
迷鹿.
一日三餐,八小时睡眠,一小时光照,中年无肚腩,老年不花眼
展开
-
安卓中获取所有桌面图标
贴效果图效果图好大以下是关键代码 清单文件加一下读写权限PackageManager manager = this.getPackageManager(); Intent intent = new Intent(Intent.ACTION_MAIN); intent.addCategory(Intent.CATEGORY_LAUNCHER); ...原创 2019-04-09 09:22:19 · 2008 阅读 · 3 评论 -
Android中对象转Json串以及Log打印不全解决方案
Gson gson = new Gson(); String msg = gson.toJson(bean); String tag = "LSG"; int max_str_length = 2001 - tag.length(); //大于4000时 while (msg.length() ...原创 2019-04-12 18:49:52 · 1442 阅读 · 0 评论 -
安卓5.0沉浸式模式学习笔记
转自:http://blog.csdn.net/guolin_blog/article/details/51763825沉浸式:沉浸式就是要给用户提供完全沉浸的体验,使用户有一种置身于虚拟世界之中的感觉.比如之前的一些游戏就做到了这一点下面开始放代码和效果图第一种 标准沉浸式 View decorView = getWindow().getDecorView(); ...转载 2019-04-18 14:47:42 · 210 阅读 · 0 评论