Back to project page MediaTechPlayer.
The source code is released under:
MIT License
If you think the Android project MediaTechPlayer 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 hu.bme.mediatech.player; // w w w .j a v a2s. co m import android.net.Uri; import android.os.Bundle; import android.provider.MediaStore; public class Album { public final long albumID; public String title; public String albumArtUri; public Album(long albumID) { this.albumID = albumID; } public Album(Bundle b) { albumID = b.getLong("albumID"); title = b.getString("title"); albumArtUri = b.getString("albumArtUri"); } public Uri getURI() { return Uri.parse(albumArtUri); } public Bundle toBundle() { Bundle b = new Bundle(); b.putLong("albumID", albumID); b.putString("title", title); b.putString("albumArtUri", albumArtUri); return b; } @Override public String toString() { return title; } }