@Override
  protected void onActivityResult(int requestCode, int resultCode, Intent data) {
    if (requestCode == 1234 && resultCode == RESULT_OK) {
      new SearchTask().execute((Void) null);
    }

    super.onActivityResult(requestCode, resultCode, data);
  }
  @Override
  public void onCreate(Bundle state) {
    super.onCreate(state);
    setContentView(R.layout.search);

    mImageCache = new ImageCache();

    final ActionBar actionBar = getSupportActionBar();
    if (actionBar != null) {
      actionBar.setDisplayShowTitleEnabled(true);
    }

    mQuery = getIntent().getStringExtra(SearchManager.QUERY);
    if (mQuery != null) {
      new SearchTask().execute((Void) null);

      setTitle(mQuery);
    }
  }