Android Open Source - HealthTube Video






From Project

Back to project page HealthTube.

License

The source code is released under:

GNU General Public License

If you think the Android project HealthTube 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.healthtube;
/*  w  w  w .  jav  a2 s.co  m*/
import java.io.Serializable;

public class Video implements Serializable {
  // The title of the video
  private String title;
  // A link to the video on youtube
  private String url;
  // A link to a image of the youtube video
  private String thumbUrl;

  /**
   * Constructor. Create a new Video object
   * @param title the video title
   * @param url the video url
   * @param thumbUrl the url thumbnail video
   */
  public Video(String title, String url, String thumbUrl) {
    super();
    this.title = title;
    this.url = url;
    this.thumbUrl = thumbUrl;
  }

  /**
   * Method to get the video title
   * @return a string representing the video title
   */
  public String getTitle() {
    return title;
  }

  /**
   * Method to get the video url
   * @return a string representing the video url
   */
  public String getUrl() {
    return url;
  }

  /**
   * Method to get the video thumbnail url
   * @return a string representing the video thumbnail
   */
  public String getThumbUrl() {
    return thumbUrl;
  }
}




Java Source Code List

com.healthtube.AdapterList.java
com.healthtube.GetYouTubeUserVideosTask.java
com.healthtube.ImageDownloader.java
com.healthtube.MainActivity.java
com.healthtube.StreamUtils.java
com.healthtube.Video.java