Languages

Menu
Sites
Language
How to open Software update page using app control?
ret = app_control_create(&svc_handle);
    ret = app_control_set_operation(svc_handle, "http://tizen.org/appcontrol/operation/view");
    ret = app_control_set_app_id(svc_handle, "wifi-efl-ug-lite");
    ret = app_control_set_launch_mode(svc_handle, APP_CONTROL_LAUNCH_MODE_GROUP);
    ret = app_control_add_extra_data(svc_handle,  AUL_SVC_K_CAN_BE_LEADER, "true");
    ret = app_control_send_launch_request(svc_handle, NULL, NULL);

 

Hi,

I need to open software update page from my app. Can someone guide me as to what is the app-id of software update page.

I am using above example to launch wifi page. Similarly i need to open software update page.

 

Responses

2 Replies
sanghyuk Ko

Hi.

app-id for launching is "com.samsung.oma-dm".

Thank you.

 

Juhak Park

You can launching the "Software update" application from the below app_id.

So. Please see the below code.

 

  int ret = -1;
  app_control_h svc_handle = NULL;

  ret = app_control_create(&svc_handle);
  if (ret != APP_CONTROL_ERROR_NONE) {
    /* app_control_create failed!! */
   return;
  }
  ret = app_control_set_app_id(svc_handle, "com.samsung.oma-dm");
  ret = app_control_send_launch_request(svc_handle, NULL, NULL);