public static void playArtist(final Context context,final long artistId,int position){
  final long[] artistList=getSongListForArtist(context,artistId);
  if (artistList != null) {
    playAll(artistList,position,false);
  }
}

public static void playArtist ( final Context context , final long artistId , int position ) { final long [ ] artistList = getSongListForArtist ( context , artistId ) ; if ( artistList != null ) { playAll ( artistList , position , false ) ; } }
plays songs by an artist .
