A good start to be familiar with Android is through doing a MediaPlayer..
Media is hosted in the following web site
https://github.com/Kaka252/Media
If you think the Android project Media listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
The following table is the detailed list of Media.
Item | Value |
---|---|
Java File Count | 15 |
Supported screen sizes | [mdpi, xhdpi] |
Target SDK Version | 18 |
Minimum SDK Version | 11 |
Activity Count | 4 |
Fragment Count | 2 |
jar files used | GifView1.1.jar andbase.jar android-support-v4.jar stickylistheaders_lib.jar |
Required Permissions | android.permission.ACCESS_FINE_LOCATION android.permission.ACCESS_NETWORK_STATE android.permission.ACCESS_WIFI_STATE android.permission.CALL_PHONE android.permission.CAMERA android.permission.CHANGE_WIFI_STATE android.permission.FLASHLIGHT android.permission.GET_ACCOUNTS android.permission.GET_TASKS android.permission.INTERNET android.permission.MANAGE_ACCOUNTS android.permission.READ_PHONE_STATE android.permission.VIBRATE android.permission.WRITE_EXTERNAL_STORAGE |
There are 58 image files in Media. The names of the image files are listed as follows.
album_img.png back.png back_press.png edit.png goback.png grid_1.png grid_2.png grid_3.png grid_4.png grid_5.png grid_6.png hanabi01.png hanabi02.png hanabi03.png hanabi04.png hanabi05.png hanabi06.png hanabi07.png hanabi08.png hanabi09.png hanabi10.png hanabi11.png hanabi12.png hanabi13.png hanabi14.png hanabi15.png hanabi16.png hanabi17.png hanabi18.png hanabi19.png hanabi20.png hanabi21.png menu.png music_goback.png music_gonext.png music_img.png music_in_pause.png music_in_playing.png music_menu.png music_shuffle.png next.png next_music.png next_press.png pause.png pause_press.png play.png play_press.png repeat.png repeat_press.png set.png settings.png settings_press.png shuffle.png shuffle_press.png smoker.gif sound_volume.png user.png you_logo.png
The following screenshort is generated from the image listed above.
Media has the following Java source files.
com.youmusic.media.adapter.GridAdapter.java com.youmusic.media.adapter.MusicAdapter.java com.youmusic.media.avty.BaseAvty.java com.youmusic.media.avty.MainAvty.java com.youmusic.media.avty.PlayAvty.java com.youmusic.media.avty.SplashAvty.java com.youmusic.media.entity.Mp3.java com.youmusic.media.fragment.LocalMusicFragment.java com.youmusic.media.fragment.MyMusicFragment.java com.youmusic.media.service.MusicBroadcastReceiver.java com.youmusic.media.service.MusicService.java com.youmusic.media.util.App.java com.youmusic.media.util.Fmt.java com.youmusic.media.util.Mp3Utils.java com.youmusic.media.util.Widget.java