title: Getting results of nearby places from User's Location using Google Maps API in Android
body: <p>This is the first time using google map API and google places API. I am doing a demo application that displays the list hospitals (for example) nearest to the user's location with routes to each of the hospitals. I been able to get the user's location with the code below the: </p>
  
  <pre><code>public class MainActivity extends ActionBarActivity {
      private GoogleMap map;
      UiSettings mapSettings;
  
      @Override
      protected void onCreate(Bundle savedInstanceState) {
          super.onCreate(savedInstanceState);
          setContentView(R.layout.activity_main);
  
          map = ((MapFragment) getFragmentManager().findFragmentById(R.id.map)).getMap();
  
          if (map != null) {
             // map.addMarker(new MarkerOptions().position(myLocation).title("Start"));
              map.setMyLocationEnabled(true);
              mapSettings = map.getUiSettings();
              mapSettings.setScrollGesturesEnabled(true);
              mapSettings.setZoomControlsEnabled(true);
          }
      }
  }
  </code></pre>
  
  <p>The xml file:</p>
  
  <pre><code>&lt;RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
      xmlns:tools="http://schemas.android.com/tools"
      android:layout_width="match_parent"
      android:layout_height="match_parent"
      android:paddingLeft="@dimen/activity_horizontal_margin"
      android:paddingRight="@dimen/activity_horizontal_margin"
      android:paddingTop="@dimen/activity_vertical_margin"
      android:paddingBottom="@dimen/activity_vertical_margin" tools:context=".MainActivity"&gt;
  
      &lt;fragment
          android:id="@+id/map"
          android:layout_width="match_parent"
          android:layout_height="match_parent"
          class="com.google.android.gms.maps.MapFragment" /&gt;
  
  
  &lt;/RelativeLayout&gt;
  </code></pre>
  
  <p>My question how do I get the list of hospitals using google places API and display them. Any help,tips,walkthrough or tutorials will really be appericaited.Thanks in Advance.</p>