Utils.java

 

package com.luofei.cp;

import android.net.Uri;

public class Utils {
 
 public static final String DBNAME = "mydb";
    public static final String TNAME = "mytable";
    public static final int VERSION = 3;
    
    public static String TID = "tid";
    public static final String EMAIL = "email";
    public static final String USERNAME = "username";
    public static final String DATE = "date";
    public static final String SEX = "sex";
    
    
    public static final String AUTOHORITY = "com.luofei.cp";
    public static final int ITEM = 1;
    public static final int ITEM_ID = 2;
    
    public static final String CONTENT_TYPE = "vnd.android.cursor.dir/vnd.luofei.cp";
    public static final String CONTENT_ITEM_TYPE = "vnd.android.cursor.item/vnd.luofei.cp";
    
    public static final Uri CONTENT_URI = Uri.parse("content://" + AUTOHORITY + "/mydb");

}

你可能感兴趣的:(string,email,date,class)