Android Open Source - SimpleDo Constants






From Project

Back to project page SimpleDo.

License

The source code is released under:

GNU General Public License

If you think the Android project SimpleDo 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 me.jamesfrost.simpledo;
/* ww w .ja va 2  s  .c o m*/
/**
 * Stores constants.
 *
 * Created by James Frost on 24/09/2014.
 */
public interface Constants {
    //Keys used to pass data between activities
    public static final String KEY_NEWTODOITEM = "newToDoItem";
    public static final String KEY_OLDTODOITEM = "oldToDoItem";
    public static final String KEY_REMINDER = "reminder";
    public static final String KEY_TODOLIST = "toDoList";
    public static final String KEY_GROUP = "group";
    public static final String KEY_PRIORITY = "priority";
    public static final String KEY_DATE = "date";
    public static final String KEY_NAME = "toDoItemName";
    public static final String KEY_CHECKBOXTOBODELETEDNAME = "checkBoxToBeDeletedName";
    public static final String SEPARATOR = "\u200B"; //Unicode invisible character
    //Warning messages
    public static final String TOAST_EMPTY_NAME_WARNING = "The task name is empty!";
    public static final String TOAST_DUPLICATE_ITEM_WARNING = "Task with that name already exists!";
    public static final String TOAST_INVISIBLE_CHAR_WARNING = "Cannot create a task with an invisible character!";
    public static final String TOAST_TASK_CREATED = "Task Created";
    public static final String TOAST_TASK_DELETED = "Task Deleted";
    //Activity results codes
    public static final int REQUEST_CODE_ADD_ITEM = 100;
    public static final int REQUEST_CODE_EDIT_ITEM = 200;
    public static final int REQUEST_CODE_QUICK_RESCHEDULE = 300;
    //Delete dialog text
    public static final String DELETE_CONFORMATION_MESSAGE = "It will be gone forever!";
    public  static final String POSITIVE_BUTTON_TEXT = "Confirm";
    public static final String NEGATIVE_BUTTON_TEXT = "Cancel";
}




Java Source Code List

me.jamesfrost.simpledo.AboutDialog.java
me.jamesfrost.simpledo.Constants.java
me.jamesfrost.simpledo.CreateItem.java
me.jamesfrost.simpledo.DataBaseOpenHelper.java
me.jamesfrost.simpledo.DateHelper.java
me.jamesfrost.simpledo.DeleteDialog.java
me.jamesfrost.simpledo.EditItem.java
me.jamesfrost.simpledo.ItemsDataSource.java
me.jamesfrost.simpledo.QuickReschedule.java
me.jamesfrost.simpledo.ReminderHelper.java
me.jamesfrost.simpledo.SettingsActivity.java
me.jamesfrost.simpledo.SimpleDo.java
me.jamesfrost.simpledo.SimpleEula.java
me.jamesfrost.simpledo.ToDoItemSorter.java
me.jamesfrost.simpledo.ToDoItem.java