Jump to content
Android Forum - A Community For Android Users and Enthusiasts

Android - Servlet via JSON


Recommended Posts

Dear All,


I am quite new in android and currently working for android app development. Here I should exchange data between client and server. My first choice is to use JSON as data exchange format. But the data that I should transfer between client and server contains image. So can I still use JSON as a container?? If yes, how can I save the image data within JSON format and how can I retrieve it on the other side??


If I can not pack the image within JSON, so what is the best way to send this image?? since I also need to send the other corresponding data (i.e. text(String) ). It means when user send a request from Android client to servlet-server, the server will response with the information containing couple of texts and images.



thank you...

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...