Back to project page PlayTunes.
The source code is released under:
Copyright (c) 2014, Impeccable Labs, LLC. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions ar...
If you think the Android project PlayTunes listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.ideabag.playtunes.adapter; /*ww w . j av a 2s .c om*/ import com.ideabag.playtunes.R; import com.ideabag.playtunes.database.MediaQuery; import android.content.Context; import android.provider.MediaStore; public class AlbumsAllAdapter extends AlbumListAdapter { private static final String[] allAlbumsSelection = new String[] { MediaStore.Audio.Albums.ALBUM, MediaStore.Audio.Albums.ARTIST, MediaStore.Audio.Albums.NUMBER_OF_SONGS, MediaStore.Audio.Albums.ALBUM_ART, MediaStore.Audio.Albums._ID, }; public AlbumsAllAdapter( Context context, MediaQuery.OnQueryCompletedListener listener ) { super( context ); mQuery = new MediaQuery(MediaStore.Audio.Albums.EXTERNAL_CONTENT_URI, allAlbumsSelection, MediaStore.Audio.Media.ALBUM + "!=?", new String[] { mContext.getString( R.string.no_album_string ) }, MediaStore.Audio.Albums.DEFAULT_SORT_ORDER ); setOnQueryCompletedListener( listener ); requery(); } }