android jni使用libzip读取压缩文件

上传者: fontlose | 上传时间: 2021-07-12 13:57:50 | 文件大小: 293KB | 文件类型: GZ
例子通过jni调用libzip库读取压缩文件,和通过ndk自带api接口读取assets资源文件,附测试工程。

文件下载

资源详情

[{"title":"( 37 个子文件 293KB ) android jni使用libzip读取压缩文件","children":[{"title":"ReadAssets","children":[{"title":".project <span style='color:#111;'> 813B </span>","children":null,"spread":false},{"title":"default.properties <span style='color:#111;'> 362B </span>","children":null,"spread":false},{"title":"bin","children":[{"title":"com","children":[{"title":"fontlose","children":[{"title":"R$string.class <span style='color:#111;'> 409B </span>","children":null,"spread":false},{"title":"R$layout.class <span style='color:#111;'> 376B </span>","children":null,"spread":false},{"title":"R$drawable.class <span style='color:#111;'> 382B </span>","children":null,"spread":false},{"title":"ReadAssets$2.class <span style='color:#111;'> 900B </span>","children":null,"spread":false},{"title":"ReadAssets.class <span style='color:#111;'> 1.36KB </span>","children":null,"spread":false},{"title":"R.class <span style='color:#111;'> 489B </span>","children":null,"spread":false},{"title":"R$attr.class <span style='color:#111;'> 322B </span>","children":null,"spread":false},{"title":"ReadAssets$1.class <span style='color:#111;'> 906B </span>","children":null,"spread":false},{"title":"R$id.class <span style='color:#111;'> 398B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"ReadAssets.apk <span style='color:#111;'> 61.61KB </span>","children":null,"spread":false},{"title":"resources.ap_ <span style='color:#111;'> 10.85KB </span>","children":null,"spread":false},{"title":"classes.dex <span style='color:#111;'> 3.39KB </span>","children":null,"spread":false}],"spread":true},{"title":"proguard.cfg <span style='color:#111;'> 1.13KB </span>","children":null,"spread":false},{"title":"obj","children":[{"title":"local","children":[{"title":"armeabi","children":[{"title":"objs","children":[{"title":"readres","children":[{"title":"readres.o.d <span style='color:#111;'> 4.28KB </span>","children":null,"spread":false},{"title":"libzip.so <span style='color:#111;'> 212.15KB </span>","children":null,"spread":false},{"title":"readres.o <span style='color:#111;'> 29.21KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"libreadres.so <span style='color:#111;'> 26.08KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true},{"title":"AndroidManifest.xml <span style='color:#111;'> 640B </span>","children":null,"spread":false},{"title":"jni","children":[{"title":"Android.mk <span style='color:#111;'> 965B </span>","children":null,"spread":false},{"title":"readres.c <span style='color:#111;'> 3.78KB </span>","children":null,"spread":false},{"title":"libzip.so <span style='color:#111;'> 212.15KB </span>","children":null,"spread":false},{"title":"zip.h <span style='color:#111;'> 9.34KB </span>","children":null,"spread":false}],"spread":true},{"title":"libs","children":[{"title":"armeabi","children":[{"title":"libzip.so <span style='color:#111;'> 212.15KB </span>","children":null,"spread":false},{"title":"libreadres.so <span style='color:#111;'> 3.73KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"libzip.so <span style='color:#111;'> 212.15KB </span>","children":null,"spread":false},{"title":"src","children":[{"title":"com","children":[{"title":"fontlose","children":[{"title":"ReadAssets.java <span style='color:#111;'> 1.32KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true},{"title":"res","children":[{"title":"values","children":[{"title":"strings.xml <span style='color:#111;'> 171B </span>","children":null,"spread":false}],"spread":true},{"title":"layout","children":[{"title":"main.xml <span style='color:#111;'> 671B </span>","children":null,"spread":false}],"spread":true},{"title":"drawable-ldpi","children":[{"title":"icon.png <span style='color:#111;'> 1.68KB </span>","children":null,"spread":false}],"spread":false},{"title":"drawable-hdpi","children":[{"title":"icon.png <span style='color:#111;'> 4.05KB </span>","children":null,"spread":false}],"spread":false},{"title":"drawable-mdpi","children":[{"title":"icon.png <span style='color:#111;'> 2.51KB </span>","children":null,"spread":false}],"spread":false}],"spread":true},{"title":".classpath <span style='color:#111;'> 273B </span>","children":null,"spread":false},{"title":"gen","children":[{"title":"com","children":[{"title":"fontlose","children":[{"title":"R.java <span style='color:#111;'> 756B </span>","children":null,"spread":false}],"spread":false}],"spread":false}],"spread":true},{"title":"assets","children":[{"title":"log.txt <span style='color:#111;'> 138B </span>","children":null,"spread":false},{"title":"log 2.txt <span style='color:#111;'> 138B </span>","children":null,"spread":false}],"spread":false}],"spread":false}],"spread":true}]

评论信息

  • fyx2112 :
    不错,可以使用
    2018-08-01
  • ytu1989 :
    很好的一个例子~
    2018-07-11
  • u010780780 :
    正在找,谢谢分享
    2018-03-19
  • u012874222 :
    不错的资源,可用
    2018-02-09
  • u010940907 :
    好不容易找到一个例子
    2017-12-10

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明