Acessing contacts database

Acessing contacts database

BY 10 Apr 2014 Native Application Development

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

 

Written by