Hello,
I am trying to use code from Encrypted Database Tutorial (Tizen Mobile Native App Programming > Tutorials > Open Source Tutorials-> Encrypted Database Tutorial):
char * resource = app_get_data_path();
int siz = strlen(resource)+10;
char * path = malloc(sizeof(char)*siz);
strncat(path,resource,siz);
strncat(path, "test.db", siz);
memset(path, 0, siz);
sqlite3_open(path, &db);
but it doesn’t work. Value for the path variable is empty string. Please help me what is wrong?