@Override
 protected void onCreate(final Bundle savedInstanceState) {
   super.onCreate(savedInstanceState);
   setContentView(R.layout.layout_fragment_holder);
   event = LastFmObjectHolder.getCurrentEvent();
   setActivityTitle();
   showAd();
   doTheFragments();
 }
  @Override
  protected void onCreate(final Bundle arg0) {
    super.onCreate(arg0);
    setContentView(R.layout.layout_artist_detail);
    artistName = getIntent().getExtras().getString("artist");
    new AsyncTask<Void, Void, Void>() {

      @Override
      protected Void doInBackground(final Void... params) {
        LastFmObjectHolder.setCurrentArtist(Artist.getInfo(artistName));
        return null;
      }

      @Override
      protected void onPostExecute(final Void result) {
        addRightAction(
            R.drawable.grooveshark,
            new OnClickListener() {

              public void onClick(final View v) {

                GroovesharkMethods.goToHTML5Grooveshark(ArtistDetailActivity.this, artistName);
              }
            });
        showAd();
        setActivityTitle();

        new AsyncTask<Void, Void, Void>() {

          @Override
          protected Void doInBackground(final Void... arg0) {
            try {
              getPackageManager().getApplicationInfo("com.spotify.mobile.android.ui", 0);
              href = SpotifyMethods.getArtistHref(LastFmObjectHolder.getCurrentArtist());
            } catch (final Exception ex) {
              // -- application doesn't exist
            }
            return null;
          }

          @Override
          protected void onPostExecute(final Void result) {
            if (href != null) {
              addRightAction(
                  R.drawable.spotify_icon,
                  new OnClickListener() {

                    public void onClick(final View arg0) {
                      final Intent intent = new Intent(Intent.ACTION_VIEW, Uri.parse(href));
                      startActivity(intent);
                    }
                  });
            }
          };
        }.execute();
        findViewById(R.id.buttonAlbums)
            .setOnClickListener(
                new OnClickListener() {

                  public void onClick(final View v) {
                    startActivity(new Intent(ArtistDetailActivity.this, AlbumListActivity.class));
                  }
                });

        // R.id.buttonGallery
        // R.id.buttonInfo
        // R.id.buttonSetlists
        // R.id.buttonSimilar
        // R.id.buttonUpcomingEvents

      };
    }.execute();
  }