android mp3 tag info

android mp3 tag info

http://code.google.com/p/mp4parser/
http://www.jthink.net/jaudiotagger/

String[] mCursorCols = new String[] { AudioColumns.ARTIST, MediaColumns.TITLE, AudioColumns.ALBUM,
    AudioColumns.ALBUM_ID, MediaColumns.DATA };


  cur = getContentResolver().query( MediaStore.Audio.Media.EXTERNAL_CONTENT_URI, mCursorCols, null,  null, null);


  titleColumn = cur.getColumnIndex(MediaColumns.TITLE); 타이틀명 가져오기
  artistColumn = cur.getColumnIndex(AudioColumns.ARTIST); 가수명 가져오기
  albumColumn = cur.getColumnIndex(AudioColumns.ALBUM); 앨범명 가져오기
  albumIdColumn = cur.getColumnIndex(AudioColumns.ALBUM_ID); 앨범 ID 가져오기
  albumFileNames = cur.getColumnIndex(MediaColumns.DATA); mp3 파일이름 가져오기
  title[cnt] = cur.getString(titleColumn);  title 에 값을 넣기


private SimpleDateFormat formatter = new SimpleDateFormat(“H:mm:ss”);
formatter.format(player.getDuration());

http://developer.android.com/reference/android/media/audiofx/Equalizer.html

Leave a Reply

Your email address will not be published. Required fields are marked *