Skip to content

ankurgla22/curl-android

 
 

Repository files navigation

curl for android demo.

how to generate libcurl:
0. download aosp (part of it should be ok)

1. generate libc, libssl, liblog, and so
   shell> make libssl liblog
2. edit jni/configure.sh, change the default settings:
   read the script carefully..normally you can keep it as is
3. run curl-android/jni/configure.sh
   if there are any error, check and fix...
4. generate libcurl
   shell> ndk-build
5. 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)

About

curl for android

Resources

License

BSD-2-Clause and 2 other licenses found

Licenses found

BSD-2-Clause
LICENSE
Unknown
LICENSE.c-ares
Unknown
LICENSE.curl

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 54.5%
  • C 41.3%
  • Shell 2.4%
  • Makefile 1.8%