Hi everybody,
I would like to have a SQLite database on a mobile an tablet device.
I followed the instructions exactly as it was said in this video :
or if the ink does not work : http://bit.ly/1pXqqE0
So it is supposed to work but the application does not run and does not connect to the database. (on Tablet and mobile)
here is what it said when I run the application.
the application is in the off state.
Exception : Exception thrown: 'System.TypeInitializationException' in SQLitePCL.raw.DLL ("The type initializer for 'SQLitePCL.raw' threw an exception.").
Exception thrown: 'System.TypeInitializationException' in SQLitePCL.raw.DLL ("The type initializer for 'SQLitePCL.raw' threw an exception.")
Exception : Exception thrown: 'System.TypeInitializationException' in SQLitePCL.raw.DLL ("The type initializer for 'SQLitePCL.raw' threw an exception.").
Exception thrown: 'System.TypeInitializationException' in SQLitePCL.raw.DLL ("The type initializer for 'SQLitePCL.raw' threw an exception.")
and indicate here :
var path = Path.Combine(documentsPath, sqliteFilename);
// Create the connection
var conn = new SQLiteConnection(path);
// Return the database connection
Exception : Exception thrown: 'System.DllNotFoundException' in SQLitePCL.raw.DLL ("Impossible to load the DLL 'sqlite3': the specified module could not be found . (Exception of HRESULT : 0x8007007E)").
Exception thrown: 'System.DllNotFoundException' dans SQLitePCL.raw.DLL ("Impossible to load the DLL 'sqlite3': the specified module could not be found. (Exception of HRESULT : 0x8007007E)")
And yet , it should recognize these packages and display the .xaml page as in the video.
when I remove the connection to the SQLite database, the application runs. So I think the problem comes from the connection to the SQLite database.
Interest, would be able to access the file that stores all the data.
and that each time the user wants to enter text in an Entry, there will be a predictive text Input according to the datas stored in the database.
For example : the user writes "database1" then click on the record button,
entry will propose so "database1"
user writes "database2" then click on the record buttonentry will propose so "database1" , "database2"
user writes "database3" then click on the record buttonentry will propose so "database1", "database2", "database3"
user writes "dataUser4" then click on the record buttonentry will propose so "database1", "database2", "database3", "dataUser4"
user writes "sqlUser5" then click on the record buttonentry will propose so "database1", "database2", "database3", "dataUser4", "sqlUser5"
The user exits the application. Then runs the application.
He clicks on Entry to write text. (Nothing appears until he has written something).
if he writes data : entry will propose so "database1", "database2", "database3", "dataUser4"
if he writes user : entry will propose so "dataUser4", "sqlUser5"
if he writes sql : entry will propose so "sqlUser5"
And using a button, he can access to the location where the file or files that contain the datas are stored. ( to read the file data or to delete it for example if storage is important).
Please, if anyone has any idea to do that. Really thank in advance for any help.