I would like to exchange data between android client and server-servlet. I want to use the JSON for the exchange data format. But the data that should be exchanged contains image. So could I store byte image within JSON and send it to the server?? if yes, could anyone show me the example how to do it??
If I can not pack the image within the JSON, what is the best way to do this?? since My data contains alot of text and image so I need an efficient way to send the packet.
Thank you in advance