Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

//package com.java2s;

import android.database.sqlite.SQLiteDatabase;

public class Main {
    public static void dropTable(SQLiteDatabase db, String tab) {
        try {
            db.execSQL(new StringBuilder(64).append("DROP TABLE IF EXISTS ").append(tab).append(';').toString());
        } catch (Throwable e) {
            e.printStackTrace();
        }
    }
}