title: parsing JSON with GSON, but i can't
body: <p>I want to show JSON of URL, URL is (<a href="http://loyaltier.com/app/mobile/code/places/Maps.php" rel="nofollow noreferrer">http://loyaltier.com/app/mobile/code/places/Maps.php</a>), I use GSON and write this code, but when I run the program, the program doesn't show the log of <code>gsonFoo</code> method. What could the problem be? I read this link for use GSON ,<a href="https://stackoverflow.com/questions/7939632/gson">https://stackoverflow.com/questions/7939632/gson-jackson-in-android</a></p>
  
  <p>Thing.java</p>
  
  <pre><code>package org.example.loyaltier;
  
  public class Thing {
  String branchId=null;
  String branchCode=null;
  String branchName=null;
  String branchTel=null;
  String address=null;
  String cityName=null;
  String countryName=null;
  String latitude=null;
  String longitude=null;
  String workingHours=null;
    }
  </code></pre>
  
  <p>MyLocation.java</p>
  
  <pre><code> public class MyLocation extends MapActivity {
        public void onCreate(Bundle savedInstanceState) {
      super.onCreate(savedInstanceState);
      setContentView(R.layout.location);
                  try {
          Log.i("THISSSSSSSSS", "ISSSSSSSSS");
          Log.i("FFOOOORRRR", "YYOUUUUUUUUU");
          gsonFoo();
      } catch (Exception e1) {
          Log.i("catch", "catch");
          // TODO Auto-generated catch block
          e1.printStackTrace();
      }
       }
  public void gsonFoo() throws Exception
    {
      Gson gson = new Gson();
      Thing thing = gson.fromJson(new FileReader("http://loyaltier.com/app/mobile/code/places/Maps.php"), Thing.class);
      System.out.println(gson.toJson(thing));
      Log.i("GSOOOON", "FOOOO");
    }
  }   
  </code></pre>