Back to project page graph-creator.
The source code is released under:
GNU General Public License
If you think the Android project graph-creator listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
/* * This file is part of GraphCreator./*from w w w . j a va 2 s. co m*/ GraphCreator is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. GraphCreator is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with GraphCreator. If not, see <http://www.gnu.org/licenses/>. Copyright (C) 2012-2014 Jonathan L. Meek */ package graphcreator.android; import android.content.*; import android.database.sqlite.*; public class Database extends SQLiteOpenHelper { @Override public void onCreate(SQLiteDatabase p1) { // TODO: Implement this method } public Database(Context context, String dbName){ super(context,dbName,null,1); } public void onCreate(SQLiteDatabase db, String tableHeaderSpilt){ db.execSQL(tableHeaderSpilt); } public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion){ } public void dropTable(SQLiteDatabase db, String dbName){ db.execSQL("DROP TABLE "+dbName+"IF EXISTS"); } }//end Database class