User talk:JaneKumar/sandbox

In java we can implement Basecolumn class to store our database names and columns. Code potion is given below.

public final class Profiles {

private Profiles {   }

public static class ProfileData implements BaseColumns {

public final static String TABLE_NAME = "userInfo"; public final static String COLUMN_USERNAME = "userName"; public final static String COLUMN_PASSWORD = "password"; public final static String COLUMN_GENDER = "gender"; } }