Android Open Source - HelloMusicPlayer App Constants






From Project

Back to project page HelloMusicPlayer.

License

The source code is released under:

Apache License

If you think the Android project HelloMusicPlayer listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

package com.examplemeng.utils;
/*w  w w. jav a2s  .c om*/
public interface AppConstants {
    public static final String LOG_TAG = "HelloMusic";
    public static final String MUSIC_PATH = "MyMusic";

    public static final String SONG_LIST = "SongsList";
    public static final String SONG_INFO = "SongInfo";
    public static final String SONG_ID = "SongID";

    public static final String MSG = "Message";

    public class PlayMsg {
        public static final int MSG_PLAY = 1;
        public static final int MSG_PAUSE = 2;
        public static final int MSG_STOP = 3;

        public static final int MSG_PRE = 4;
        public static final int MSG_NEXT = 5;

    }

}




Java Source Code List

com.example.hellomusic.HelloMusicActivity.java
com.example.hellomusic.PlayActivity.java
com.example.hellomusic.PlayService.java
com.examplemeng.music.SongInfo.java
com.examplemeng.utils.AppConstants.java
com.examplemeng.utils.FileUtils.java