Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

//package com.java2s;
//License from project: Open Source License 

import android.database.sqlite.SQLiteDatabase;

public class Main {
    private static final String TABLE_CONTENT_HELP = "content_help_table";
    private static final String PAGE_ID = "page_id";
    private static final String PAGE_LANGUAGE = "page_language";

    public static int delete(SQLiteDatabase db, String pageId, String lang) {
        return db.delete(TABLE_CONTENT_HELP, PAGE_ID + "=? AND " + PAGE_LANGUAGE + "=?",
                new String[] { pageId, lang });
    }
}