语言

Menu
Sites
Language
web SQL local storage

Hello,

could anyone of you tell me where the tizen emulator stores web SQL database ? I am using tizen sdk 2.2.1.

Thanks for your reply.

编辑者为: Mhiri 21 4月, 2014

响应

12 回复
Alex Dem

Hi,
try to look at this:
https://developer.tizen.org/ru/forums/web-application-development/web-sql-database-where-it-stored-on-emulator
and this:
https://developer.tizen.org/ru/forums/web-application-development/few-questions-on-web-sql-database
Alexey.

Mhiri

Hi,

Tanks for your reply, but when I run the application and I select pull the selected content I coud not find ".webkit/databases" 

Alex Dem

Hi,
If you mean that .webkit folder is not reachable via 'Connection Explorer' I could propose this way, try to perform these steps :
1) Launch sdb shell
C:\tizen-sdk\tools>sdb shell
2) Run as superuser
sh-4.1# su
3) Copy your db at any reachable place on file system and pull it from after(here is copies all databases from LocalStorage folder)
sh-4.1# cp /opt/usr/apps/yourAppFolder/data/.webkit/localStorage/*db /tmp
Alexey.

Alex Dem

One more just fyi (in superuser mode):
sh-4.1# find / -name "*.db"
To observe all databeses on device.
Alexey.
 

Mhiri

thank you for your help.

Mhiri

Mhiri

Hi,

could you please tell where do I find the notes created via Memo, the name of the database ?

Thanks

Alex Ashirov

Hi,

I am not sure, but it seems that the path is the following:

/opt/dbspace/.memo.db

Mhiri

Hi,

Thank you for your reply.

Do you have any idea how can I manipulated because I tried to extract it from its location but I coudl not find it in the destination it seems to be a hidden file?

 

Alex Ashirov

Hi,

Can you find it using

find / -name "*.db" | grep memo

?

Mhiri

Hi, 

yes, and it is been located under /opt/dbspace/.memo.db

 

Alex Ashirov

Hi,

I am sorry, but it seems that this database isn’t related to the notes from Memo. I tried to insert new records into the db, but I didn’t observe them in Memo application. Also, I created notes in Memo manually, but I didn’t find them in the db.

AVSukhov

Hello,

Maybe this article help you:

http://tizentalk.com/forum/threads/tizen-storage-api.11/