title: Getting data (Image) from Json
body: <p>I'm making a blog reader for Android and problem is I'm a new in programming. Trying to get data from Json. I did it for String data("title","author"), but I don't know how to do it for images ("thumbnail"). My question is: how to add "thumbnail" at the left part of the listView in front of "title" and "author".</p>
  
  <pre><code>  {
        "id": 109,
        "url": "http://integrallab.ru/index.php/categorii-so-statyami/2013-10-25-13-26-29/3-ideas",
        "title": "Article title",
        "date": "2015-03-17 09:21:43",
        "author": "Nikolai Boiko",
        "thumbnail": "http://integrallab.esy.es/pic/3_things.jpg"
      },
  </code></pre>
  
  <p>the code is:</p>
  
  <p>......</p>
  
  <pre><code>  private final String KEY_TITLE = "title";
      private final String KEY_AUTHOR = "author";
  </code></pre>
  
  <p>.....</p>
  
  <pre><code>private void handleBlogResponse() {
          mProgressBar.setVisibility(View.INVISIBLE);
          if (mBlogData == null) {
              updateDisplayForError();
  
      } else {
          try {
              JSONArray jsonPosts = mBlogData.getJSONArray("posts");
              ArrayList&lt;HashMap&lt;String, String&gt;&gt; blogPosts =
                      new ArrayList&lt;HashMap&lt;String, String&gt;&gt;();
              for (int i=0; i&lt;jsonPosts.length(); i++){
                  JSONObject post = jsonPosts.getJSONObject(i);
                  String title = post.getString(KEY_TITLE);
                  title = Html.fromHtml(title).toString();
                  String author = post.getString(KEY_AUTHOR);
                  author = Html.fromHtml(author).toString();
  
                  HashMap&lt;String, String&gt; blogPost = new HashMap&lt;String, String&gt;();
                  blogPost.put(KEY_TITLE, title);
                  blogPost.put(KEY_AUTHOR, author);
  
                  blogPosts.add(blogPost);
              }
  
            String[] keys = { KEY_TITLE, KEY_AUTHOR };
              int[] ids = { android.R.id.text1, android.R.id.text2 };
              SimpleAdapter adapter = new SimpleAdapter(this, blogPosts,
                      android.R.layout.simple_list_item_2, keys,ids);
              setListAdapter(adapter);
          } catch (JSONException e) {
              logException(e);
          }
      }
  </code></pre>
  
  <p>Thanks for your attention!</p>