i'm trying to extract data from samsung S3 frontier tizen app's to run some analysis on the collected data. Tizen offers 2 types of storage, SQLite and in files. I know that each app posses a unique virtual root location, but i don't know where it's located. Also is the SQLite data in the same file?
1 Answers
The base directory of each application package is in general /opt/usr/home/owner/apps_rw/[pkg_name]
and as far as I understand this is what you mean by virtual root.
You can programatically get the data directory of your app by using app_get_data_path()
in <app_common.h>
, which will return a string /opt/usr/home/owner/apps_rw/[pkg_name]/data
(don't forget to free the string after the use). For more information, please find the guide at File System Directory Hierarchy.
The above guide will also show you how to get an access to shared media directories using Storage APIs. This guide will show you how to store sqlite database file in the storage directory (STORAGE_DIRECTORY_DOCUMENTS
), or you can also store the database file in the private app data directory returned by app_get_data_path()
.

- 396
- 1
- 8