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. Avail. Nexus One

"barang sudah diantar. 3 Nexus One" kata Kurir.

Ingat malam 3 Jan kemarin. Nongkrongin www.google.com/phone.
AJ kerja keras.

10 hari kemudian sampe lewat jalur kotak ajaib CD. Setengah mati
rasanya ngedapetin.

Eh....hari ini Di rumah....jogrog tuh 3 biji sekarang.
Enaknya....calon pemilik tau beres. So sekarang mencari pemilik

Ada uang mau?

Email only please. danieltum...@gmail.com.

7,2jt. Santai.

Sent from my mobile device


Daniel Tumiwa

Sent from my Android phone.

"Indonesian Android Community [id-android]" 

2. loading files(images) from sdcard in webView

See http://code.google.com/p/android/issues/detail?id=2454



3. Resume download after app stop/start lifecycle

4. sound recording on android

5. Resume download after app stop/start lifecycle

6. Eclair on HTC Hero

7. How to blur a Canvas or Bitmap?