As I already export the database file from below code but I'm not able to open the exported file, how can I open the exported file?
String dbName = Constants.DATABASE_NAME ; // Name without .db
String currentDBPath = context.getDatabasePath(dbName).getPath();
String backupDBPath = MyHelper.getDbExportPath() + "/" + dbName;
File currentDB = new File(currentDBPath);
File backupDB = new File(backupDBPath);
if (currentDB.exists()) {
FileChannel src = new FileInputStream(currentDB).getChannel();
FileChannel dst = new FileOutputStream(backupDB).getChannel();
dst.transferFrom(src, 0, src.size());
src.close();
dst.close();
}