Android Open Source - MediaTechPlayer Album






From Project

Back to project page MediaTechPlayer.

License

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.

Java Source Code

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;
  }
}




Java Source Code List

hu.bme.mediatech.player.Album.java
hu.bme.mediatech.player.AudioList.java
hu.bme.mediatech.player.AudioTrack.java
hu.bme.mediatech.player.FullScreenVideo.java
hu.bme.mediatech.player.MainActivity.java
hu.bme.mediatech.player.PlayerService.java
hu.bme.mediatech.player.VideoList.java
hu.bme.mediatech.player.Video.java