android怎么样使原生应用拉链 [英] android how to make native zip application
问题描述
我想创建从位于SD卡上的文件的zip文件,我已成功,使用Java,但我认为结果是太慢的事,所以我想使用了Android NDK融入本土。
I would like to create a zip file from files located on the sd card, I have managed to do that using java but I think that the result is too slow, so I thought of going native using the android NDK.
我的问题是:
有谁知道的任何C / C ++库来压缩解压缩文件会在Android上工作?
Does anyone know any C/C++ library to zip unzip files that will work on android?
如何知道是否库将在Android上工作?
How to know if the library will work on android?
这会不会让对性能有什么区别?
Will this make any difference on performance?
推荐答案
我个人很喜欢7zip的,他们是开源的这里。您可以尝试在Android的NDK你的应用程序中编写本。 gzip的也是另一个不错的选择。
I personally like 7zip, they are open sourced here. You can try compiling this within your app in Android NDK. gzip is also another good option.
这篇关于android怎么样使原生应用拉链的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!