Android training project: based on memory card music player V02 (training log)

The first stage of the training project: based on the storage card music player V02
1. This section adds functions based on the storage card music player V0.1:
1. Add a progress bar to dynamically display the progress of music playback.
2. Add a label to display the current position of the music playing (format-mm:ss).
3. Add a label to display the playing time of the music (format-mm:ss).
2. The knowledge points involved at this stage are:
1. Linear Layout
2. Labels (TextView)
3. Buttons
4. Media Players (MediaPlayer)
5. Reading files in the specified directory of the memory card
6 , Control background selector
7. Progress bar (ProgressBar)
8. Thread (Thread)
9. Message processor (Handler)
3. Implementation steps: (partial screenshots)

Insert picture description here
Insert picture description here
Insert picture description here
Insert picture description here
Insert picture description here
Insert picture description here

Guess you like

Origin blog.csdn.net/triet/article/details/112295919