title: Android Maps KML Handler
body: <p>Ok so at the moment I'm getting a null pointer exception when adding to the list of overlays. I've declared this at the top of the map activity class:</p>
  
  <pre><code>private static List&lt;Overlay&gt; mOverlays;
  </code></pre>
  
  <p>And then further down I've got this for my source/ from point:</p>
  
  <pre><code>Drawable fromDrawable = getResources().getDrawable(R.drawable.pin_blue);
  OverlayItem fromOverlayItem = new OverlayItem(fromGeoPoint, "Hello!", "This is your current Location.");
  MapWhatsNearOverlay fromItemizedOverlay = new MapWhatsNearOverlay(fromDrawable);
  mOverlays.add(fromItemizedOverlay);
  
  connectAsyncTask _connectAsyncTask = new connectAsyncTask();
  _connectAsyncTask.execute();
  mMapView.getOverlays().add((Overlay) mOverlays);
  </code></pre>
  
  <p>And the same for the destination as well, but the null pointer exception pops up when processing the bottom line of code.</p>