@Override protected Drawable doInBackground(String... params) {
      try {
        return BitmapDrawable.createFromStream(new URL(params[0]).openStream(), "bitmap.jpg");
      } catch (Exception e) {
        Log.e("LocationMapFragment", "Unable to download image.", e);
        return null;
      }
    }
Display a map centered on the last known location.
otto-sample/src/main/java/com/squareup/otto/sample/LocationMapFragment.java