package jp.inaka.mironal.android.tad.content.table;
import android.net.Uri;
import android.provider.BaseColumns;
public class TaskTable implements BaseColumns{
public static final String AUTHORITY = "jp.inaka.mironal.andoid.tad.content.provider.taskprovider";
public static final String PATH = "task";
public static final Uri CONTENT_URI =
Uri.parse("content://" + AUTHORITY + "/" + PATH );
// _ID -> task primary key
public static final String NAME = "task_name";
public static final String CATEGORY = "task_category";
}
/*
* |------------------------------------ |
* | _id, task_name, task_category |
* |-------------------------------------|
* | 1 , hoge , 1 |
* | 2 , hogehoge , 1 |
* | 3 , fuga, , 3 |
* | ------------------------------------|
*/
|