Hey, i want to load image from the Downloads folder of SD card and display in my application.
Here is my code.
char *directory = NULL; storage_get_directory(ad->internal_storage_id,STORAGE_DIRECTORY_DOWNLOADS,&directory); char path[PATH_MAX]; sprintf(path, "%s/1.jpg", directory); img = elm_image_add(ad->box); elm_image_file_set(img, path, NULL); evas_object_size_hint_align_set(img, EVAS_HINT_FILL, EVAS_HINT_FILL); elm_box_pack_end(ad->box, img); evas_object_show(img);
But, it is not showing any image in box.
plz, help me out of it.