curl-android
curl-android copied to clipboard
curl for android
curl for android demo.
how to generate libcurl: 0. download aosp (part of it should be ok)
- generate libc, libssl, liblog, and so shell> make libssl liblog
- edit jni/configure.sh, change the default settings: read the script carefully..normally you can keep it as is
- run curl-android/jni/configure.sh if there are any error, check and fix...
- generate libcurl shell> ndk-build ANDROID_SOURCE=$ANDROID_SOURCE
- strip debug from libcurl shell> arm-eabi-strip -g /path/to/libcurl.so
libcurl.so size: (default is ftp, https with ares) https: ~169K (including http, https) ares: ~28K (adding to https, with ares support) ipv6: ~0K (no extra size) +full: ~278K (all protocols, with ares)