I was trying to set image on tizen native widget but I dont know how to retrieve path and apply it. Below is my try:
//image
char full_path[PATH_MAX] = { 0, };
data_get_resource_path("images/testimg.png", full_path, (int) PATH_MAX); //getting error here.
Evas_Object *image;
image = elm_image_add(wid->conform);
elm_object_item_data_set(image, full_path); //how to set path?
elm_image_no_scale_set(image, EINA_TRUE);
elm_image_resizable_set(image, EINA_TRUE, EINA_TRUE);
/* Tell the image to keep original aspect ratio */
elm_image_aspect_fixed_set(image, EINA_TRUE);
/* Then let the image fill the entire object */
elm_image_fill_outside_set(image, EINA_TRUE);
evas_object_show(image);
Tried from doc of image from tizen dev website, no information exclusively for path setting.
How can I add a simple image and show it?