After much struggling, I managed to setup this Android NDK project on eclipse:
https://github.com/gcesarmza/curl-android-ios
...and now it runs. All it does is connect to www.google.com: This is the curl call I make in the Main Activity:
String url = "https://www.google.com";
byte[] content = downloadUrl(url);
I am new to NDK an this CURL library, how can I execute a more complex CURL request such as this file upload command??? :
curl -F file=@audio.wav http://myserver.com