Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to access ZLIB library method in android?

I have added zlib library after doing ndk-build in my android project. But which method to call for zipping the folder in android application ? I have used this as a zlib ndk ZLIB NDK Files

like image 714
Vishvendu Palawat Avatar asked Apr 24 '26 19:04

Vishvendu Palawat


1 Answers

Good news: you don't need to port zlib to Android, or use NDK to build it. The GitHub project has no value except educational sample.

Android NDK provides prebuilt libz.so and libz.a, and you should look up the standard manual to find the methods you need.

like image 59
Alex Cohn Avatar answered Apr 26 '26 09:04

Alex Cohn



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!