Porting of HTTP client (cURL) library on android
Am working on auto provisioning 开发者_C百科in which I need to download a file.enc from the server.This I had done using cURL(other option is wget) to get it done.Now I need to compile the curl source code with agcc (ARM tool chain compile) and port the same on a Android device. Am clueless so any help is greatly appreciated.
Thanks in advance.
Why don't you use HttpGet
provided in the android sdk?
I have documented the way to compile libcurl into your application for Android. The only challenge is to configure the libcurl for ARM architecture. You will need to tweak the compilation parameters for your environment.
http://web.archive.org/web/20110424123421/http://thoughts.seul.in/2011/01/compiling-curl-libcurl-for-android-using-ndk-on-snow-leopard-mac-os-x
精彩评论