Re: curl with openssl prebuilt shared library for android

2012-09-20 Thread farmdve data.bg
+= $(LOCAL_PATH)/curl/include $(LOCAL_PATH)/curl/lib LOCAL_CFLAGS += -Wall LOCAL_LDFLAGS += -llog -lssl -lcrypto -lz -L$(ANDROID_ROOT)/openssl/libs/armeabi -L$(ANDROID_ROOT)/openssl/obj/local/armeabi include $(BUILD_SHARED_LIBRARY) On Mon, Sep 17, 2012 at 7:47 AM, farmdve data.bg farm

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
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, farmdve data.bg farm...@data.bg wrote: Trust me, I tried to load the shared libraries as well, but failed. Statically linking was the only way to ensure my

Re: curl with openssl prebuilt shared library for android

2012-09-16 Thread farmdve data.bg
think still the openssl is not included properly ..!! I dunno where I have gone wrong . Rgds Indu On Sat, Sep 15, 2012 at 1:04 AM, farmdve data.bg farm...@data.bg wrote: Try using LogCat by connecting an Android device via USB, or launching an emulator and opening a new Command

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 farmdve data.bg
get the proper http page requested ... ! Rgds Indu On Fri, Sep 14, 2012 at 1:54 PM, farmdve data.bg farm...@data.bg wrote: 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

Re: how to check the whether openssl which is built for has the all chiper suite required

2012-09-13 Thread farmdve data.bg
I see you resolved the missing libz library errors. Well, it get's tricky now. You must create an Android project, create a JNI library which will wrap around the real code, since Java cannot directly access native functions. And use the emulator to test the code. On Thu, Sep 13, 2012 at 7:43

Re: how to check the whether openssl which is built for has the all chiper suite required

2012-09-13 Thread farmdve data.bg
Assuming you installed the Android NDK, you must have a folder called samples somewhere with the native examples 'hello-jni'. Just look at how the code works, and simply create a wrapper to wrap around the OpenSSL functions. On Thu, Sep 13, 2012 at 7:54 PM, farmdve data.bg farm...@data.bg wrote

Re: Why is the OpenSSL documentation incomplete?

2012-09-12 Thread farmdve data.bg
...@openssl.org -- On Wed, 2012-09-12 at 00:28 +0300, farmdve data.bg wrote: I have seen a lot of applications that utilize the OpenSSL library, however I see that the majority of the documentation is incomplete. In particular, I need some documentation

Re: build openssl for android

2012-09-12 Thread farmdve data.bg
Do not use that one, it's old. Use this one https://github.com/aluvalassuman/OpenSSL1.0.1cForAndroid Just calling ndk-build should work. On Wed, Sep 12, 2012 at 8:34 PM, Jason Goldberg jgoldb...@oneid.com wrote: For Android, check out this project as an example:

Re: build openssl for android

2012-09-12 Thread farmdve data.bg
$(BUILD_SHARED_LIBRARY). Be sure to replace APILEVEL with the API level you target. And if you want static libraries, replace $(BUILD_SHARED_LIBRARY) where encountered to $(BUILD_STATIC_LIBRARY) On Thu, Sep 13, 2012 at 5:30 AM, farmdve data.bg farm...@data.bg wrote: Do not use that one, it's old. Use this one

Why is the OpenSSL documentation incomplete?

2012-09-11 Thread farmdve data.bg
I have seen a lot of applications that utilize the OpenSSL library, however I see that the majority of the documentation is incomplete. In particular, I need some documentation for the EC package in the 'crypto' sub-folder, I mean, it's not possible for application developers to generate Elliptic