Is it possible to access local file sqlite db from android emulator? I am not sure what i am doing wrong but when I try to access the DB i created with Sqllite DB browser on my local drive, I cant read it when i run the emulator
var sqliteFilename = "myapp.db3";
string documentsPath = System.Environment.GetFolderPath (System.Environment.SpecialFolder.Personal); // Documents folder
var path = Path.Combine(documentsPath, sqliteFilename);
path = "/Users/UserName/data/myapp.db";
var conn = new SQLite.SQLiteConnection(path);
I tried every possible combinations as below. And I also tried db and db3 both. but I couldnt make it working
path = "C:/Users/UserName/data/myapp.db";
path = "Data Source=C:/Users/UserName/data/myapp.db";
path = @Data Source=C:\Users\UserName\data\myapp.db;
path = @Data Source=C:\Users\UserName\data\myapp.db3;Version=3;;