[Libwebsockets] Regarding Android based Websockets Server Library
mishra_akhileshwar at yahoo.com
Tue Mar 5 18:33:29 CET 2013
Thanks a lot Mr Gregory for sharing the details.
Actually i'm new to Android platform so i request you to share some more details about the following if possible,
1. Source path for all the Websocket library files into Android-ndk folder structure.
2. Apart form building *.c and *.h files do we have some other dependencies for Android ndk-build?
Thanks a lot in advance!
From: Gregory Junker <ggjunker at gmail.com>
To: Andy Green (林安廸) <andy at warmcat.com>
Cc: Akhileshwar Mishra <mishra_akhileshwar at yahoo.com>; libwebsockets <Libwebsockets at ml.libwebsockets.org>
Sent: Tuesday, 5 March 2013 10:50 AM
Subject: Re: [Libwebsockets] Regarding Android based Websockets Server Library
(resending to whole list)
I had no problems. Simply make an Android.mk that references all of the source files in lib/. For example, mine looks like this:
LOCAL_PATH:= $(call my-dir)
LOCAL_MODULE := libwebsockets
LOCAL_CFLAGS := -DLWS_BUILTIN_GETIFADDRS
LOCAL_SRC_FILES := \
On Mon, Mar 4, 2013 at 4:35 PM, "Andy Green (林安廸)" <andy at warmcat.com> wrote:
On 05/03/13 00:22, the mail apparently from Akhileshwar Mishra included:
>Dear Mr. Andy,
>>I'm Akhilesh from Bangalore, India.
>>I'd a requirement to implement Websocket for our Android based hardware.
>>While browsing through several info on Websocket(available on internet)
>>i found that you've provided a Websocket library freely over the internet.
>>But if i am correct your Library is Linux based, i wanted to port the
>>Library in Android NDK i.e. library must be written in C language itself
>> but can be integrated to Android through NDK.
>>Request you to provide some details for this if available. It will be
>>great for help for me.
>AFAIK two or three people have made an NDK build of libwebsockets, but they have not shared any changes needed for build.
>So I assume that it's fairly straightforward to build against Bionic, or at least was.
>Your best bet is to give it a try, it has been built for ARM and MIPS successfully both cross and native build on glibc and uclibc.
>If you find anything we should do to make it work better, please send patches ^^
>Libwebsockets mailing list
>Libwebsockets at ml.libwebsockets.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Libwebsockets