Design Introduction “Air” Styles Mobile Design Principles Styles UX Overview Design Patterns UI Components for Tizen App Design 2.3 TV Design Principles Styles UX Overview Patterns UI Components Wearable Development Tizen Studio Overview Download Tizen Studio Deprecation Notice Tizen Extensions for Visual Studio Family IoT extension SDK Docs Blog Blog Announcing the Tizen Studio 3.7 Release Announcing the Tizen Studio 3.1 Release Community Forums General Support Tizen .NET Web Application Development Native Application Development SDK & IDE Design Introduction “Air” Styles Mobile Design Principles Styles UX Overview Design Patterns UI Components for Tizen App Design 2.3 TV Design Principles Styles UX Overview Patterns UI Components Wearable Development Tizen Studio Overview Download Tizen Studio Deprecation Notice Tizen Extensions for Visual Studio Family IoT extension SDK Docs Blog Blog Announcing the Tizen Studio 3.7 Release Announcing the Tizen Studio 3.1 Release Community Forums General Support Tizen .NET Web Application Development Native Application Development SDK & IDE
Error Code: -22 [ APP_CONTROL_ERROR_INVALID_PARAMETER ] Need A Path Of Selected File, Thanks Dinal Jivani
static void file_select_result(app_control_h request, app_control_h handle, app_control_result_e result, void *user_data) { char *value=NULL; int ret; if (result == APP_CONTROL_RESULT_SUCCEEDED) { //app_control_add_extra_data(handle,"path",value); char keyId[100] = {0, }; ret=app_control_get_extra_data(handle, keyId,&value); if (ret == APP_CONTROL_ERROR_NONE) { dlog_print(DLOG_INFO, LOG_TAG, "[app_control_result_cb]Succeeded : Error code - %d || Path - %s",ret,value); } else { dlog_print(DLOG_ERROR, LOG_TAG, "[app_control_result_cb]Failed : Error code - %d || Path - %s",ret,value); } } else { dlog_print(DLOG_ERROR, LOG_TAG, "[app_control_result_cb] APP_CONTROL_RESULT_FAILED. Error code: %d", result); } } static void btn_file_select_cb(void *data, Evas_Object *obj, void *event_info) { app_control_h app_control; int ret; app_control_create(&app_control); app_control_set_operation(app_control, APP_CONTROL_OPERATION_PICK); app_control_set_mime(app_control, "image/*"); ret = app_control_send_launch_request(app_control, file_select_result, NULL); if ( ret == APP_CONTROL_ERROR_NONE) { dlog_print(DLOG_INFO, LOG_TAG, "Succeeded to launch a file manager picker app."); } else { dlog_print(DLOG_ERROR, LOG_TAG, "Failed to launch a file manager picker app. error code: %d", ret); } app_control_destroy(app_control); }I Need A Path Of Selected File From The App Control….
BY
16 Apr 2025
Tizen Studio
BY
04 Nov 2024
Tizen Studio
BY
02 Apr 2024
Tizen Studio