Back to project page MusicFreshener.
The source code is released under:
GNU General Public License
If you think the Android project MusicFreshener listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.rky.musicfreshener; //from w w w . j a v a2 s. com import android.provider.BaseColumns; /** * Describes the music DB */ public final class MusicContract { // To prevent someone from accidentally instantiating the contract class, // give it an empty constructor. public MusicContract() {} /* Inner class that defines the table contents */ public static abstract class MusicEntry implements BaseColumns { public static final String TABLE_NAME = "Music"; public static final String COLUMN_NAME_ID = "_id"; public static final String COLUMN_NAME_ARTIST = "artist"; public static final String COLUMN_NAME_ALBUM = "album"; public static final String COLUMN_NAME_GENRE = "genre"; public static final String COLUMN_NAME_RATING = "rating"; public static final String COLUMN_NAME_DATE = "date"; } }