#include <efl_extension.h>
#include <vector>
#include <isf_control.h>
-#include <app_control.h>
#include <algorithm>
#include <tzplatform_config.h>
#include <inputmethod_manager.h>
}
#ifndef _WEARABLE
-static void im_setting_selector_show_ime_list(void)
-{
- int ret;
- app_control_h app_control;
- const char *app_id = "org.tizen.inputmethod-setting-list";
- ret = app_control_create(&app_control);
- if (ret != APP_CONTROL_ERROR_NONE) {
- LOGD("app_control_create returned %d\n", ret);
- return;
- }
-
- ret = app_control_set_operation(app_control, APP_CONTROL_OPERATION_DEFAULT);
- if (ret != APP_CONTROL_ERROR_NONE) {
- LOGD("app_control_set_operation returned %d\n", ret);
- app_control_destroy(app_control);
- return;
- }
-
- ret = app_control_set_app_id(app_control, app_id);
- if (ret != APP_CONTROL_ERROR_NONE) {
- LOGD("app_control_set_app_id returned %d\n", ret);
- app_control_destroy(app_control);
- return;
- }
-
- ret = app_control_send_launch_request(app_control, NULL, NULL);
- if (ret != APP_CONTROL_ERROR_NONE) {
- LOGD("app_control_send_launch_request returned %d, %s\n", ret, get_error_message(ret));
- app_control_destroy(app_control);
- return;
- }
- app_control_destroy(app_control);
-}
-
static void im_setting_selector_select_keyboard_cb(void *data, Evas_Object *obj, void *event_info)
{
/* call input method list application*/
- im_setting_selector_show_ime_list();
+ ime_manager_show_ime_list();
}
#endif
<label>Keyboard setting</label>
<author email="shoum.chen@samsung.com" href="www.samsung.com">Shuoming Chen</author>
<description>Keyboard setting Application</description>
- <ui-application appid="org.tizen.inputmethod-setting-list" launch_mode="group" exec="inputmethod-setting-list" hw-acceleration="use-GL" nodisplay="true" multiple="false" type="capp" taskmanage="false">
+ <ui-application appid="org.tizen.inputmethod-setting-list" launch_mode="caller" exec="inputmethod-setting-list" hw-acceleration="use-GL" nodisplay="true" multiple="false" type="capp" taskmanage="false">
<category name="http://tizen.org/category/ime-list"/>
<icon>org.tizen.inputmethod-setting-list.png</icon>
<label>IME List</label>