Hi,
I am creating an app in which i have downloaded a zip file in /Downloads directory. How do i open the zip file through my-file app. By open i mean my-file app should be opened with the path /Downloads and it should start unzipping process.
Please explain in detail with example. I am trying to launch through app-control but its not working. Below is my code which is not working.
int ret = 0;
ret = app_control_create(&svc_handle);
ret = app_control_set_operation(svc_handle, "http://tizen.org/appcontrol/operation/view");
app_control_add_extra_data(svc_handle, "path", "/opt/usr/media/Downloads/PNG.zip");
app_control_set_mime(svc_handle, "application/zip");
app_control_set_app_id(svc_handle, "com.samsung.myfile-lite");
ret = app_control_set_launch_mode(svc_handle, APP_CONTROL_LAUNCH_MODE_GROUP);
ret = app_control_send_launch_request(svc_handle, NULL, NULL);
if (svc_handle)
{
app_control_destroy(svc_handle);
}