From 70d26646a0c8ae9d1a65e3829ff827591c3047e6 Mon Sep 17 00:00:00 2001 From: Daehyeon Jung Date: Tue, 18 Aug 2015 16:00:20 +0900 Subject: [PATCH] change service app descriptions. Change-Id: I957214dd151c6f9b96d21f3fb9e84877b00b2b65 Signed-off-by: Daehyeon Jung --- .../html/native/process/setting_properties_n.htm | 2 +- org.tizen.guides/html/native/app/application_n.htm | 27 ++++++++++++++++++++++ org.tizen.guides/html/native/app/service_app_n.htm | 6 ++--- .../app_framework/application_tutorial_n.htm | 11 ++++++++- 4 files changed, 41 insertions(+), 5 deletions(-) diff --git a/org.tizen.gettingstarted/html/native/process/setting_properties_n.htm b/org.tizen.gettingstarted/html/native/process/setting_properties_n.htm index ddbb33c..d97b517 100644 --- a/org.tizen.gettingstarted/html/native/process/setting_properties_n.htm +++ b/org.tizen.gettingstarted/html/native/process/setting_properties_n.htm @@ -200,7 +200,7 @@ Note - The auto-restart and on-boot attributes are not supported in Tizen wearable devices. Since Tizen 2.4, both attributes are not supported in all Tizen devices. + The auto-restart and on-boot attributes are not supported in Tizen wearable devices. Since Tizen 2.4, both attributes are not supported in all Tizen devices. Hence, the auto-restart or on-boot attributes used on the lower than 2.4 API version package shall ignored on the devices with Tizen platform version 2.4 or higher. diff --git a/org.tizen.guides/html/native/app/application_n.htm b/org.tizen.guides/html/native/app/application_n.htm index d18193e..2887bde 100644 --- a/org.tizen.guides/html/native/app/application_n.htm +++ b/org.tizen.guides/html/native/app/application_n.htm @@ -125,6 +125,10 @@ APP_EVENT_REGION_FORMAT_CHANGED Event type for the callback function that is responsible for refreshing the display into the new time zone. + + APP_EVENT_SUSPENDED_STATE_CHANGED + Event type for the callback function that is responsible for taking necessary actions before enter to the suspended state or after exit from the state. (Since Tizen 2.4) + @@ -232,6 +236,18 @@ int main(int argc, char *argv[])

You can take advantage of the Tizen base application functionalities through the app control feature. You can also export your application functionality to allow other applications to launch your application.

+ + + + + + + + + +
Note
Since Tizen 2.4, application controls of service applications over out of packages are not supported; hence the service application is only allowed to be launched explicitly by the application in the same package.
+ +

Explicit Launch

When you request an explicit launch:

@@ -329,6 +345,17 @@ else app_control_destroy(app_control); + + + + + + + + + +
Note
Since Tizen 2.4, service applications are only allowed to be launched explicitly. Any service applications are excluded from matches of implicit launch requests.
+

Getting the App Control Results

The app control result from the requested application is delivered to the caller application in the app_control handle with extra data. For some cases, the App control API provides pre-defined extra data keys.

If you cannot find a proper key, you can define your own key. However, the customized key must be shared between the caller and callee applications.

diff --git a/org.tizen.guides/html/native/app/service_app_n.htm b/org.tizen.guides/html/native/app/service_app_n.htm index aaa60db..d7aad3e 100644 --- a/org.tizen.guides/html/native/app/service_app_n.htm +++ b/org.tizen.guides/html/native/app/service_app_n.htm @@ -159,7 +159,7 @@ Note - This attribute is not supported in Tizen wearable devices. Since Tizen 2.4, this attribute is not supported in all Tizen devices. + This attribute is not supported in Tizen wearable devices. Since Tizen 2.4, this attribute is not supported in all Tizen devices. Hence, the auto-restart attribute used on the lower than 2.4 API version package shall ignored on the devices with Tizen platform version 2.4 or higher. @@ -171,7 +171,7 @@ Note - This attribute is not supported in Tizen wearable devices. Since Tizen 2.4, this attribute is not supported in all Tizen devices. + This attribute is not supported in Tizen wearable devices. Since Tizen 2.4, this attribute is not supported in all Tizen devices. Hence, the on-boot attribute used on the lower than 2.4 API version package shall ignored on the devices with Tizen platform version 2.4 or higher. @@ -254,4 +254,4 @@ var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga - \ No newline at end of file + diff --git a/org.tizen.tutorials/html/native/app_framework/application_tutorial_n.htm b/org.tizen.tutorials/html/native/app_framework/application_tutorial_n.htm index 450019f..fc6eef2 100644 --- a/org.tizen.tutorials/html/native/app_framework/application_tutorial_n.htm +++ b/org.tizen.tutorials/html/native/app_framework/application_tutorial_n.htm @@ -359,7 +359,16 @@ ret = app_control_send_launch_request(app, NULL, NULL); if (ret != APP_CONTROL_ERROR_NONE)    dlog_print(DLOG_ERROR, LOG_TAG, "app_control_send_launch_request() is failed. err = %d", ret); - + + + + + + + + + +
Note
Since Tizen 2.4, service applications are only allowed to be launched explicitly and the caller must be an application with the same package. Otherwise, the app_control will return error.
  • -- 2.7.4