[wsf-c-dev] WSF/C runs on Android

Diluka Moratuwage diluka at wso2.com
Thu Mar 6 21:25:42 PST 2008


Hi all,
    I'm made a huge effort to get Axis2/C ported into Android, so that, 
all mobile users (Andorid - users) would benefit from using WSClient API 
to consume Web Services by using a Java API. But seems I'm bit stuck, 
and can't go much far. The very reason is that, the linker in the 
Android is incompatible with GLIBC libraries, and can't load them 
properly. And then I tried my best to build the GLIBC library set to 
suit Android platform. Even though I managed to build some libraries to 
suit for that, seems some libraries can't be built easily. And the 
interdependencies between the GLIBC libraries have made the research 
almost impossible. So I think the time we spend on this will be a waste. 
We can think of some other platforms, which may need Web Services.  
Rather than keep trying on this platform, which has made some deliberate 
changes into the kernel to make the tasks much harder and discourage the 
native development, we can easily port into some other platforms.

    But still we have a huge thing to be happy. We could build Axis2/C 
to suit ARM platforms running Linux, and could run their successfully. I 
think this is a big thing, since there are many platforms running 
ARM/Linux. And I figured out that it's possible to cut down the size of 
the libraries as well. This will be a very beneficial as well.

Thanks,
Diluka.

Diluka Moratuwage wrote:
> Ooooops I already sent it. But only for the android-internals list - 
> which talk about native development. I will put mails to the 
> app-development lists as soon as I finish JNI part.
>
> Thanks,
> Diluka.
>
> Samisa Abeysinghe wrote:
>> We also need to send this good news to the Android lists. I hope we 
>> can wait till JNI stuff works and then do that.
>>
>> Samisa...
>>
>> Samisa Abeysinghe wrote:
>>> This is great news! Well done!!
>>>
>>> Have you updated the Axis2/C build to include your changes?
>>>
>>> Samisa...
>>>
>>> Diluka Moratuwage wrote:
>>>> Hi Devs,
>>>>    I'm very pleased to announce that, I was able to successfully 
>>>> port WSF/C on to Android platform 
>>>> (http://code.google.com/android/). I could run all the basic 
>>>> samples that come with WSF/C in the Android platform. These results 
>>>> prove WSF/C will be a very good candidate for the Web Service stack 
>>>> in Android platform. I faced some difficulties due to 
>>>> unavailability of information about Android's C library, and header 
>>>> files (It has a custom built C library) and also the compilation of 
>>>> libraries on Android. Then I had to come up with GLIBC 
>>>> cross-compiled for ARM/Linux platform in order to make a proper 
>>>> build. I used Guththila as the parser for Android and made few 
>>>> minor changes to the build in order to get it correctly run there. 
>>>> Currently I'm trying to expose the WSF/C service client interface 
>>>> through a java API, which will use JNI in order to consume Web 
>>>> Services. Currently I'm working on the JNI interfacing to run a 
>>>> simple java client program, to invoke a Web Service inside Android 
>>>> platform.
>>>>
>>>> Thanks,
>>>> Diluka.
>>>>
>>>> _______________________________________________
>>>> Wsf-c-dev mailing list
>>>> Wsf-c-dev at wso2.org
>>>> http://wso2.org/cgi-bin/mailman/listinfo/wsf-c-dev
>>>>
>>>>
>>>
>>>
>>> _______________________________________________
>>> Wsf-c-dev mailing list
>>> Wsf-c-dev at wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/wsf-c-dev
>>>
>>>
>>
>>
>> _______________________________________________
>> Wsf-c-dev mailing list
>> Wsf-c-dev at wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/wsf-c-dev
>>
>
>
> _______________________________________________
> Wsf-c-dev mailing list
> Wsf-c-dev at wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/wsf-c-dev
>




More information about the Wsf-c-dev mailing list