Back to project page TodoList.
The source code is released under:
Apache License
If you think the Android project TodoList listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package lyc.app; /*from ww w .jav a2 s. c o m*/ import android.net.Uri; import android.provider.BaseColumns; /** * Created by ivan on 14-10-15. */ public final class App { public static final String AUTHORITY = "lyc.app.provider.Todo"; private App() { } public static final class Todo implements BaseColumns { private Todo() { } private static final String SCHEME = "content://"; public static final Uri CONTENT_URI = Uri.parse(SCHEME + AUTHORITY + "/todos"); public static final Uri CONTENT_ID_URI_BASE = Uri.parse(SCHEME + AUTHORITY + "/todos/"); public static final String CONTENT_TYPE = "vnd.android.cursor.dir/vnd.lyc.app.todo"; public static final String CONTENT_ITEM_TYPE = "vnd.android.cursor.item/vnd.lyc.app.todo"; public static final String TABLE_NAME = "todo"; public static final String COLUMN_TITLE = "title"; public static final String COLUMN_DESCRIPTION = "description"; public static final String COLUMN_STATUS = "status"; public static final String COLUMN_PLAN_FINISHED_DATE = "plan_finished_date"; public static final String COLUMN_CREATE_DATE = "create_date"; public static final String COLUMN_ACTUAL_FINISHED_DATE = "actual_finished_date"; public static final String DEFAULT_SORT_ORDER = COLUMN_CREATE_DATE + " DESC"; public static final String ACTUAL_FINISHED_DATE_SORT_ORDER = COLUMN_ACTUAL_FINISHED_DATE + " DESC"; public static final int STATUS_UNFINISHED = 1; public static final int STATUS_FINISHED = 2; } }