In my Android application I want to export my database. But I am not getting the file. Please check the code below.
File data = Environment.getDataDirectory();
String currentDBPath= "/data" +"/data/"+ "com.edsys.eyfs"
+ "/databases/" + "EdsysEyfsDB";
Log.d("current path of db", currentDBPath.toString());
File currentDB = new File(data, currentDBPath);
Log.d("backup database", currentDB.toString());
I am checking in android emulator. I am not getting any message on "backup database" log. Please help me to find solution for this