I also want this code for my application.
I have one table "data_table" in "local_data" Microsoft Access database file.
I want my application first check whether this table exit or not. If exit then delete it, if not exit do nothing.
So what I need to change in your code.
In your code:
Code:
tableName = checkTable.getString("TABLE_NAME");
here I need to change "TABLE_NAME" with "data_table"?
And what I need to change here:
Code:
String[] tables = DB_TABLE;
or I also need to change in other part of program.