8000 delete some file · h4de5ing/AndroidCommon@f4cb414 · GitHub
[go: up one dir, main page]

Skip to content
8000

Commit f4cb414

Browse files
author
h4de5ing
committed
delete some file
1 parent 86ac9c3 commit f4cb414

File tree

9 files changed

+7
-724
lines changed

9 files changed

+7
-724
lines changed

README-cn.md

Lines changed: 1 addition & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,6 @@ AppUtils.getAppName(MainActivity.this,com.code19.androidcommon);
230230
- SystemUtils.java 系统工具
231231
* sendSMS 调用系统发送短信
232232
* forwardToDial 跳转到拨号
233-
* callPhone 直接呼叫号码
234233
* sendMail 发邮件
235234
* openWeb 打开浏览器
236235
* openContacts 打开联系人
@@ -326,27 +325,7 @@ AppUtils.getAppName(MainActivity.this,com.code19.androidcommon);
326325
* isNumeric 是否数值型
327326
* testRegex 是否匹配正则
328327
* checkPostcode 匹配中国邮政编码
329-
330-
- ViewUtils.java View工具
331-
* removeSelfFromParent
332-
* requestLayoutParent
333-
* isTouchInView
334-
* bigImage
335-
* setTVUnderLine 给TextView设置下划线
336-
* showPopupWindow
337-
* dismissPopup
338-
* captureView 截图
339-
* createViewBitmap 截图
340-
* convertViewToBitmap 截图
341-
* getActivityBitmap 获取Activity的截图
342-
* getStatusBarHeight 获取状态栏高度
343-
* getToolbarHeight 获取工具栏高度
344-
* getNavigationBarHeight 获取导航栏高度
345-
* measureView 测量view
346-
* getViewWidth 获取view的宽度
347-
* getViewHeight 获取view的高度
348-
* getActivity 获取view的上下文
349-
328+
350329
351330
```shell
352331

README.md

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,6 @@ AppUtils.getAppName(MainActivity.this,com.code19.androidcommon);
4343
* cleanDatabases
4444
* cleanSharedPreference
4545

46-
- CacheUtils.java
47-
* setCache
48-
* getCache
4946

5047
- CipherUtils.java
5148
* md5(String input)
@@ -216,7 +213,6 @@ AppUtils.getAppName(MainActivity.this,com.code19.androidcommon);
216213
- SystemUtils.java
217214
* sendSMS
218215
* forwardToDial
219-
* callPhone
220216
* sendMail
221217
* openWeb
222218
* openContacts
@@ -261,26 +257,6 @@ AppUtils.getAppName(MainActivity.this,com.code19.androidcommon);
261257
* isNumeric
262258
* testRegex
263259

264-
- ViewUtils.java
265-
* removeSelfFromParent
266-
* requestLayoutParent
267-
* isTouchInView
268-
* bigImage
269-
* setTVUnderLine
270-
* showPopupWindow
271-
* dismissPopup
272-
* captureView
273-
* createViewBitmap
274-
* convertViewToBitmap
275-
* getActivityBitmap
276-
* getStatusBarHeight
277-
* getToolbarHeight
278-
* getNavigationBarHeight
279-
* measureView
280-
* getViewWidth
281-
* getViewHeight
282-
* getActivity
283-
284260
# Thanks to all the open source programmers
285261
License
286262
----

library/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ dependencies {
2525
//compile 'com.android.support:appcompat-v7:24.2.1'
2626
//compile fileTree(include: ['*.jar'], dir: 'libs')
2727
//testCompile 'junit:junit:4.12'
28-
compile 'com.google.code.gson:gson:2+'
29-
//compile 'com.android.support:design:24.2.1'
28+
//compile 'com.google.code.gson:gson:2+'
29+
compile 'com.google.code.gson:gson:2.2.4'
3030
}
3131
def siteUrl = 'https://github.com/h4de5ing/AndroidCommon'
3232
def gitUrl = 'https://github.com/h4de5ing/AndroidCommon.git'

library/src/main/java/com/code19/library/CipherUtils.java

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -20,25 +20,11 @@
2020

2121
import java.io.File;
2222
import java.io.FileInputStream;
23-
import java.io.FileOutputStream;
2423
import java.io.IOException;
2524
import java.io.InputStream;
26-
import java.io.OutputStream;
2725
import java.security.DigestInputStream;
28-
import java.security.InvalidAlgorithmParameterException;
29-
import java.security.InvalidKeyException;
3026
import java.security.MessageDigest;
3127
import java.security.NoSuchAlgorithmException;
32-
import java.security.SecureRandom;
33-
import java.security.spec.InvalidKeySpecException;
34-
35-
import javax.crypto.Cipher;
36-
import javax.crypto.CipherInputStream;
37-
import javax.crypto.NoSuchPaddingException;
38-
import javax.crypto.SecretKey;
39-
import javax.crypto.SecretKeyFactory;
40-
import javax.crypto.spec.DESKeySpec;
41-
import javax.crypto.spec.IvParameterSpec;
4228

4329
/**
4430
* Create by h4de5ing 2016/5/7 007

library/src/main/java/com/code19/library/L.java

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@
3333
import javax.xml.transform.stream.StreamResult;
3434
import javax.xml.transform.stream.StreamSource;
3535

36+
import static android.util.Log.getStackTraceString;
37+
3638
/**
3739
* Created by Gh0st on 2016/6/7 007.
3840
* https://github.com/ZhaoKaiQiang/KLog
@@ -94,8 +96,8 @@ public static void e(String msg) {
9496
log(ERROR, null, msg);
9597
}
9698

97-
public static void e(String tag, String msg) {
98-
log(ERROR, tag, msg);
99+
public static void e(String tag, String msg, Throwable tr) {
100+
log(ERROR, tag, msg + '\n' + getStackTraceString(tr));
99101
}
100102

101103
public static void a(String msg) {

0 commit comments

Comments
 (0)
0