Re: curl with openssl prebuilt shared library for android

2012-09-20 Thread farmdve data.bg
Look at mine and configure where needed LOCAL_PATH := $(call my-dir) include $(CLEAR_VARS) LOCAL_MODULE := crypto-prebuilt LOCAL_SRC_FILES := libcrypto.a TARGET_ABI := android-8-armeabi include $(PREBUILT_STATIC_LIBRARY) include $(CLEAR_VARS) LOCAL_MODULE := ssl-prebuilt LOCAL_SRC_FILES :=

Re: curl with openssl prebuilt shared library for android

2012-09-20 Thread farmdve data.bg
You may need to remove the TARGET_ABI directive from my example. On Thu, Sep 20, 2012 at 8:05 PM, farmdve data.bg farm...@data.bg wrote: Look at mine and configure where needed LOCAL_PATH := $(call my-dir) include $(CLEAR_VARS) LOCAL_MODULE := crypto-prebuilt LOCAL_SRC_FILES := libcrypto.a

Re: curl with openssl prebuilt shared library for android

2012-09-17 Thread farmdve data.bg
Check the obj/local/armeabi folder for the static libraries. On Mon, Sep 17, 2012 at 7:02 AM, Indtiny s indt...@gmail.com wrote: Hi, Can you pls tell me how to genearte the the static library from the android-openssl (from the link which you have sent .! I tried to edit SHARED to STATIC in

Re: curl with openssl prebuilt shared library for android

2012-09-17 Thread Indtiny s
Hi, Thanks.. I have generated the static libraries and pointed to the those libraries in my application android make . Below is the Android.mk file for my application which uses the curl and openssl , Here do I need to build the static library separately for the openssl or have I followed

Re: curl with openssl prebuilt shared library for android

2012-09-16 Thread farmdve data.bg
Trust me, I tried to load the shared libraries as well, but failed. Statically linking was the only way to ensure my application uses the latest OpenSSL regardless of Android version(though my ABI is set to API level 8). On Sat, Sep 15, 2012 at 1:18 PM, Indtiny s indt...@gmail.com wrote: Hi,

Re: curl with openssl prebuilt shared library for android

2012-09-16 Thread Indtiny s
Hi, Can you pls tell me how to genearte the the static library from the android-openssl (from the link which you have sent .! I tried to edit SHARED to STATIC in the Android.mk file at both ssl and crypto , but that did nt create any static library ..! On Sun, Sep 16, 2012 at 11:39 PM,

Re: curl with openssl prebuilt shared library for android

2012-09-15 Thread Indtiny s
Hi, Actually in my java application I will load all three shared libries (ssl,crypto and curl) ... Hence Iam trying build all libs as shared . I tried to debug it as per your input , now I am getting the response as 1 i .e *CURLE_UNSUPPORTED_PROTOCOL (1)* when I tried to execute the https .

Re: curl with openssl prebuilt shared library for android

2012-09-14 Thread farmdve data.bg
It's not clear if you built libcurl as a static library to begin with. And not clear if you built OpenSSL as a static or shared library. And you must load curltest(as that is the name of the module) not curl. On Fri, Sep 14, 2012 at 8:28 PM, Indtiny s indt...@gmail.com wrote: Hi, yes I'm

Re: curl with openssl prebuilt shared library for android

2012-09-14 Thread Indtiny s
Hi, I have just ran ndk-build for the code https://github.com/aluvalassuman/OpenSSL1.0.1cForAndroid and it generated the two shared libraries in libs/ floder which I required , libcrypto.so and libssl.so( as build say these are shared libarray) I just included them in the curl code as prebuilt

Re: curl with openssl prebuilt shared library for android

2012-09-14 Thread farmdve data.bg
Try using LogCat by connecting an Android device via USB, or launching an emulator and opening a new Command Prompt for Windows or Terminal instance in linux and type adb logcat. Then launch the app and look at the output. You see, Android ships with OpenSSL, but the version is usually quite old.