Android Open Source - Icinga-Mobile S Q L Helper

From Project

Back to project page Icinga-Mobile.


The source code is released under:

GNU General Public License

If you think the Android project Icinga-Mobile 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 mhst.dreamteam.IcingaService;
/*from  w ww.  ja v a2  s.c  om*/
import android.content.Context;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteOpenHelper;

 * @author MinhNN
public class SQLHelper extends SQLiteOpenHelper {
    public SQLHelper(Context context) {
        super(context, "MHST1416", null, 1);

    public void onCreate(SQLiteDatabase db) {
        // TODO Auto-generated method stub
        String sql = "CREATE TABLE LastSession ( "
                + "Server TEXT, "
                + "Cookie TEXT)";

    public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) {
        // TODO Auto-generated method stub

Java Source Code List