Android Open Source - Avatar Photo Info






From Project

Back to project page Avatar.

License

The source code is released under:

GNU General Public License

If you think the Android project Avatar 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.syw.avatar;
/*  w  w w  . j  a  va  2s. c  o  m*/
import java.io.Serializable;


public class PhotoInfo implements Serializable{
    private String FileName;
    private String FilePath;

    public PhotoInfo() {
    }

    public PhotoInfo(String fileName, String filePath, int imageId, String pathFile, String pathAbsolute) {
        super();
        FileName = fileName;
        FilePath = filePath;
        ImageId = imageId;
        PathFile = pathFile;
        PathAbsolute = pathAbsolute;
    }

    public String getFileName() {
        return FileName;
    }

    public void setFileName(String fileName) {
        FileName = fileName;
    }

    public String getFilePath() {
        return FilePath;
    }

    public void setFilePath(String filePath) {
        FilePath = filePath;
    }

    // original PhotoInfo class declaration;
    /**
     * 
     * ??????bean<br>
     *  {@link #ImageId}??id<br>
     *  {@link #PathAbsolute} ?????: /sdcard/xxx/xxx.jpg<br>
     *  {@link #file_path} ??????? file://#PathAbsolute<br>
     */
    private int ImageId;
    private String PathFile;
    private String PathAbsolute;
    public int getImageId() {
        return ImageId;
    }
    public void setImageId(int image_id) {
        this.ImageId = image_id;
    }
    public String getPathFile() {
        return PathFile;
    }
    public void setPathFile(String path_file) {
        this.PathFile = path_file;
    }
    public String getPathAbsolute() {
        return PathAbsolute;
    }
    public void setPathAbsolute(String path_absolute) {
        this.PathAbsolute = path_absolute;
    }
}




Java Source Code List

com.syw.avatar.AlbumAdapter.java
com.syw.avatar.AlbumFragment.java
com.syw.avatar.AlbumInfo.java
com.syw.avatar.AlbumSerializable.java
com.syw.avatar.AvatarApplication.java
com.syw.avatar.Constants.java
com.syw.avatar.CropperActivity.java
com.syw.avatar.LocalPhotoActivity.java
com.syw.avatar.MainActivity.java
com.syw.avatar.PhotoInfo.java
com.syw.avatar.PhotoPickerAdapter.java
com.syw.avatar.PhotoPickerFragment.java
com.syw.avatar.PhotoSerializable.java
com.syw.avatar.util.FileSizeUtil.java
com.syw.avatar.util.ImageUtil.java
com.syw.avatar.util.SLog.java
com.syw.avatar.util.ThumbnailsUtil.java
com.syw.avatar.widget.ClipImageView.java
com.syw.avatar.widget.ClipView.java