title: "No such column found" with multiple Loader in LoaderManager and MediaStore
body: <p>From the title of a music, a try toget the corresponding Artist, ALbum's name and Album's Cover. I use <code>LoaderManager</code> and <code>CursorLoader</code>. When the Activity is created I lunch the loader with <code>getLoaderManager().initLoader(1, null, this)</code>. Here is the code of my loader:</p>
  
  <p><strong>On Create Loader</strong></p>
  
  <pre><code>static final String[] PLAYER_SUMMARY_PROJECTION = { MediaStore.Audio.Media._ID, MediaStore.Audio.Media.TITLE, MediaStore.Audio.Media.ARTIST, MediaStore.Audio.Media.ALBUM};
      static final String[] PLAYER_COVER_SUMMARY_PROJECTION = { MediaStore.Audio.Albums.ALBUM_ID, MediaStore.Audio.Albums.ALBUM_ART, MediaStore.Audio.Albums.ALBUM};
  
      public Loader&lt;Cursor&gt; onCreateLoader(int id, Bundle arg1) {
          CursorLoader loader;    
  
      if(id==1){
  
          String where = android.provider.MediaStore.Audio.Media.TITLE
                    + "=?";
          String whereVal[] = {dataalbumsTrackRequested};
          loader = new CursorLoader(getActivity(), MediaStore.Audio.Media.EXTERNAL_CONTENT_URI,  
          PLAYER_SUMMARY_PROJECTION, where, whereVal,null); }
  
      else{
  
           String where2 = android.provider.MediaStore.Audio.Media.ALBUM
            + "=?";
           String whereVal2[] = {album};
           loader = new CursorLoader(getActivity(), MediaStore.Audio.Albums.EXTERNAL_CONTENT_URI,  
           PLAYER_COVER_SUMMARY_PROJECTION, where2, whereVal2,null);  }
  
      return loader;
  
      }
  </code></pre>
  
  <p><strong>On Load Finish</strong></p>
  
  <pre><code>public void onLoadFinished(Loader&lt;Cursor&gt; loader, Cursor cursor) {
  
       if(loader.getId()==1){
  
       //Fill the text view with their value
  
       //Set Title
       String title =cursor.getString(cursor.getColumnIndex(MediaStore.Audio.Media.TITLE));
       TextView titleView = (TextView)getView().findViewById(R.id.musicTitle);
       titleView.setText(title);
  
       //Set Artist
       String artist =cursor.getString(cursor.getColumnIndex(MediaStore.Audio.Media.ARTIST));
       TextView artistView = (TextView)getView().findViewById(R.id.artistName);
       if (artist.equals("&lt;unknown&gt;")){artistView.setText(R.string.unknown_album);}
       else { artistView.setText(artist);}
  
       //Set Album
       album =cursor.getString(cursor.getColumnIndex(MediaStore.Audio.Media.ALBUM));
       TextView albumView = (TextView)getView().findViewById(R.id.albumTitle);
       if (album.equals("&lt;unknown&gt;")){albumView.setText(R.string.unknown_album);}
       else { albumView.setText(album);}
  
               }
  
      else {   
  
  
       ImageView coverView = (ImageView)getView().findViewById(R.id.playerCoverView);
  
       if (cursor.getString(cursor.getColumnIndex(MediaStore.Audio.Albums.ALBUM_ART)).equals(null)){
              //if no cover returned, display the by default (empty) cover
              coverView.setImageResource(R.drawable.listcoverthumbnail);}
  
       else{
              Bitmap coverImage = BitmapFactory.decodeFile(cursor.getString(cursor.getColumnIndex(MediaStore.Audio.Albums.ALBUM_ART)));
                      coverView.setImageBitmap(coverImage);}
  
        getLoaderManager().initLoader(2, null, this);
    }
  </code></pre>
  
  <p>The variable <code>album</code> is defined for the whole class and <code>dataalbumsTrackRequested</code> is a String equal to the title of the album desired.</p>
  
  <p>The app crashes and I get :</p>
  
  <pre><code>06-19 16:21:42.720: E/AndroidRuntime(6516): Caused by: android.database.sqlite.SQLiteException: no such column: album_art: , while compiling: SELECT album_id, album_art, album FROM audio WHERE (album=?)
  </code></pre>
  
  <p>If I remove the second Loader (with Id=2), then of course the cover is not display, but the app doesn't crash. So the problem comes from the second Loader.</p>
  
  <p>What am I doing wrong ? I'm sure the colomn <code>album_art</code> exist as I've already achieved to get the cover like this in one of my other app. But here, I can't find where the bug comes from. Is it because I use multiple Loaders ?</p>