From 1c509e22f882d01e288b5abe100985cc43d196eb Mon Sep 17 00:00:00 2001 From: "bg.chun" Date: Fri, 18 Sep 2015 16:16:50 +0900 Subject: [PATCH] [appcontrol] fix sample code Calandar, Camera, File Storage Change-Id: I06488de94f2bca9cdcaddb727092de1fe4a78748 Signed-off-by: bg.chun --- org.tizen.guides/html/native/app/common_appcontrol_n.htm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/org.tizen.guides/html/native/app/common_appcontrol_n.htm b/org.tizen.guides/html/native/app/common_appcontrol_n.htm index 5d267cc..7633ede 100755 --- a/org.tizen.guides/html/native/app/common_appcontrol_n.htm +++ b/org.tizen.guides/html/native/app/common_appcontrol_n.htm @@ -423,7 +423,7 @@ app_control_create(&service); app_control_set_operation(service, APP_CONTROL_OPERATION_PICK); app_control_set_mime(service, "application/vnd.tizen.calendar"); app_control_add_extra_data(service, APP_CONTROL_DATA_TYPE, "id"); -app_control_add_extra_data(service, APP_CONTROL_ SELECTION_MODE, "single"); +app_control_add_extra_data(service, APP_CONTROL_DATA_SELECTION_MODE, "single"); app_control_set_launch_mode(service, APP_CONTROL_LAUNCH_MODE_GROUP); app_control_send_launch_request(service, NULL, NULL); @@ -546,7 +546,7 @@ app_control_h service; app_control_create(&service); app_control_set_operation(service, APP_CONTROL_OPERATION_CREATE_CONTENT); -app_control_set_mime(service, “image/png”); +app_control_set_mime(service, “image/*”); app_control_send_launch_request(service, NULL, NULL); app_control_destory(service); @@ -1373,7 +1373,7 @@ app_control_h service; app_control_create(&service); app_control_set_operation(service, APP_CONTROL_OPERATION_PICK); -app_control_add_extra_data(service, APP_CONTROL_ SELECTION_MODE, "single"); +app_control_add_extra_data(service, APP_CONTROL_DATA_SELECTION_MODE, "single"); app_control_set_launch_mode(service, APP_CONTROL_LAUNCH_MODE_GROUP); app_control_send_launch_request(service, NULL, NULL); -- 2.7.4