Android Open Source - DailySelfie Selfie






From Project

Back to project page DailySelfie.

License

The source code is released under:

Apache License

If you think the Android project DailySelfie 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 it.lusio.android.dailyselfie.ui;
/*  w w w  . j  a v a  2 s  . c o  m*/
import android.net.Uri;

import java.text.SimpleDateFormat;
import java.util.Date;

public class Selfie {
    private final long mId;
    private final String mName;
    private final long mTime;
    private final Uri mImageUri;

    public Selfie(long time, Uri imageUri) {
        this.mId = time;
        this.mTime = time;
        this.mName = new SimpleDateFormat("MM/dd/yyyy HH:mm:ss").format(new Date(time));
        this.mImageUri = imageUri;
    }

    public String getName() {
        return mName;
    }

    public long getTime() {
        return mTime;
    }

    public Uri getImageUri() {
        return mImageUri;
    }

    public long getId() {
        return mId;
    }
}




Java Source Code List

it.lusio.android.dailyselfie.ApplicationDailySelfie.java
it.lusio.android.dailyselfie.ApplicationTest.java
it.lusio.android.dailyselfie.Constants.java
it.lusio.android.dailyselfie.alarm.AlarmReceiver.java
it.lusio.android.dailyselfie.alarm.AlarmSetter.java
it.lusio.android.dailyselfie.ui.ActivityImageViewer.java
it.lusio.android.dailyselfie.ui.ActivityMain.java
it.lusio.android.dailyselfie.ui.AdapterGridView.java
it.lusio.android.dailyselfie.ui.Selfie.java
it.lusio.android.dailyselfie.ui.SquareImageView.java