title: How to print for loop values in textview from JSON array
body: <p>In my code I'm getting an array using a for loop.  The array contains four values.  How do I print the values in a textview?  I want to print these four values in four textviews.</p>
  
  <p>My Code:</p>
  
  <pre><code>HttpClient client2 = new DefaultHttpClient();
  HttpConnectionParams.setConnectionTimeout(client2.getParams(), 15000);
  HttpConnectionParams.setSoTimeout(client2.getParams(), 15000);
  HttpUriRequest request2 = new HttpGet(SelectMenuAPI2);
  HttpResponse response2 = client2.execute(request2);
  InputStream atomInputStream2 = response2.getEntity().getContent();
  BufferedReader in2 = new BufferedReader(new InputStreamReader(atomInputStream2));
  String line2;
  String str2 = "";
  while ((line2 = in2.readLine()) != null) {
      str2 += line2;
  }
  
  JSONObject json3 = new JSONObject(str2);
  //  message = json2.getString("message");
  status = json3.getString("status");
  if (status.equals("1")) {
      JSONArray school2 = json3.getJSONArray("data");
      for (int i = 0; i &lt; school2.length(); i++) {
          JSONObject object3 = school2.getJSONObject(i);
          Elementarytxt.settext("");
          Middle.setText("");
          High.setText("");
          Atypical.setText("");
      }
  }
  </code></pre>
  
  <p>My JSON Data:</p>
  
  <pre><code>{
   "status":1,
   "data":[
           {"title":"Elementary"}, 
           {"title":"Middle"},
           {"title":"High"},
           {"title":"Atypical"}
          ]
  }
  </code></pre>