File tree 1 file changed +7
-6
lines changed
1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change 1
- # Android开发人员不得不收集的代码(持续更新中)
2
- ------
1
+ # Android开发人员不得不收集的代码(持续更新中)
2
+ ***
3
3
为方便查找,已进行大致归类,其目录如下所示:
4
4
> - [ App相关] [ app.md ] →[ AppUtils.java] [ app.java ]
5
5
> - 安装指定路径下的Apk * installApp*
6
6
> - 卸载指定包名的App * uninstallApp*
7
7
> - 获取当前App信息 * getAppInfo*
8
8
> - 获取所有已安装App信息 * getAllAppsInfo*
9
+ > - 根据包名判断App是否安装 *isInstallApp*
9
10
> - 打开指定包名的App * openAppByPackageName*
10
11
> - 打开指定包名的App应用信息界面 * openAppInfo*
11
12
> - 可用来做App信息分享 * shareAppInfo*
117
118
** 做这份整理只是想把它作为Android的一本小字典,当遇到一些琐碎问题时,不用再面向百度或者谷歌查询API的使用,费时费力,这里有的话,大家尽管撸走。希望它能逐日壮大起来,期待你的Star和完善,用途的话大家想把它们整理成工具类或者什么的话都可以,之后我也会封装工具类并分享之,但本篇只是提供查阅,毕竟看md比看类文件要爽多了,其中好多代码我也是各种搜刮来的,也要谢谢各位的总结,大部分代码已验证过可行,如有错误,请及时告之,开设QQ群提供讨论,群号:74721490**
118
119
119
120
Download
120
- ------
121
+ ***
121
122
Gradle:
122
123
``` groovy
123
124
compile 'com.blankj:utilcode:1.0'
124
125
```
125
126
126
127
Proguard
127
- ------
128
+ ***
128
129
``` xml
129
130
-keep class com.blankj.utilcode.** { *; }
130
131
-keepclassmembers class com.blankj.utilcode.** { *; }
131
132
-dontwarn com.blankj.utilcode.**
132
133
```
133
134
134
135
License
135
- ------
136
+ ***
136
137
Copyright 2016 Blankj
137
138
138
139
Licensed under the Apache License, Version 2.0 (the "License");
139
140
you may not use this file except in compliance with the License.
140
141
You may obtain a copy of the License at
141
142
142
- http://www.apache.org/licenses/LICENSE-2.0
143
+ http://www.apache.org/licenses/LICENSE-2.0
143
144
144
145
Unless required by applicable law or agreed to in writing, software
145
146
distributed under the License is distributed on an "AS IS" BASIS,
You can’t perform that action at this time.
0 commit comments