Android Open Source - Schowek Note Config






From Project

Back to project page Schowek.

License

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.

Java Source Code

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); };

}




Java Source Code List

org.kkrolczyk.schowek.AbstractConfig.java
org.kkrolczyk.schowek.AbstractDBAdapter.java
org.kkrolczyk.schowek.ApplicationTest.java
org.kkrolczyk.schowek.BilansAdd.java
org.kkrolczyk.schowek.BilansConfig.java
org.kkrolczyk.schowek.BilansCustomArrayAdapter.java
org.kkrolczyk.schowek.BilansDBAdapter.java
org.kkrolczyk.schowek.BilansView.java
org.kkrolczyk.schowek.DBAdapter.java
org.kkrolczyk.schowek.MainActivity.java
org.kkrolczyk.schowek.MyUtils.java
org.kkrolczyk.schowek.NoteAdd.java
org.kkrolczyk.schowek.NoteConfig.java
org.kkrolczyk.schowek.NoteDBAdapter.java
org.kkrolczyk.schowek.NoteView.java