[appcontrol] fix sample code Calandar, Camera, File Storage
authorbg.chun <bg.chun@samsung.com>
Fri, 18 Sep 2015 07:16:50 +0000 (16:16 +0900)
committerbg.chun <bg.chun@samsung.com>
Fri, 18 Sep 2015 07:17:13 +0000 (16:17 +0900)
Change-Id: I06488de94f2bca9cdcaddb727092de1fe4a78748
Signed-off-by: bg.chun <bg.chun@samsung.com>
org.tizen.guides/html/native/app/common_appcontrol_n.htm

index 5d267cc..7633ede 100755 (executable)
@@ -423,7 +423,7 @@ app_control_create(&amp;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, &quot;id&quot;);
-app_control_add_extra_data(service, APP_CONTROL_ SELECTION_MODE, &quot;single&quot;);
+app_control_add_extra_data(service, APP_CONTROL_DATA_SELECTION_MODE, &quot;single&quot;);
 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);