Results 138 comments of yangchaojiang

Hello. Currently, there is no single audio encapsulation. Later versions will take into account the audio package.

Oh I see, the duration is 4.35, not 04.35. Is my understanding right?

The duration of the MP3 list can be obtained by interface and formatted by itself, if item is playing. ``` .addUpdateProgressListener(new AnimUtils.UpdateProgressListener() { @Override public void updateProgress(long position, long bufferedPosition,...

Hello, recommend using [content-provider](https://developer.android.com/guide/topics/providers/content-provider-basics) to query your MP3 file information. [doc](https://developer.android.com/guide/topics/providers/content-provider-basics) ``` Cursor cursor = query(MediaStore.Audio.Media.EXTERNAL_CONTENT_URI, null, null, null, MediaStore.Audio.Media.DEFAULT_SORT_ORDER); ``` ```` 歌曲ID:MediaStore.Audio.Media._ID Int id = cursor.getInt(cursor.getColumnIndexOrThrow(MediaStore.Audio.Media._ID)); 歌曲的名称:MediaStore.Audio.Media.TITLE String tilte...

content-provider get content-provider Automatic reading of native database

Yes, exoplayer acquisition is just the duration of the current MP3 player. In my development experience, the duration of audio and video is provided by the duration interface or by...