When using the following code to copy a SQLite database from an Assets folder , the output is being put in the following folder: "/data/data/AndroidTestDb.AndroidTestDb/files/AndroidTestDup.db"
Here is the code:
Stream myInput = Assets.Open(@"AndroidTest.db");
string outFileName=System.IO.Path.Combine(System.Environment.GetFolderPath
(System.Environment.SpecialFolder.Personal), "AndroidTestDup.db");
Stream myOutput = new FileStream(outFileName, FileMode.OpenOrCreate);
And the desired folder +filename is :
"/data/data/AndroidTestDb.AndroidTestDb/databases/AndroidTestDup.db"
Thanks in Advance.