saeedcordova
Lurker
Dear
I was trying copy databases from assets to internal storage, yet I used java android("copy database") and cordova("call & read & wirte database"). Moreover, everything in emulator was right and I could retrieve data of table in database but when I run of cell phone or tablet didn't recognize table and retrieve data however I am sure that copy db was done because I took to export on sdcard before call database. I suppose need to permission and I don't have clue about this problem.
Features:
- cordova 3.4.0.js
-cordova-2.7.0.jar
- Databases.db
- 1
There are two files:
/data/data/[Package name]/app_webview/databases/Databases.db
/data/data/[Package name]/app_webview/databases/file__0/1
I was trying copy databases from assets to internal storage, yet I used java android("copy database") and cordova("call & read & wirte database"). Moreover, everything in emulator was right and I could retrieve data of table in database but when I run of cell phone or tablet didn't recognize table and retrieve data however I am sure that copy db was done because I took to export on sdcard before call database. I suppose need to permission and I don't have clue about this problem.
Features:
- cordova 3.4.0.js
-cordova-2.7.0.jar
- Databases.db
- 1
There are two files:
/data/data/[Package name]/app_webview/databases/Databases.db
/data/data/[Package name]/app_webview/databases/file__0/1
Attachments
Last edited by a moderator:
