Android Open Source - UniversalImagePick Image






From Project

Back to project page UniversalImagePick.

License

The source code is released under:

Apache License

If you think the Android project UniversalImagePick 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.luffyjet.universalimagepick.model;
//from  w ww .  jav  a 2 s  . com

/**
 * ???????? single image entity
 * 
 * @author Luffyjet
 * @version 1.0.0
 * @since 2014-9-15 {@link https://github.com/luffyjet}
 */
public class Image {
  /**
   * image id
   */
  public String id;
  /**
   * image name
   */
  public String name;
  /**
   * the source path of image in SDCard
   */
  public String path;
  /**
   * the thumbnail's path of this image
   */
  public String thumbnailPath;
  /**
   * The title of the content
   */
  public String title;
  /**
   * The size of the image
   */
  public String size;
  /**
   * The name of the bucket this image in
   */
  public String bucketName;
  /**
   * The id of the bucket this image in
   */
  public String bucketId;
  /**
   * Google Picasa id
   */
  public String picasaId;
  /**
   * last modified time (sine 1970)
   */
  public String dateModified;
  /**
   * add in time (sine 1970)
   */
  public String dateAdded;


  public Image() {
    super();
  }
  
  public Image(String id, String path) {
    super();
    this.id = id;
    this.path = path;
  }

  
  public Image(String id, String name, String path , String title, String size, String bucketName, String bucketId, String picasaId, String dateModified, String dateAdded) {
    super();
    this.id = id;
    this.name = name;
    this.path = path;
    this.title = title;
    this.size = size;
    this.bucketName = bucketName;
    this.bucketId = bucketId;
    this.picasaId = picasaId;
    this.dateModified = dateModified;
    this.dateAdded = dateAdded;
  }

  @Override
  public String toString() {
    return "Image [id=" + id + ", name=" + name + ", path=" + path + ", title=" + title + ", size=" + size + ", bucketName=" + bucketName + ", bucketId=" + bucketId + ", picasaId=" + picasaId + "]";
  }
  
}




Java Source Code List

com.luffyjet.universalimagepick.App.java
com.luffyjet.universalimagepick.Constants.java
com.luffyjet.universalimagepick.MainActivity.java
com.luffyjet.universalimagepick.Test.java
com.luffyjet.universalimagepick.adapter.BucketAdapter.java
com.luffyjet.universalimagepick.adapter.GalleryAdapter.java
com.luffyjet.universalimagepick.adapter.PickGridAdapter.java
com.luffyjet.universalimagepick.adapter.PreviewAdapter.java
com.luffyjet.universalimagepick.adapter.ResultAdapter.java
com.luffyjet.universalimagepick.model.ImageBucket.java
com.luffyjet.universalimagepick.model.Image.java
com.luffyjet.universalimagepick.model.ImagesHelper.java
com.luffyjet.universalimagepick.model.Thumbnail.java
com.luffyjet.universalimagepick.ui.BaseActivity.java
com.luffyjet.universalimagepick.ui.GalleryActivity.java
com.luffyjet.universalimagepick.ui.PickActivity.java
com.luffyjet.universalimagepick.utils.LogUtil.java
com.luffyjet.universalimagepick.widget.CropImageView.java
com.luffyjet.universalimagepick.widget.CustomGridView.java
com.luffyjet.universalimagepick.widget.MulitPointTouchListener.java
com.luffyjet.universalimagepick.widget.ViewfinderView.java