成品直播源码推荐,用JNI生成so文件,加密解密需要的hascode生成代码
try {
PackageInfo packageInfo = getPackageManager().getPackageInfo(getPackageName(), PackageManager.GET_SIGNATURES);
Signature[] signs = packageInfo.signatures;
Signature sign = signs[0];
int hashcode = sign.hashCode();
System.out.printf("hashCode。。。。",hashcode);
System.out.printf("hashCode getPackageName()。。。。。。。。",getPackageName());
// android.util.Log.e("test", "hashCode : " + hashcode);
} catch (Exception e) {
e.printStackTrace();
}
以上就是成品直播源码推荐,用JNI生成so文件,加密解密需要的hascode生成代码, 更多内容欢迎关注之后的文章
标签:hascode,hashCode,源码,so,JNI,生成 From: https://www.cnblogs.com/yunbaomengnan/p/17784685.html