title: Get data from url in android
body: <p>I want to get data from url. in this case I've got complete php that data convert to json already and run in localhost (http://localhost/adchara1/index.php/?year=1) </p>
  
  <p>This is the php script </p>
  
  <pre><code>&lt;?php
   mysql_connect("localhost","root","");
   mysql_select_db("test");
   $q=mysql_query("SELECT * FROM people
   WHERE
   birthyear&gt;'".$_REQUEST['year']."'");
   while($e=mysql_fetch_assoc($q))
           $output[]=$e;
     print(json_encode($output));
     mysql_close(); ?&gt;
  </code></pre>
  
  <p>and this is result</p>
  
  <pre><code>[{"id":"1","name":"kongkea","sex":"1","birthyear":"1990"}, {"id":"2","name":"thida","sex":"0","birthyear":"2000"}]?&gt;
  </code></pre>
  
  <p>I want to use button click and show this result in textview</p>