语言

Menu
Sites
Language
DBcontrol, sample code does not work in emulator

Hi, i just start learning tizen, and i want to learn database by seeing the code in this sample code.

https://developer.tizen.org/documentation/articles/dbcontrol-sample-code-using-dbmanager-class,

but when i run it in emulator, the application does not work, eventhough it has been succesfully executed from IDE.

and it says that "If the mdb.db file does not exist, it creates the file". but when i build, i could not find any mdb.db file, so in which directory does that .db file lie ?

do i need to do several steps before making .db file ?

Thanks in advance.

 

编辑者为: Brock Boland 17 3月, 2014 原因: Paragraph tags added automatically from tizen_format_fix module.

响应

1 回复
wil smith
DB file mdb.db gets created in the emulator/device file system. You can browse the emulator file system from connection explorer window. Check for the path /opt/apps//data