private static void dropDatabase(final SQLiteDatabase db) {
            db.execSQL("DROP TABLE IF EXISTS " + dbTableCaches);
            db.execSQL("DROP TABLE IF EXISTS " + dbTableLists);
            db.execSQL("DROP TABLE IF EXISTS " + dbTableCachesLists);
            db.execSQL("DROP TABLE IF EXISTS " + dbTableAttributes);
            db.execSQL("DROP TABLE IF EXISTS " + dbTableWaypoints);
            db.execSQL("DROP TABLE IF EXISTS " + dbTableVariables);
            db.execSQL("DROP TABLE IF EXISTS " + dbTableCategories);
            db.execSQL("DROP TABLE IF EXISTS " + dbTableSpoilers);
            db.execSQL("DROP TABLE IF EXISTS " + dbTableLogs);
            db.execSQL("DROP TABLE IF EXISTS " + dbTableLogCount);
            db.execSQL("DROP TABLE IF EXISTS " + dbTableLogImages);
            db.execSQL("DROP TABLE IF EXISTS " + dbTableLogsOffline);
            db.execSQL("DROP TABLE IF EXISTS " + dbTableLogsOfflineImages);
            db.execSQL("DROP TABLE IF EXISTS " + dbTableLogsOfflineTrackables);
            db.execSQL("DROP TABLE IF EXISTS " + dbTableTrackables);
            db.execSQL("DROP TABLE IF EXISTS " + dbTableSearchDestinationHistory);
            db.execSQL("DROP TABLE IF EXISTS " + dbTableTrailHistory);
            db.execSQL("DROP TABLE IF EXISTS " + dbTableRoute);
            db.execSQL("DROP TABLE IF EXISTS " + dbTableExtension);
            db.execSQL("DROP TABLE IF EXISTS " + dbTableFilters);
            // also delete tables which have old table names
            db.execSQL("DROP TABLE IF EXISTS cg_table_route");
            db.execSQL("DROP TABLE IF EXISTS cg_table_extension");
        }
Method to remove static map files with double underscore due to issue#1670
introduced with release on 2012-05-24.
main/src/main/java/cgeo/geocaching/storage/DataStore.java