I'm trying to setup cURL (or libcurl) on the .c side of my android application (in the ndk) and in order to keep this as simple as possible I'm trying to import an already built library into my project, instead of the whole source code.
I have found several websites on how to import cURL as source code on Android, but even those references seem to be dated.
In the curl download page (http://curl.haxx.se/download.html) there's an Android library, but there's not much information about it.
I have read the readme and the rest of the (few) docs that come with the library, and I have the following questions:
- The readme makes reference to ARM. Is this library only compiled for ARM, or can I also use it with x86, x86_64, mips, and other architectures?
- Do I just need the content of the data folder?
- How do I call the curl library inside of the c code?
Thanks for your help!