- 博客(1)
- 资源 (10)
- 收藏
- 关注
转载 Android Support 包里究竟有什么
随着 Android 5.0 Lollipop 的发布,Android 又为我们提供了更多的支持包,但是我相信大部分开发者都同我之前一样不知道这些包里究竟有些什么东西,我们应该在什么时候使用它。现在,我们就来逐个看看每一个版本的 Support 包中所拥有的东西,让用到他的时候不再迷茫。 首先,你需要了解每一个 Support 包版本后缀 vX 所代表的含义。当然我相信来看博客
2015-07-24 16:41:26 366
apktool_2.0.0rc3.jar
解决低版本apktool反编译失败问题,反编译命令为:
java -jar apktool_2.0.0rc3.jar d -f fanliwang.apk -o fanli
2015-10-11
MessageDigest 内容/文件 摘要生成
对文件以及内容获取MD5 Sha-1 SHA1_Digest 摘要信息,并可选进行base64编码, SHA1_Digest 为apk MANIFEST.MF 中信息的摘要方式
/**
* 得到文件摘要信息
*
* @Description:
* @param file
* @param algorithm
* @return
* @throws Exception
* @see:
* @since:
* @date:2015-6-19
*/
public static String getDigestByFile(File file, DigestType type, Boolean isBase64Encode) {
String content = "";
// 获取摘要byte
byte[] buffer;
try {
buffer = getDigestByteByFile(file, type.getType());
content = convertByteData(type, isBase64Encode, buffer);
} catch (Exception e) {
e.printStackTrace();
content = null;
}
return content;
}
/**
* 获取字符数据的摘要信息
* @Description:
* @param message
* @param type
* @param isBase64Encode
* @return
* @see:
* @since:
* @date:2015-6-19
*/
public static String getDigestByString(String message, DigestType type, Boolean isBase64Encode) {
String content = "";
// 获取摘要byte
byte[] buffer;
try {
buffer = getDigestByteByContent(message, type.getType());
content = convertByteData(type, isBase64Encode, buffer);
} catch (Exception e) {
e.printStackTrace();
content = null;
}
return content;
}
.........
2015-06-19
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人