![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
android
文章平均质量分 68
z479368474
这个作者很懒,什么都没留下…
展开
-
android 在不解压压缩文件的情况下,读取压缩文件内容
/** * 无需解压直接读取Zip文件和文件内容 * * @param file * @throws Exception */ public static InputStream readZipFile(String file) throws Exception { InputStream input = null;原创 2017-09-08 10:07:42 · 1145 阅读 · 0 评论 -
android studio 简述组件化操作
//组件化包,可以写在最底层module的build.gradle,其他组件引用compile 'com.github.mzule.activityrouter:activityrouter:1.2.2'annotationProcessor "com.github.mzule.activityrouter:compiler:1.1.7" 1.其中第二行的包需要在每个组件的buil...原创 2017-09-08 10:10:24 · 516 阅读 · 0 评论 -
android6.0以上 动态权限添加 权限无效
在Android 6.0以上的手机,需要在原有的AndroidManifest.xml声明权限的基础上,又新增了运行时权限动态检测。一下是需要动态检测的权限:身体传感器日历摄像头通讯录地理位置麦克风电话短信存储空间private static final int REQUEST_EXTERNAL_STORAGE = 1; private static String[] PERMISSION...转载 2017-09-01 14:46:50 · 892 阅读 · 0 评论 -
android 调用输入法 搜索功能
<EditText android:layout_width="match_parent" android:layout_height="wrap_content" android:focusable="true" android:focusableInTouchMode="true" android:imeOptions="action...原创 2018-03-28 17:15:16 · 2669 阅读 · 0 评论