title: How can I pass images in a server's response using JSON? Base64?
body: <p>In my android app, I show some users in a ListView. I want to display (user's pic, first_name, last_name). Right now, it works only with first_name and last_name. I want to add the picture. The data JSON I receive from my server (python) is like this:</p>
  
  <pre><code>[{"profil":"first_name": "Jim", "last_name": "Carrey"}}, "_id": {"$oid": "4d595cda1d41c81536000000"}}, {"profil":{"first_name": "Mathieu", "last_name": "Polnari"}}, "_id": {"$oid": "4d5916581d41c80e88000000"}}, {"profil": {"first_name": "Vincent", "last_name": "Fatou"}}, "_id": {"$oid": "4d58fc7e1d41c8090e000000"}}...] 
  </code></pre>
  
  <p>It should be better if I add one parameter in that JSON for the picture.</p>
  
  <p>Do you think it is a good idea to return the picture as a string in the JSON et use Base64 to decode it?      </p>