This question is locked. New answers and comments are not allowed.
Can anybody help me to connect the externally created SQLite db? I am new to telerik app builder. I have verified the sample todo app "Sample-To-Do-App-With-Sqlite" available in telerik site. They created a db and access the same. But I created a db from outside and I included the same in my project folder. I want to access it by cordova.
01.app.openDb = function () {02. var dbName = "ARMS_SLATE.sqlite";03. 04. //DB creation for Simulator05. if (window.navigator.simulator === true) {06. app.db = window.openDatabase(dbName, "1.0", "ARMS Slate Database", 1073741824);07. console.log("Database Created!");08. }09. //DB creation for devices10. else {11. app.db = window.sqlitePlugin.openDatabase(dbName);12. console.log("Database Accessed!");13. }14.}
In the above code I can create the ARMS_SLATE.sqlite db and access the same. But I want to access the DB which is placed under the data folder. Please refer in the attached image.