Skip to content

Instantly share code, notes, and snippets.

View anselmos's full-sized avatar

Bartosz Witkowski anselmos

View GitHub Profile
@anselmos
anselmos / TasksContract.java
Created May 18, 2017 10:08 — forked from Udinic/TasksContract.java
A contract class to work with Any.do's Content Provider. A full guide is available at http://tech.any.do/content-provider-for-any-do/
/**
* This class provides the URI and const values to work with Any.do's Content Provider.
*
* A guide is available on http://tech.any.do/content-provider-for-any-do/
*/
public class TasksContract {
public static final Uri TASKS_URI = Uri.parse("content://com.anydo.provider/tasks");
public static final Uri FOLDERS_URI = Uri.parse("content://com.anydo.provider/folders");
public static final String PERMISSION_READ = "com.anydo.provider.permission.READ_ANYDO_TASKS";