I have created Sqlite database using
var documents = Environment.GetFolderPath (Environment.SpecialFolder.MyDocuments);
pathToDatabase = Path.Combine(documents, databaseName);
using (var conn= new SQLite.SQLiteConnection(pathToDatabase))
{
conn.CreateTable<SETTINGS> ();
conn.CreateTable<USER> ();
}
I want to see(using Sqlite Browser) the database created. How to access the database? I have tried through Xamarin Studio -> Tools -> Android Device Monitor. There is nothing like /data/data/app/databases/test.db
data folder doesn't show any contents. However, i am sure that the database is created as i can query and retrieve the data.
Aucun commentaire:
Enregistrer un commentaire