how to image element into a box

how to image element into a box

BY 14 Jan 2016 Native Application Development

Evas_Object *image = elm_image_add(box);

evas_object_show(image);
elm_box_pack_end(box, image);

char image_path[] = “opt/usr/apps/org.example.bai1/shared/res/myfirstproject.png”;
elm_image_file_set(image, image_path, NULL);

is that image_path wrong? i don’t know how to get image’s source. can someone help me?

Written by