Back to project page Schowek.
The source code is released under:
MIT License
If you think the Android project Schowek listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package org.kkrolczyk.schowek; /*from w ww.java2 s . c o m*/ import android.util.Pair; import java.util.ArrayList; import java.util.List; /** * Created by kkrolczyk on 15.01.15. */ public class NoteConfig extends AbstractConfig { public static final String DBASE_NAME = "notki.db"; public static final String TABLE_NAME = "notatki"; private static final List<Pair<String, String>> configuration; static { configuration = new ArrayList<Pair<String, String>>(); configuration.add(new Pair("_id", "INTEGER PRIMARY KEY autoincrement")); configuration.add(new Pair("timestamp", "TIMESTAMP")); configuration.add(new Pair("note", "TEXT")); } NoteConfig(){ super(DBASE_NAME, TABLE_NAME, configuration); }; }