public static boolean isTableExists(String tableName,SQLiteDatabase db){
  boolean exist;
  try {
    exist=BaseUtility.containsIgnoreCases(findAllTableNames(db),tableName);
  }
 catch (  Exception e) {
    e.printStackTrace();
    exist=false;
  }
  return exist;
}

public static boolean isTableExists ( String tableName , SQLiteDatabase db ) { boolean exist ; try { exist = BaseUtility . containsIgnoreCases ( findAllTableNames ( db ) , tableName ) ; } catch ( Exception e ) { e . printStackTrace ( ) ; exist = false ; } return exist ; }
test if the table name passed in exists in the database . cases are ignored .
