언어 설정

Menu
Sites
Language
Acessing contacts database

Hai all

After searching in the source code, i found  contacts databse in /opt/usr/dbspace/.contacts-svc.db

my doubt is from my application can i acess this data base by changing permissions and owner ship

 

 String path="/opt/usr/dbspace/.contacts-svc.db";

 if (Database::Exists(path) ==true) {
             database.Construct(path, "r");
                 AppLog("database created");
             } else {
                 AppLog("not created database");
             }

Iam getting premission denied error even after changing permissions

Can any one guide this

 

Edited by: P puvvada on 10 4월, 2014

Responses

1 댓글
Alex Ashirov

Hi,

As far as I understand your application can't use paths other than described below:

https://developer.tizen.org/dev-guide/2.2.0/org.tizen.native.appprogramming/html/basics_tizen_programming/io_overview.htm