Tizen Developers

Menu
Sites
Language
How to create hidden folder in sd card in Tizen app???

Hey,
I want to create one hidden folder of my application in sd card and store images in it. I don't know how to create folder in sd card using EFL.
Will anyone help me?

Edited on 18 11, 2017

Responses

2 Replies
Yasin Ali

Hi,

I think it will be better to use sqlite database for storing images. It will be invisible

to application user. Check below link for tutorial:

https://developer.tizen.org/forums/native-application-development/complete-tutorial-sqlite-database-crud-operation-and-data-access-tizen-native-application

Hope it will help you.
If you find my post is helpful for you, please mark it as answer to promote this post to others.

bhoomika rathod

Hey,
i got an answer. Here is my code.
Using this code you can create new directory/folder of your app in hidden mode.

char *directory = NULL;
int internal_storage_id;
storage_get_directory(internal_storage_id,STORAGE_DIRECTORY_DOWNLOADS,&directory);

char buf[255];
sprintf(buf,"%s/.new",directory);
mkdir(buf,0777);

you can change permission for your folder in mkdir. 0777 is default permission.