TaskTable.java :  » Log » android-task-logger--touch-and-do » jp » inaka » mironal » android » tad » content » table » Android Open Source

Android Open Source » Log » android task logger touch and do 
android task logger touch and do » jp » inaka » mironal » android » tad » content » table » TaskTable.java
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                |
 *  | ------------------------------------|
 */
java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.