Android Open Source - NPlayer Media File






From Project

Back to project page NPlayer.

License

The source code is released under:

Apache License

If you think the Android project NPlayer 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.qinxiandiqi.bean;
// w  w  w  .j  a  v  a2  s. co m
public class MediaFile {
  
  private String mediaName;
  private String mediaPath;
  private int mediaLength;
  private int lastTime;
  
  
  public MediaFile() {
    super();
    this.mediaLength = 0;
    this.lastTime = 0;
    this.mediaName = "";
    this.mediaPath = "";
  }

  public MediaFile(String mediaName, String mediaPath) {
    super();
    this.mediaName = mediaName;
    this.mediaPath = mediaPath;
    this.mediaLength = 0;
    this.lastTime = 0;
  }

  public MediaFile(String mediaName, String mediaPath, int mediaLength) {
    super();
    this.mediaName = mediaName;
    this.mediaPath = mediaPath;
    this.mediaLength = mediaLength;
    this.lastTime = 0;
  }
  
  public MediaFile(String mediaName, String mediaPath, int mediaLength,
      int lastTime) {
    super();
    this.mediaName = mediaName;
    this.mediaPath = mediaPath;
    this.mediaLength = mediaLength;
    this.lastTime = lastTime;
  }

  public String getMediaName() {
    return mediaName;
  }
  public void setMediaName(String mediaName) {
    this.mediaName = mediaName;
  }
  public String getMediaPath() {
    return mediaPath;
  }
  public void setMediaPath(String mediaPath) {
    this.mediaPath = mediaPath;
  }
  public int getMediaLength() {
    return mediaLength;
  }
  public void setMediaLength(int mediaLength) {
    this.mediaLength = mediaLength;
  }

  public int getLastTime() {
    return lastTime;
  }
  public void setLastTime(int lastTime) {
    this.lastTime = lastTime;
  }

  
}




Java Source Code List

com.qinxiandiqi.adapter.MusicAdapter.java
com.qinxiandiqi.adapter.VideoAdapter.java
com.qinxiandiqi.bean.MediaFile.java
com.qinxiandiqi.bean.MusicFile.java
com.qinxiandiqi.bean.VideoFile.java
com.qinxiandiqi.nplayer.MainActivity.java
com.qinxiandiqi.nplayer.MusicActivity.java
com.qinxiandiqi.nplayer.SearchActivity.java
com.qinxiandiqi.nplayer.VideoActivity.java
com.qinxiandiqi.service.MusicService.java
com.qinxiandiqi.utils.AdapterUtils.java
com.qinxiandiqi.utils.CodeUtils.java
com.qinxiandiqi.utils.FileUtils.java
com.qinxiandiqi.utils.MediaUtils.java
com.qinxiandiqi.utils.PlayingUtils.java
com.qinxiandiqi.utils.PreferenceUtils.java
com.qinxiandiqi.utils.XMLUtils.java