About sending structured data between C/C++ and JAVA Code

by mak » Fri, 24 Jul 2009 13:44:53 GMT

Sponsored Links
 Hi All,

I have requirement as below:
1. I have application which creates server, executing it  and
listening on some port on Andorid.  This app is ANDROID Java Service.

2. Client to this Server is written using C/C++ Code. I am able to
communicate with server data as strings, int separately, But I need to
send Structured data packet to Server.

Questions :
1. How Can I send structured data structure between Java and C/C++
Code   ?
2. I am afraid that I can't use JNI Interfaces as both should be
talking to each other on Socket is mandatory for me. So JNI is not
feasible for me. Any other possible way.
3. How about using Serialization on Androdi ? Any inputs on it

Appreciate your input on it.

_-_Mayank Rana_-_


Other Threads

1. HTML parsing with JAVA

Hi All,

I have to parse a html file using java. I have gone through a lot of
html parsers, but seem to understand none of them. So please help me
out with the type of parser that should be used for an android app and
how to parse a  html file.


2. Customizing in Coming /Out going call screen

hi guys,

i'm having a HTC Tatto which runs on 1.6 platform. i'm trying to build
an application which will customize incoming/out going call screen. i
want to display a full image (animated one or sort of) rather than the
default picture or the picture of the contact person.

and is it possible to hide the call details (like calling number,
contact name) from the screen.
i'hv heard that this is not possible in 1.0 platform. and have seen so
many threads regarding this topic but no one is giving a proper answer
on this.

NOTE :- i'm not developing this for a rooted phone. heard that this
can be done in rooted devices.



3. Dialer Question

4. Beasiswa S2 di bidang ICT4D dari University of Manchester, UK

5. how to make customized UI component

6. How to add my own Audio codec to AudioRecord?

7. Adding links to an email message