From: Jaehyun Cho Date: Thu, 24 Nov 2016 08:20:51 +0000 (+0900) Subject: [LB] General quality fixes for Tutorials and synch from 2.4 branch X-Git-Tag: tizen_3.0/TD_SYNC/20161201~8^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=169c5f12294c406f49a0fa2d31c689bb155301f0;p=sdk%2Fonline-doc.git [LB] General quality fixes for Tutorials and synch from 2.4 branch - Major synch from 2.4 - Minor edits to 3.0-specific content to improve and make it consistent PS2: [LB] Ambient mode pixel size fixed from 20% to 15% PS3: [LB] Additional changes due to low power mode and color restriction PS4: [LB] Attempting to fix merge conflicts PS5: Rebased and changed to org.tizen.training PS6: [LB] Checked after rebase and added further changes to synch with the 2.4 version Change-Id: I55bbfeb238f8326a90761ae263a3fda925f6a0f1 --- diff --git a/org.tizen.devtools/html/common_tools/da_overview.htm b/org.tizen.devtools/html/common_tools/da_overview.htm index 95a9744..b1d2e94 100644 --- a/org.tizen.devtools/html/common_tools/da_overview.htm +++ b/org.tizen.devtools/html/common_tools/da_overview.htm @@ -26,7 +26,7 @@

Mobile Wearable

Dynamic Analyzer

-

You can monitor the performance and reliability of your native application on a target device or the Emulator by running the dynamic analyzer tool included within the Tizen SDK.

+

You can monitor the performance and reliability of your native application on a target device or the Emulator by running the dynamic analyzer tool included within the Tizen SDK.

Dynamic Analyzer provides various functions for profiling applications. To better understand the profiling result, you need to know about each component that tool screen contains, providing you with the tracing information of your application.

Figure: Dynamic Analyzer screen

Dynamic Analyzer screen

@@ -83,7 +83,7 @@

The analysis result helps you to recognize and fix bottlenecks, bugs, and memory and resource leaks. For instructions on running the dynamic analyzer and ways to analyze the result and utilize the result - for improving your application performance, see Dynamic Analysis.

+ for improving your application performance, see Dynamic Analysis.

You can use table filtering to see only the information you want in the result table.

diff --git a/org.tizen.devtools/html/native_tools/api_privilege_checker_n.htm b/org.tizen.devtools/html/native_tools/api_privilege_checker_n.htm index fd7248c..7e0db61 100644 --- a/org.tizen.devtools/html/native_tools/api_privilege_checker_n.htm +++ b/org.tizen.devtools/html/native_tools/api_privilege_checker_n.htm @@ -23,8 +23,8 @@

API and Privilege Checker

-

The Tizen IDE provides the API and privilege checker tool to identify potential problems in the application code related to API and privilege usage.

-

In project properties, you can enable the checker during the building process or code editing stage. You can also perform the checks manually in the Project Explorer view by choosing a project, opening the context menu, and selecting Check API and Privilege Violations With Build.

+

The Tizen IDE provides the API and privilege checker tool to identify potential problems in the application code related to API and privilege usage.

+

In project properties, you can enable the checker during the building process or code editing stage. You can also perform the checks manually in the Project Explorer view by choosing a project, opening the context menu, and selecting Check API and Privilege Violations With Build.

The results of the check are displayed in the Problems view. The following tables define the different alarms that the checks can generate.

diff --git a/org.tizen.devtools/html/native_tools/manifest_text_editor_n.htm b/org.tizen.devtools/html/native_tools/manifest_text_editor_n.htm index 5063933..cf8b7de 100644 --- a/org.tizen.devtools/html/native_tools/manifest_text_editor_n.htm +++ b/org.tizen.devtools/html/native_tools/manifest_text_editor_n.htm @@ -43,7 +43,7 @@

Manifest Text Editor

A Tizen native application package consists of exactly 1 manifest file, called tizen-manifest.xml, which is used to describe the application information. The manifest file is composed of XML elements, which include the root <manifest> element and its child elements representing application information, such as <version>, and <privileges>. The child elements are organized into a specific hierarchy. The elements can have attributes associated with them, providing more information about the element.

-

The manifest file information can be edited using the manifest editor, or you can modify the XML structure directly using the text editor. To open the manifest editor, double-click the tizen-manifest.xml file in the Project Explorer view of the IDE. To use the text editor, right-click the tizen-manifest.xml file in the Project Explorer view and select Open with > Text Editor.

+

The manifest file information can be edited using the manifest editor, or you can modify the XML structure directly using the text editor. To open the manifest editor, double-click the tizen-manifest.xml file in the Project Explorer view of the IDE. To use the text editor, right-click the tizen-manifest.xml file in the Project Explorer view and select Open with > Text Editor.

The following example illustrates the content and structure of a tizen-manifest.xml file:

@@ -1188,7 +1188,7 @@

<privileges> Element

-

The <privileges> element represents required privileges for the Tizen application. Applications that use sensitive APIs must declare the required privileges in the tizen-manifest.xml file. Since the privilege categories differ for each API type, make sure you define a correct privilege related to the API you need.

+

The <privileges> element represents required privileges for the Tizen application. Applications that use sensitive APIs must declare the required privileges in the tizen-manifest.xml file. Since the privilege categories differ for each API type, make sure you define a correct privilege related to the API you need.

Press Add to open the Add Privilege dialog.

Figure: Editing the <privileges> element in the manifest editor

@@ -1239,7 +1239,7 @@
  • http://tizen.org/privilege/account.read
  • -

    For more information on the expected values, see Security and API Privileges.

    +

    For more information on the expected values, see Security and API Privileges.

    @@ -1288,7 +1288,7 @@
  • "http://tizen.org/feature/camera"
  • "http://tizen.org/feature/fmradio"
  • -

    For more information on the expected values and the application filtering mechanism, see Application Filtering.

    +

    For more information on the expected values and the application filtering mechanism, see Application Filtering.

    @@ -1705,4 +1705,4 @@ var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga - \ No newline at end of file + diff --git a/org.tizen.devtools/html/native_tools/valgrind_n.htm b/org.tizen.devtools/html/native_tools/valgrind_n.htm index 9e92192..43a2d74 100644 --- a/org.tizen.devtools/html/native_tools/valgrind_n.htm +++ b/org.tizen.devtools/html/native_tools/valgrind_n.htm @@ -29,7 +29,7 @@
  • Massif

    Heap memory profiler.

  • -

    Tizen IDE provides the interface for running Valgrind with your application easily. After performance profiling is terminated, you can see the profiling result and use it for improving performance.

    +

    Tizen IDE provides the interface for running Valgrind with your application easily. After performance profiling is terminated, you can see the profiling result and use it for improving performance.

    @@ -65,4 +65,4 @@ var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga - \ No newline at end of file + diff --git a/org.tizen.devtools/html/web_tools/config_editor_w.htm b/org.tizen.devtools/html/web_tools/config_editor_w.htm index 3309c2d..703fbbd 100755 --- a/org.tizen.devtools/html/web_tools/config_editor_w.htm +++ b/org.tizen.devtools/html/web_tools/config_editor_w.htm @@ -34,7 +34,7 @@

    Configuration Editor

    The Tizen Web application configuration file is composed of XML elements, including the <widget> element as its root and other elements representing the application information, such as configuration elements and Tizen extending configuration elements for mobile and wearable applications. Note that although the <feature> element is a W3C element, a modified Tizen extended version of it is used.

    -

    The configuration file can be edited with the Web application configuration editor, or you can modify the XML structure directly using the configuration text editor. To open the Web application configuration editor, double-click the config.xml file in the Project Explorer view of the IDE. To use the configuration text editor, right-click the config.xml file in the Project Explorer view and select Open with > Text Editor. +

    The configuration file can be edited with the Web application configuration editor, or you can modify the XML structure directly using the configuration text editor. To open the Web application configuration editor, double-click the config.xml file in the Project Explorer view of the IDE. To use the configuration text editor, right-click the config.xml file in the Project Explorer view and select Open with > Text Editor.

    @@ -746,7 +746,7 @@

    Attributes:

    Example:

    <feature name="http://tizen.org/feature/network.bluetooth" />
    @@ -1490,7 +1490,7 @@

    Attributes:

    Example:

    <feature name="http://tizen.org/feature/network.bluetooth" />
    @@ -1519,4 +1519,4 @@ var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga - \ No newline at end of file + diff --git a/org.tizen.devtools/html/web_tools/content_assist_w.htm b/org.tizen.devtools/html/web_tools/content_assist_w.htm index 1efe1a4..267db57 100644 --- a/org.tizen.devtools/html/web_tools/content_assist_w.htm +++ b/org.tizen.devtools/html/web_tools/content_assist_w.htm @@ -46,7 +46,7 @@
    -

    For more information, see Specifying Privileges in the Privilege Tab.

    +

    For more information, see Specifying Privileges in the Privilege Tab.

    To expand content assist functionality to user-defined and third-party APIs:

    1. Prepare an API definition document using the WIDL standard. The Tizen IDE supports the .xml and .widlprocxml files.
    2. diff --git a/org.tizen.devtools/html/web_tools/privilege_checker_w.htm b/org.tizen.devtools/html/web_tools/privilege_checker_w.htm index ac3fb7e..b4eaf49 100644 --- a/org.tizen.devtools/html/web_tools/privilege_checker_w.htm +++ b/org.tizen.devtools/html/web_tools/privilege_checker_w.htm @@ -23,7 +23,7 @@

      Privilege Checker

      -

      You can enable the privilege checks in the preferences during the build process or code editing. You can also perform the checks manually in the IDE by selecting Project > Check Privilege.

      +

      You can enable the privilege checks in the preferences during the build process or code editing. You can also perform the checks manually in the IDE by selecting Project > Check Privilege.

      The Privilege Checker tool is based on the Content Assist Engine for Tizen IDE. It is used for codes that do not operate Content Assist and cannot perform checks. Therefore, the check results can possibly have missing (unsound) values.

      The check results are displayed in the Problems view and vertical ruler. To resolve an alarm, click the annotation on the vertical ruler and select an entry from the proposal list. The required privilege is automatically added into config.xml file (for a quick fix, use the Ctrl+1 keyboard shortcut).

      diff --git a/org.tizen.devtools/html/web_tools/web_inspector_w.htm b/org.tizen.devtools/html/web_tools/web_inspector_w.htm index 7fc9f4b..bafb584 100644 --- a/org.tizen.devtools/html/web_tools/web_inspector_w.htm +++ b/org.tizen.devtools/html/web_tools/web_inspector_w.htm @@ -32,14 +32,14 @@

      Related Info

      Web Inspector

      -

      You can debug Web applications using the JavaScript Debugger tool. The JavaScript Debugger is based on Webkit Web Inspector, and has been modified to support remote debugging.

      +

      You can debug Web applications using the JavaScript Debugger tool. The JavaScript Debugger is based on Webkit Web Inspector, and has been modified to support remote debugging.

      The JavaScript Debugger supports the following panels:

      • Elements Panel
      • @@ -113,4 +113,4 @@ var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga - \ No newline at end of file + diff --git a/org.tizen.guides/html/native/app_management/dali_app_n.htm b/org.tizen.guides/html/native/app_management/dali_app_n.htm index e9dcc1b..e8cc334 100644 --- a/org.tizen.guides/html/native/app_management/dali_app_n.htm +++ b/org.tizen.guides/html/native/app_management/dali_app_n.htm @@ -101,7 +101,7 @@
      • Create a DALi project:
        1. In the Tizen Studio menu, go to File > New > Tizen Project. -

          Select a template for a mobile native application and create a project using the Basic UI with DALi template. Click Finish, and your project is created at the default location. If you want to change the location, uncheck Use default location and set a new location. For more information, see Creating the Application Project.

          +

          Select a template for a mobile native application and create a project using the Basic UI with DALi template. Click Finish, and your project is created at the default location. If you want to change the location, uncheck Use default location and set a new location. For more information, see Creating the Application Project.

          Create a DALi project

        2. diff --git a/org.tizen.guides/html/native/connectivity/download_n.htm b/org.tizen.guides/html/native/connectivity/download_n.htm index 0f4d782..d75fc16 100644 --- a/org.tizen.guides/html/native/connectivity/download_n.htm +++ b/org.tizen.guides/html/native/connectivity/download_n.htm @@ -267,4 +267,4 @@ var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga - \ No newline at end of file + diff --git a/org.tizen.guides/html/native/ui/efl/container_naviframe_n.htm b/org.tizen.guides/html/native/ui/efl/container_naviframe_n.htm index 12f82a0..5cc3555 100644 --- a/org.tizen.guides/html/native/ui/efl/container_naviframe_n.htm +++ b/org.tizen.guides/html/native/ui/efl/container_naviframe_n.htm @@ -60,13 +60,13 @@ Elm_Object_Item                          Evas_Object *next_btn, Evas_Object *content, const char *item_style);
            -
          • In Tizen, the next_btn (fourth parameter) is not shown, so use NULL. The prev_btn (third parameter) is supported, but auto pushing is also supported over Tizen 2.4. As a result, use NULL for prev_btn too, and set the auto-pushed flag (about the prev_btn) to true (like below).

            +
          • In Tizen, the next_btn (fourth parameter) is not shown, so use NULL. The prev_btn (third parameter) is supported, but auto pushing is also supported from Tizen 2.4. As a result, use NULL for prev_btn too, and set the auto-pushed flag (about the prev_btn) to true (like below).

             /* Make prev_btn automatically, if multiple items are pushed (default: EINA_FALSE) */
             elm_naviframe_prev_btn_auto_pushed_set(nf, EINA_TRUE);
             
          • -

            The last parameter is the style of the naviframe item. In Tizen 2.4 mobile, various item styles are provided:

            +

            The last parameter is the style of the naviframe item. In Tizen mobile, various item styles are provided:

            • If an item style supports text parts, fill the text parts with the elm_object_item_part_text_set() function:
               elm_object_item_part_text_set(nf_it, "subtitle", "subtitle");
              @@ -148,7 +148,7 @@ elm_object_item_part_content_set(nf_it, "tabbar", tb);
               
               

              Item Styles

              -

              The following table lists the item styles available for Tizen 2.4 mobile applications.

              +

              The following table lists the item styles available for Tizen mobile applications.

      diff --git a/org.tizen.training/.project b/org.tizen.training/.project index 5857a6a..01105f9 100644 --- a/org.tizen.training/.project +++ b/org.tizen.training/.project @@ -1,6 +1,6 @@ - org.tizen.tutorials_3.0.0 + org.tizen.training_3.0.0 diff --git a/org.tizen.training/META-INF/MANIFEST.MF b/org.tizen.training/META-INF/MANIFEST.MF index a6af819..449e0aa 100644 --- a/org.tizen.training/META-INF/MANIFEST.MF +++ b/org.tizen.training/META-INF/MANIFEST.MF @@ -1,7 +1,7 @@ Manifest-Version: 1.0 Bundle-ManifestVersion: 1 -Bundle-Name: Getting Started -Bundle-SymbolicName: org.tizen.tutorials;singleton=true +Bundle-Name: Training +Bundle-SymbolicName: org.tizen.training;singleton=true Bundle-Version: 3.0.0 Bundle-Vendor: The Linux Foundation diff --git a/org.tizen.training/html/images/app_dev_process_mn.png b/org.tizen.training/html/images/app_dev_process_mn.png index 97edba1..afd1304 100644 Binary files a/org.tizen.training/html/images/app_dev_process_mn.png and b/org.tizen.training/html/images/app_dev_process_mn.png differ diff --git a/org.tizen.training/html/images/app_run_mn.png b/org.tizen.training/html/images/app_run_mn.png index cd4de12..e49a28a 100644 Binary files a/org.tizen.training/html/images/app_run_mn.png and b/org.tizen.training/html/images/app_run_mn.png differ diff --git a/org.tizen.training/html/images/app_run_multiple_emulators.png b/org.tizen.training/html/images/app_run_multiple_emulators.png new file mode 100644 index 0000000..5654ff0 Binary files /dev/null and b/org.tizen.training/html/images/app_run_multiple_emulators.png differ diff --git a/org.tizen.training/html/images/app_run_mw.png b/org.tizen.training/html/images/app_run_mw.png index 47c62b5..017ae17 100644 Binary files a/org.tizen.training/html/images/app_run_mw.png and b/org.tizen.training/html/images/app_run_mw.png differ diff --git a/org.tizen.training/html/images/app_run_wn.png b/org.tizen.training/html/images/app_run_wn.png index 6fe5be8..7544f79 100644 Binary files a/org.tizen.training/html/images/app_run_wn.png and b/org.tizen.training/html/images/app_run_wn.png differ diff --git a/org.tizen.training/html/images/app_run_wn_watch.png b/org.tizen.training/html/images/app_run_wn_watch.png index 196bc8b..de21cec 100644 Binary files a/org.tizen.training/html/images/app_run_wn_watch.png and b/org.tizen.training/html/images/app_run_wn_watch.png differ diff --git a/org.tizen.training/html/images/app_run_wn_widget.png b/org.tizen.training/html/images/app_run_wn_widget.png index 7fe800a..df95f5f 100644 Binary files a/org.tizen.training/html/images/app_run_wn_widget.png and b/org.tizen.training/html/images/app_run_wn_widget.png differ diff --git a/org.tizen.training/html/images/app_run_ww.png b/org.tizen.training/html/images/app_run_ww.png index 679e011..6cc485f 100644 Binary files a/org.tizen.training/html/images/app_run_ww.png and b/org.tizen.training/html/images/app_run_ww.png differ diff --git a/org.tizen.training/html/images/app_run_ww_watch.png b/org.tizen.training/html/images/app_run_ww_watch.png index 1cae217..50de5dd 100644 Binary files a/org.tizen.training/html/images/app_run_ww_watch.png and b/org.tizen.training/html/images/app_run_ww_watch.png differ diff --git a/org.tizen.training/html/images/basic_app_config_mn.png b/org.tizen.training/html/images/basic_app_config_mn.png index 0a929aa..408b606 100644 Binary files a/org.tizen.training/html/images/basic_app_config_mn.png and b/org.tizen.training/html/images/basic_app_config_mn.png differ diff --git a/org.tizen.training/html/images/basic_app_config_w.png b/org.tizen.training/html/images/basic_app_config_w.png index bd61439..47102bd 100644 Binary files a/org.tizen.training/html/images/basic_app_config_w.png and b/org.tizen.training/html/images/basic_app_config_w.png differ diff --git a/org.tizen.training/html/images/basic_app_config_wn.png b/org.tizen.training/html/images/basic_app_config_wn.png index 8edc383..250da6d 100644 Binary files a/org.tizen.training/html/images/basic_app_config_wn.png and b/org.tizen.training/html/images/basic_app_config_wn.png differ diff --git a/org.tizen.training/html/images/basic_app_config_wn_watch.png b/org.tizen.training/html/images/basic_app_config_wn_watch.png index 2ddae98..122d672 100644 Binary files a/org.tizen.training/html/images/basic_app_config_wn_watch.png and b/org.tizen.training/html/images/basic_app_config_wn_watch.png differ diff --git a/org.tizen.training/html/images/basic_app_config_wn_widget.png b/org.tizen.training/html/images/basic_app_config_wn_widget.png index aa0ed8e..6a636c4 100644 Binary files a/org.tizen.training/html/images/basic_app_config_wn_widget.png and b/org.tizen.training/html/images/basic_app_config_wn_widget.png differ diff --git a/org.tizen.training/html/images/basic_app_config_ww_watch.png b/org.tizen.training/html/images/basic_app_config_ww_watch.png index 6600fe6..e84e114 100644 Binary files a/org.tizen.training/html/images/basic_app_config_ww_watch.png and b/org.tizen.training/html/images/basic_app_config_ww_watch.png differ diff --git a/org.tizen.training/html/images/basic_app_project_explorer_mn.png b/org.tizen.training/html/images/basic_app_project_explorer_mn.png index 55f2f91..8dc20c0 100644 Binary files a/org.tizen.training/html/images/basic_app_project_explorer_mn.png and b/org.tizen.training/html/images/basic_app_project_explorer_mn.png differ diff --git a/org.tizen.training/html/images/basic_app_project_explorer_mw.png b/org.tizen.training/html/images/basic_app_project_explorer_mw.png index d6a6159..e6c02ef 100644 Binary files a/org.tizen.training/html/images/basic_app_project_explorer_mw.png and b/org.tizen.training/html/images/basic_app_project_explorer_mw.png differ diff --git a/org.tizen.training/html/images/basic_app_project_explorer_wn.png b/org.tizen.training/html/images/basic_app_project_explorer_wn.png index 7a39d2b..bdccf7c 100644 Binary files a/org.tizen.training/html/images/basic_app_project_explorer_wn.png and b/org.tizen.training/html/images/basic_app_project_explorer_wn.png differ diff --git a/org.tizen.training/html/images/basic_app_project_explorer_wn_watch.png b/org.tizen.training/html/images/basic_app_project_explorer_wn_watch.png index 4f952ac..bd7535f 100644 Binary files a/org.tizen.training/html/images/basic_app_project_explorer_wn_watch.png and b/org.tizen.training/html/images/basic_app_project_explorer_wn_watch.png differ diff --git a/org.tizen.training/html/images/basic_app_project_explorer_wn_widget.png b/org.tizen.training/html/images/basic_app_project_explorer_wn_widget.png index 64a5e71..5fea4f1 100644 Binary files a/org.tizen.training/html/images/basic_app_project_explorer_wn_widget.png and b/org.tizen.training/html/images/basic_app_project_explorer_wn_widget.png differ diff --git a/org.tizen.training/html/images/basic_app_project_explorer_ww.png b/org.tizen.training/html/images/basic_app_project_explorer_ww.png index e2875fc..c97d519 100644 Binary files a/org.tizen.training/html/images/basic_app_project_explorer_ww.png and b/org.tizen.training/html/images/basic_app_project_explorer_ww.png differ diff --git a/org.tizen.training/html/images/basic_app_project_explorer_ww_watch.png b/org.tizen.training/html/images/basic_app_project_explorer_ww_watch.png index 5e68b10..2c4dd62 100644 Binary files a/org.tizen.training/html/images/basic_app_project_explorer_ww_watch.png and b/org.tizen.training/html/images/basic_app_project_explorer_ww_watch.png differ diff --git a/org.tizen.training/html/images/basic_app_running_ww_watch.png b/org.tizen.training/html/images/basic_app_running_ww_watch.png index c968316..8dea2fe 100644 Binary files a/org.tizen.training/html/images/basic_app_running_ww_watch.png and b/org.tizen.training/html/images/basic_app_running_ww_watch.png differ diff --git a/org.tizen.training/html/images/build_automatic_n.png b/org.tizen.training/html/images/build_automatic_n.png index 606e53d..3010545 100644 Binary files a/org.tizen.training/html/images/build_automatic_n.png and b/org.tizen.training/html/images/build_automatic_n.png differ diff --git a/org.tizen.training/html/images/build_automatic_w.png b/org.tizen.training/html/images/build_automatic_w.png index 6d949d7..9cc6c84 100644 Binary files a/org.tizen.training/html/images/build_automatic_w.png and b/org.tizen.training/html/images/build_automatic_w.png differ diff --git a/org.tizen.training/html/images/build_automatic_wn.png b/org.tizen.training/html/images/build_automatic_wn.png new file mode 100644 index 0000000..e97dc1d Binary files /dev/null and b/org.tizen.training/html/images/build_automatic_wn.png differ diff --git a/org.tizen.training/html/images/build_automatic_wn_watch.png b/org.tizen.training/html/images/build_automatic_wn_watch.png new file mode 100644 index 0000000..23d0eaf Binary files /dev/null and b/org.tizen.training/html/images/build_automatic_wn_watch.png differ diff --git a/org.tizen.training/html/images/build_automatic_wn_widget.png b/org.tizen.training/html/images/build_automatic_wn_widget.png new file mode 100644 index 0000000..e58a573 Binary files /dev/null and b/org.tizen.training/html/images/build_automatic_wn_widget.png differ diff --git a/org.tizen.training/html/images/build_automatic_ww.png b/org.tizen.training/html/images/build_automatic_ww.png new file mode 100644 index 0000000..40b1d11 Binary files /dev/null and b/org.tizen.training/html/images/build_automatic_ww.png differ diff --git a/org.tizen.training/html/images/build_automatic_ww_watch.png b/org.tizen.training/html/images/build_automatic_ww_watch.png new file mode 100644 index 0000000..55795c7 Binary files /dev/null and b/org.tizen.training/html/images/build_automatic_ww_watch.png differ diff --git a/org.tizen.training/html/images/build_icon_mn.png b/org.tizen.training/html/images/build_icon_mn.png deleted file mode 100644 index a510cad..0000000 Binary files a/org.tizen.training/html/images/build_icon_mn.png and /dev/null differ diff --git a/org.tizen.training/html/images/build_manual_mn.png b/org.tizen.training/html/images/build_manual_mn.png index cf32002..fdfd3b7 100644 Binary files a/org.tizen.training/html/images/build_manual_mn.png and b/org.tizen.training/html/images/build_manual_mn.png differ diff --git a/org.tizen.training/html/images/build_manual_mw.png b/org.tizen.training/html/images/build_manual_mw.png index 4b18a6b..7429499 100644 Binary files a/org.tizen.training/html/images/build_manual_mw.png and b/org.tizen.training/html/images/build_manual_mw.png differ diff --git a/org.tizen.training/html/images/build_manual_watch_wn.png b/org.tizen.training/html/images/build_manual_watch_wn.png deleted file mode 100644 index 03b9d67..0000000 Binary files a/org.tizen.training/html/images/build_manual_watch_wn.png and /dev/null differ diff --git a/org.tizen.training/html/images/build_manual_watch_ww.png b/org.tizen.training/html/images/build_manual_watch_ww.png index 86fa546..16a3984 100644 Binary files a/org.tizen.training/html/images/build_manual_watch_ww.png and b/org.tizen.training/html/images/build_manual_watch_ww.png differ diff --git a/org.tizen.training/html/images/build_manual_widget_wn.png b/org.tizen.training/html/images/build_manual_widget_wn.png deleted file mode 100644 index 5770fb4..0000000 Binary files a/org.tizen.training/html/images/build_manual_widget_wn.png and /dev/null differ diff --git a/org.tizen.training/html/images/build_manual_widget_ww.png b/org.tizen.training/html/images/build_manual_widget_ww.png new file mode 100644 index 0000000..da3a814 Binary files /dev/null and b/org.tizen.training/html/images/build_manual_widget_ww.png differ diff --git a/org.tizen.training/html/images/build_manual_wn.png b/org.tizen.training/html/images/build_manual_wn.png index 05d655a..0293da9 100644 Binary files a/org.tizen.training/html/images/build_manual_wn.png and b/org.tizen.training/html/images/build_manual_wn.png differ diff --git a/org.tizen.training/html/images/build_manual_wn_watch.png b/org.tizen.training/html/images/build_manual_wn_watch.png new file mode 100644 index 0000000..702cb5c Binary files /dev/null and b/org.tizen.training/html/images/build_manual_wn_watch.png differ diff --git a/org.tizen.training/html/images/build_manual_wn_widget.png b/org.tizen.training/html/images/build_manual_wn_widget.png new file mode 100644 index 0000000..63c52a4 Binary files /dev/null and b/org.tizen.training/html/images/build_manual_wn_widget.png differ diff --git a/org.tizen.training/html/images/build_manual_ww.png b/org.tizen.training/html/images/build_manual_ww.png index c766804..a9c60cd 100644 Binary files a/org.tizen.training/html/images/build_manual_ww.png and b/org.tizen.training/html/images/build_manual_ww.png differ diff --git a/org.tizen.training/html/images/change_perspective_n.png b/org.tizen.training/html/images/change_perspective_n.png index 5d197f0..dbf086f 100644 Binary files a/org.tizen.training/html/images/change_perspective_n.png and b/org.tizen.training/html/images/change_perspective_n.png differ diff --git a/org.tizen.training/html/images/change_perspective_w.png b/org.tizen.training/html/images/change_perspective_w.png index a08047f..3faeb00 100644 Binary files a/org.tizen.training/html/images/change_perspective_w.png and b/org.tizen.training/html/images/change_perspective_w.png differ diff --git a/org.tizen.training/html/images/change_perspective_w_widget.png b/org.tizen.training/html/images/change_perspective_w_widget.png deleted file mode 100644 index 0a244bc..0000000 Binary files a/org.tizen.training/html/images/change_perspective_w_widget.png and /dev/null differ diff --git a/org.tizen.training/html/images/create_project_1_n.png b/org.tizen.training/html/images/create_project_1_n.png index bdde8c3..7f9e7c5 100644 Binary files a/org.tizen.training/html/images/create_project_1_n.png and b/org.tizen.training/html/images/create_project_1_n.png differ diff --git a/org.tizen.training/html/images/create_project_1_w.png b/org.tizen.training/html/images/create_project_1_w.png index 124241f..21095cc 100644 Binary files a/org.tizen.training/html/images/create_project_1_w.png and b/org.tizen.training/html/images/create_project_1_w.png differ diff --git a/org.tizen.training/html/images/create_project_1_widget.png b/org.tizen.training/html/images/create_project_1_widget.png deleted file mode 100644 index 45ce3c7..0000000 Binary files a/org.tizen.training/html/images/create_project_1_widget.png and /dev/null differ diff --git a/org.tizen.training/html/images/create_project_2_mn.png b/org.tizen.training/html/images/create_project_2_mn.png deleted file mode 100644 index f37d3c7..0000000 Binary files a/org.tizen.training/html/images/create_project_2_mn.png and /dev/null differ diff --git a/org.tizen.training/html/images/create_project_2_mw.png b/org.tizen.training/html/images/create_project_2_mw.png deleted file mode 100644 index 0bbb864..0000000 Binary files a/org.tizen.training/html/images/create_project_2_mw.png and /dev/null differ diff --git a/org.tizen.training/html/images/create_project_2_widget.png b/org.tizen.training/html/images/create_project_2_widget.png deleted file mode 100644 index f0024ff..0000000 Binary files a/org.tizen.training/html/images/create_project_2_widget.png and /dev/null differ diff --git a/org.tizen.training/html/images/create_project_2_wn.png b/org.tizen.training/html/images/create_project_2_wn.png deleted file mode 100644 index e800bf3..0000000 Binary files a/org.tizen.training/html/images/create_project_2_wn.png and /dev/null differ diff --git a/org.tizen.training/html/images/create_project_2_wn_watch.png b/org.tizen.training/html/images/create_project_2_wn_watch.png deleted file mode 100644 index c3f9f6a..0000000 Binary files a/org.tizen.training/html/images/create_project_2_wn_watch.png and /dev/null differ diff --git a/org.tizen.training/html/images/create_project_2_wn_widget.png b/org.tizen.training/html/images/create_project_2_wn_widget.png deleted file mode 100644 index ebf7aed..0000000 Binary files a/org.tizen.training/html/images/create_project_2_wn_widget.png and /dev/null differ diff --git a/org.tizen.training/html/images/create_project_2_ww.png b/org.tizen.training/html/images/create_project_2_ww.png deleted file mode 100644 index 3438898..0000000 Binary files a/org.tizen.training/html/images/create_project_2_ww.png and /dev/null differ diff --git a/org.tizen.training/html/images/create_project_2_ww_watch.png b/org.tizen.training/html/images/create_project_2_ww_watch.png deleted file mode 100644 index 2e50713..0000000 Binary files a/org.tizen.training/html/images/create_project_2_ww_watch.png and /dev/null differ diff --git a/org.tizen.training/html/images/create_project_3_widget.png b/org.tizen.training/html/images/create_project_3_widget.png deleted file mode 100644 index 5c5c2ed..0000000 Binary files a/org.tizen.training/html/images/create_project_3_widget.png and /dev/null differ diff --git a/org.tizen.training/html/images/create_project_4_widget.png b/org.tizen.training/html/images/create_project_4_widget.png deleted file mode 100644 index 498e64b..0000000 Binary files a/org.tizen.training/html/images/create_project_4_widget.png and /dev/null differ diff --git a/org.tizen.training/html/images/create_project_5_widget.png b/org.tizen.training/html/images/create_project_5_widget.png deleted file mode 100644 index 4356aba..0000000 Binary files a/org.tizen.training/html/images/create_project_5_widget.png and /dev/null differ diff --git a/org.tizen.training/html/images/create_project_wizard_app.png b/org.tizen.training/html/images/create_project_wizard_app.png new file mode 100644 index 0000000..5fe1fae Binary files /dev/null and b/org.tizen.training/html/images/create_project_wizard_app.png differ diff --git a/org.tizen.training/html/images/create_project_wizard_app_wearable.png b/org.tizen.training/html/images/create_project_wizard_app_wearable.png new file mode 100644 index 0000000..b278f4f Binary files /dev/null and b/org.tizen.training/html/images/create_project_wizard_app_wearable.png differ diff --git a/org.tizen.training/html/images/create_project_wizard_app_web.png b/org.tizen.training/html/images/create_project_wizard_app_web.png new file mode 100644 index 0000000..e5d6e63 Binary files /dev/null and b/org.tizen.training/html/images/create_project_wizard_app_web.png differ diff --git a/org.tizen.training/html/images/create_project_wizard_app_web_wearable.png b/org.tizen.training/html/images/create_project_wizard_app_web_wearable.png new file mode 100644 index 0000000..a132b02 Binary files /dev/null and b/org.tizen.training/html/images/create_project_wizard_app_web_wearable.png differ diff --git a/org.tizen.training/html/images/create_project_wizard_properties.png b/org.tizen.training/html/images/create_project_wizard_properties.png new file mode 100644 index 0000000..fc947d8 Binary files /dev/null and b/org.tizen.training/html/images/create_project_wizard_properties.png differ diff --git a/org.tizen.training/html/images/create_project_wizard_properties_mw.png b/org.tizen.training/html/images/create_project_wizard_properties_mw.png new file mode 100644 index 0000000..adbae26 Binary files /dev/null and b/org.tizen.training/html/images/create_project_wizard_properties_mw.png differ diff --git a/org.tizen.training/html/images/create_project_wizard_properties_wn.png b/org.tizen.training/html/images/create_project_wizard_properties_wn.png new file mode 100644 index 0000000..98ca57b Binary files /dev/null and b/org.tizen.training/html/images/create_project_wizard_properties_wn.png differ diff --git a/org.tizen.training/html/images/create_project_wizard_properties_wn_watch.png b/org.tizen.training/html/images/create_project_wizard_properties_wn_watch.png new file mode 100644 index 0000000..8272b15 Binary files /dev/null and b/org.tizen.training/html/images/create_project_wizard_properties_wn_watch.png differ diff --git a/org.tizen.training/html/images/create_project_wizard_properties_wn_widget.png b/org.tizen.training/html/images/create_project_wizard_properties_wn_widget.png new file mode 100644 index 0000000..9f80ae9 Binary files /dev/null and b/org.tizen.training/html/images/create_project_wizard_properties_wn_widget.png differ diff --git a/org.tizen.training/html/images/create_project_wizard_properties_ww.png b/org.tizen.training/html/images/create_project_wizard_properties_ww.png new file mode 100644 index 0000000..6a8e7fd Binary files /dev/null and b/org.tizen.training/html/images/create_project_wizard_properties_ww.png differ diff --git a/org.tizen.training/html/images/create_project_wizard_properties_ww_watch.png b/org.tizen.training/html/images/create_project_wizard_properties_ww_watch.png new file mode 100644 index 0000000..07367e5 Binary files /dev/null and b/org.tizen.training/html/images/create_project_wizard_properties_ww_watch.png differ diff --git a/org.tizen.training/html/images/create_project_wizard_properties_ww_widget.png b/org.tizen.training/html/images/create_project_wizard_properties_ww_widget.png new file mode 100644 index 0000000..607c202 Binary files /dev/null and b/org.tizen.training/html/images/create_project_wizard_properties_ww_widget.png differ diff --git a/org.tizen.training/html/images/create_project_wizard_sample.png b/org.tizen.training/html/images/create_project_wizard_sample.png new file mode 100644 index 0000000..8730918 Binary files /dev/null and b/org.tizen.training/html/images/create_project_wizard_sample.png differ diff --git a/org.tizen.training/html/images/create_project_wizard_template.png b/org.tizen.training/html/images/create_project_wizard_template.png new file mode 100644 index 0000000..8624cd2 Binary files /dev/null and b/org.tizen.training/html/images/create_project_wizard_template.png differ diff --git a/org.tizen.training/html/images/create_project_wizard_template_mw.png b/org.tizen.training/html/images/create_project_wizard_template_mw.png new file mode 100644 index 0000000..fd54ae8 Binary files /dev/null and b/org.tizen.training/html/images/create_project_wizard_template_mw.png differ diff --git a/org.tizen.training/html/images/create_project_wizard_template_wn.png b/org.tizen.training/html/images/create_project_wizard_template_wn.png new file mode 100644 index 0000000..8944dd2 Binary files /dev/null and b/org.tizen.training/html/images/create_project_wizard_template_wn.png differ diff --git a/org.tizen.training/html/images/create_project_wizard_template_wn_watch.png b/org.tizen.training/html/images/create_project_wizard_template_wn_watch.png new file mode 100644 index 0000000..c502f10 Binary files /dev/null and b/org.tizen.training/html/images/create_project_wizard_template_wn_watch.png differ diff --git a/org.tizen.training/html/images/create_project_wizard_template_wn_widget.png b/org.tizen.training/html/images/create_project_wizard_template_wn_widget.png new file mode 100644 index 0000000..b331bc9 Binary files /dev/null and b/org.tizen.training/html/images/create_project_wizard_template_wn_widget.png differ diff --git a/org.tizen.training/html/images/create_project_wizard_template_ww.png b/org.tizen.training/html/images/create_project_wizard_template_ww.png new file mode 100644 index 0000000..b0d0d1c Binary files /dev/null and b/org.tizen.training/html/images/create_project_wizard_template_ww.png differ diff --git a/org.tizen.training/html/images/create_project_wizard_template_ww_widget.png b/org.tizen.training/html/images/create_project_wizard_template_ww_widget.png new file mode 100644 index 0000000..62d6218 Binary files /dev/null and b/org.tizen.training/html/images/create_project_wizard_template_ww_widget.png differ diff --git a/org.tizen.training/html/images/create_project_wizard_type.png b/org.tizen.training/html/images/create_project_wizard_type.png new file mode 100644 index 0000000..03366a0 Binary files /dev/null and b/org.tizen.training/html/images/create_project_wizard_type.png differ diff --git a/org.tizen.training/html/images/create_project_wizard_type_sample.png b/org.tizen.training/html/images/create_project_wizard_type_sample.png new file mode 100644 index 0000000..d970dfa Binary files /dev/null and b/org.tizen.training/html/images/create_project_wizard_type_sample.png differ diff --git a/org.tizen.training/html/images/create_project_wizard_version.png b/org.tizen.training/html/images/create_project_wizard_version.png new file mode 100644 index 0000000..3a48c8b Binary files /dev/null and b/org.tizen.training/html/images/create_project_wizard_version.png differ diff --git a/org.tizen.training/html/images/create_project_wizard_version_wearable.png b/org.tizen.training/html/images/create_project_wizard_version_wearable.png new file mode 100644 index 0000000..0217ce6 Binary files /dev/null and b/org.tizen.training/html/images/create_project_wizard_version_wearable.png differ diff --git a/org.tizen.training/html/images/emulator_empty.png b/org.tizen.training/html/images/emulator_empty.png deleted file mode 100644 index fa439e9..0000000 Binary files a/org.tizen.training/html/images/emulator_empty.png and /dev/null differ diff --git a/org.tizen.training/html/images/emulator_icon.png b/org.tizen.training/html/images/emulator_icon.png index 7beceba..9cf336a 100644 Binary files a/org.tizen.training/html/images/emulator_icon.png and b/org.tizen.training/html/images/emulator_icon.png differ diff --git a/org.tizen.training/html/images/emulator_instance_create.png b/org.tizen.training/html/images/emulator_instance_create.png new file mode 100644 index 0000000..58b371b Binary files /dev/null and b/org.tizen.training/html/images/emulator_instance_create.png differ diff --git a/org.tizen.training/html/images/emulator_instance_launch.png b/org.tizen.training/html/images/emulator_instance_launch.png new file mode 100644 index 0000000..c516b59 Binary files /dev/null and b/org.tizen.training/html/images/emulator_instance_launch.png differ diff --git a/org.tizen.training/html/images/emulator_instance_launch_wearable.png b/org.tizen.training/html/images/emulator_instance_launch_wearable.png new file mode 100644 index 0000000..e591952 Binary files /dev/null and b/org.tizen.training/html/images/emulator_instance_launch_wearable.png differ diff --git a/org.tizen.training/html/images/emulator_instance_platform.png b/org.tizen.training/html/images/emulator_instance_platform.png new file mode 100644 index 0000000..0b43599 Binary files /dev/null and b/org.tizen.training/html/images/emulator_instance_platform.png differ diff --git a/org.tizen.training/html/images/emulator_instance_platform_wearable.png b/org.tizen.training/html/images/emulator_instance_platform_wearable.png new file mode 100644 index 0000000..fedce7c Binary files /dev/null and b/org.tizen.training/html/images/emulator_instance_platform_wearable.png differ diff --git a/org.tizen.training/html/images/emulator_instance_properties.png b/org.tizen.training/html/images/emulator_instance_properties.png new file mode 100644 index 0000000..28a8ad2 Binary files /dev/null and b/org.tizen.training/html/images/emulator_instance_properties.png differ diff --git a/org.tizen.training/html/images/emulator_instance_properties_wearable.png b/org.tizen.training/html/images/emulator_instance_properties_wearable.png new file mode 100644 index 0000000..82ee061 Binary files /dev/null and b/org.tizen.training/html/images/emulator_instance_properties_wearable.png differ diff --git a/org.tizen.training/html/images/emulator_instance_version.png b/org.tizen.training/html/images/emulator_instance_version.png new file mode 100644 index 0000000..77b4990 Binary files /dev/null and b/org.tizen.training/html/images/emulator_instance_version.png differ diff --git a/org.tizen.training/html/images/emulator_instance_version_wearable.png b/org.tizen.training/html/images/emulator_instance_version_wearable.png new file mode 100644 index 0000000..8c5b23c Binary files /dev/null and b/org.tizen.training/html/images/emulator_instance_version_wearable.png differ diff --git a/org.tizen.training/html/images/emulator_launch_mobile.png b/org.tizen.training/html/images/emulator_launch_mobile.png deleted file mode 100644 index b296262..0000000 Binary files a/org.tizen.training/html/images/emulator_launch_mobile.png and /dev/null differ diff --git a/org.tizen.training/html/images/emulator_launch_w.png b/org.tizen.training/html/images/emulator_launch_w.png deleted file mode 100644 index d710835..0000000 Binary files a/org.tizen.training/html/images/emulator_launch_w.png and /dev/null differ diff --git a/org.tizen.training/html/images/emulator_launch_wearable.png b/org.tizen.training/html/images/emulator_launch_wearable.png deleted file mode 100644 index 51c5ec7..0000000 Binary files a/org.tizen.training/html/images/emulator_launch_wearable.png and /dev/null differ diff --git a/org.tizen.training/html/images/emulator_new_mobile.png b/org.tizen.training/html/images/emulator_new_mobile.png deleted file mode 100644 index acd78fd..0000000 Binary files a/org.tizen.training/html/images/emulator_new_mobile.png and /dev/null differ diff --git a/org.tizen.training/html/images/emulator_new_wearable.png b/org.tizen.training/html/images/emulator_new_wearable.png deleted file mode 100644 index d680cf5..0000000 Binary files a/org.tizen.training/html/images/emulator_new_wearable.png and /dev/null differ diff --git a/org.tizen.training/html/images/emulator_platform.png b/org.tizen.training/html/images/emulator_platform.png deleted file mode 100644 index ca573f1..0000000 Binary files a/org.tizen.training/html/images/emulator_platform.png and /dev/null differ diff --git a/org.tizen.training/html/images/emulator_play.png b/org.tizen.training/html/images/emulator_play.png deleted file mode 100644 index b576945..0000000 Binary files a/org.tizen.training/html/images/emulator_play.png and /dev/null differ diff --git a/org.tizen.training/html/images/emulator_play_widget.png b/org.tizen.training/html/images/emulator_play_widget.png deleted file mode 100644 index f2ac57c..0000000 Binary files a/org.tizen.training/html/images/emulator_play_widget.png and /dev/null differ diff --git a/org.tizen.training/html/images/emulator_running_watch_ww.png b/org.tizen.training/html/images/emulator_running_watch_ww.png index fc29e32..3158cff 100644 Binary files a/org.tizen.training/html/images/emulator_running_watch_ww.png and b/org.tizen.training/html/images/emulator_running_watch_ww.png differ diff --git a/org.tizen.training/html/images/emulator_settings_mobile.png b/org.tizen.training/html/images/emulator_settings_mobile.png deleted file mode 100644 index ed8aa3d..0000000 Binary files a/org.tizen.training/html/images/emulator_settings_mobile.png and /dev/null differ diff --git a/org.tizen.training/html/images/emulator_settings_w.png b/org.tizen.training/html/images/emulator_settings_w.png deleted file mode 100644 index 4b2d79e..0000000 Binary files a/org.tizen.training/html/images/emulator_settings_w.png and /dev/null differ diff --git a/org.tizen.training/html/images/emulator_settings_wearable.png b/org.tizen.training/html/images/emulator_settings_wearable.png deleted file mode 100644 index 6aa7da7..0000000 Binary files a/org.tizen.training/html/images/emulator_settings_wearable.png and /dev/null differ diff --git a/org.tizen.training/html/images/emulator_window_mobile.png b/org.tizen.training/html/images/emulator_window_mobile.png index afed43d..7ad83a1 100644 Binary files a/org.tizen.training/html/images/emulator_window_mobile.png and b/org.tizen.training/html/images/emulator_window_mobile.png differ diff --git a/org.tizen.training/html/images/emulator_window_w_widget.png b/org.tizen.training/html/images/emulator_window_w_widget.png deleted file mode 100644 index e9147b5..0000000 Binary files a/org.tizen.training/html/images/emulator_window_w_widget.png and /dev/null differ diff --git a/org.tizen.training/html/images/emulator_window_wearable.png b/org.tizen.training/html/images/emulator_window_wearable.png index 96992ee..4805f5b 100644 Binary files a/org.tizen.training/html/images/emulator_window_wearable.png and b/org.tizen.training/html/images/emulator_window_wearable.png differ diff --git a/org.tizen.training/html/images/emulator_window_ww_widget.png b/org.tizen.training/html/images/emulator_window_ww_widget.png deleted file mode 100644 index 4daa075..0000000 Binary files a/org.tizen.training/html/images/emulator_window_ww_widget.png and /dev/null differ diff --git a/org.tizen.training/html/images/first_app_download_wn.png b/org.tizen.training/html/images/first_app_download_wn.png deleted file mode 100644 index ef83f16..0000000 Binary files a/org.tizen.training/html/images/first_app_download_wn.png and /dev/null differ diff --git a/org.tizen.training/html/images/first_app_download_ww_widget.png b/org.tizen.training/html/images/first_app_download_ww_widget.png deleted file mode 100644 index ba7d470..0000000 Binary files a/org.tizen.training/html/images/first_app_download_ww_widget.png and /dev/null differ diff --git a/org.tizen.training/html/images/graphics_project.png b/org.tizen.training/html/images/graphics_project.png index 22d6f48..5df5967 100644 Binary files a/org.tizen.training/html/images/graphics_project.png and b/org.tizen.training/html/images/graphics_project.png differ diff --git a/org.tizen.training/html/images/hello_wearable.png b/org.tizen.training/html/images/hello_wearable.png deleted file mode 100644 index aed852d..0000000 Binary files a/org.tizen.training/html/images/hello_wearable.png and /dev/null differ diff --git a/org.tizen.training/html/images/optimizingappper_funprof.png b/org.tizen.training/html/images/optimizingappper_funprof.png index e2f2525..98cd517 100644 Binary files a/org.tizen.training/html/images/optimizingappper_funprof.png and b/org.tizen.training/html/images/optimizingappper_funprof.png differ diff --git a/org.tizen.training/html/images/remote_conn_add_ww.png b/org.tizen.training/html/images/remote_conn_add_ww.png index 5e1d54a..d353ffc 100644 Binary files a/org.tizen.training/html/images/remote_conn_add_ww.png and b/org.tizen.training/html/images/remote_conn_add_ww.png differ diff --git a/org.tizen.training/html/images/remote_conn_mgr_ww.png b/org.tizen.training/html/images/remote_conn_mgr_ww.png index e04712b..e3a8c02 100644 Binary files a/org.tizen.training/html/images/remote_conn_mgr_ww.png and b/org.tizen.training/html/images/remote_conn_mgr_ww.png differ diff --git a/org.tizen.training/html/images/remote_conn_new_ww.png b/org.tizen.training/html/images/remote_conn_new_ww.png index 26570f5..b7c9c2b 100644 Binary files a/org.tizen.training/html/images/remote_conn_new_ww.png and b/org.tizen.training/html/images/remote_conn_new_ww.png differ diff --git a/org.tizen.training/html/images/remote_connect_ww.png b/org.tizen.training/html/images/remote_connect_ww.png index 5cd01ec..4574815 100644 Binary files a/org.tizen.training/html/images/remote_connect_ww.png and b/org.tizen.training/html/images/remote_connect_ww.png differ diff --git a/org.tizen.training/html/images/remote_connected_ww_widget.png b/org.tizen.training/html/images/remote_connected_ww_widget.png deleted file mode 100644 index d0feae8..0000000 Binary files a/org.tizen.training/html/images/remote_connected_ww_widget.png and /dev/null differ diff --git a/org.tizen.training/html/images/run_configurations_n.png b/org.tizen.training/html/images/run_configurations_n.png index 0b43220..621d3bd 100644 Binary files a/org.tizen.training/html/images/run_configurations_n.png and b/org.tizen.training/html/images/run_configurations_n.png differ diff --git a/org.tizen.training/html/images/run_configurations_n_watch.png b/org.tizen.training/html/images/run_configurations_n_watch.png deleted file mode 100644 index fb1029b..0000000 Binary files a/org.tizen.training/html/images/run_configurations_n_watch.png and /dev/null differ diff --git a/org.tizen.training/html/images/run_configurations_n_widget.png b/org.tizen.training/html/images/run_configurations_n_widget.png deleted file mode 100644 index 5b95bc5..0000000 Binary files a/org.tizen.training/html/images/run_configurations_n_widget.png and /dev/null differ diff --git a/org.tizen.training/html/images/run_configurations_w.png b/org.tizen.training/html/images/run_configurations_w.png index 474cfad..e87d2ab 100644 Binary files a/org.tizen.training/html/images/run_configurations_w.png and b/org.tizen.training/html/images/run_configurations_w.png differ diff --git a/org.tizen.training/html/images/run_configurations_w_widget.png b/org.tizen.training/html/images/run_configurations_w_widget.png index e7ade91..d2c7a8d 100644 Binary files a/org.tizen.training/html/images/run_configurations_w_widget.png and b/org.tizen.training/html/images/run_configurations_w_widget.png differ diff --git a/org.tizen.training/html/images/run_configurations_watch_ww.png b/org.tizen.training/html/images/run_configurations_watch_ww.png deleted file mode 100644 index fa7ae79..0000000 Binary files a/org.tizen.training/html/images/run_configurations_watch_ww.png and /dev/null differ diff --git a/org.tizen.training/html/images/run_configurations_wn_watch.png b/org.tizen.training/html/images/run_configurations_wn_watch.png new file mode 100644 index 0000000..2db5f6a Binary files /dev/null and b/org.tizen.training/html/images/run_configurations_wn_watch.png differ diff --git a/org.tizen.training/html/images/run_configurations_wn_widget.png b/org.tizen.training/html/images/run_configurations_wn_widget.png new file mode 100644 index 0000000..e767f35 Binary files /dev/null and b/org.tizen.training/html/images/run_configurations_wn_widget.png differ diff --git a/org.tizen.training/html/images/run_configurations_ww_watch.png b/org.tizen.training/html/images/run_configurations_ww_watch.png new file mode 100644 index 0000000..43c98a3 Binary files /dev/null and b/org.tizen.training/html/images/run_configurations_ww_watch.png differ diff --git a/org.tizen.training/html/images/run_new_config_w_widget.png b/org.tizen.training/html/images/run_new_config_w_widget.png deleted file mode 100644 index 002a205..0000000 Binary files a/org.tizen.training/html/images/run_new_config_w_widget.png and /dev/null differ diff --git a/org.tizen.training/html/images/simple_ui_tau_create_mw.png b/org.tizen.training/html/images/simple_ui_tau_create_mw.png index eb9abdd..2868366 100644 Binary files a/org.tizen.training/html/images/simple_ui_tau_create_mw.png and b/org.tizen.training/html/images/simple_ui_tau_create_mw.png differ diff --git a/org.tizen.training/html/images/simple_ui_tau_create_ww.png b/org.tizen.training/html/images/simple_ui_tau_create_ww.png index 04ea299..1ee021a 100644 Binary files a/org.tizen.training/html/images/simple_ui_tau_create_ww.png and b/org.tizen.training/html/images/simple_ui_tau_create_ww.png differ diff --git a/org.tizen.training/html/images/simple_ui_tau_dir_mw.png b/org.tizen.training/html/images/simple_ui_tau_dir_mw.png index c93c765..b08d5a4 100644 Binary files a/org.tizen.training/html/images/simple_ui_tau_dir_mw.png and b/org.tizen.training/html/images/simple_ui_tau_dir_mw.png differ diff --git a/org.tizen.training/html/images/simple_ui_tau_dir_ww.png b/org.tizen.training/html/images/simple_ui_tau_dir_ww.png index e1bf034..0d40458 100644 Binary files a/org.tizen.training/html/images/simple_ui_tau_dir_ww.png and b/org.tizen.training/html/images/simple_ui_tau_dir_ww.png differ diff --git a/org.tizen.training/html/images/simple_ui_tau_new_js_mw.png b/org.tizen.training/html/images/simple_ui_tau_new_js_mw.png index 478c4ba..93984c8 100644 Binary files a/org.tizen.training/html/images/simple_ui_tau_new_js_mw.png and b/org.tizen.training/html/images/simple_ui_tau_new_js_mw.png differ diff --git a/org.tizen.training/html/images/simple_ui_tau_new_js_name_mw.png b/org.tizen.training/html/images/simple_ui_tau_new_js_name_mw.png deleted file mode 100644 index 5d7f142..0000000 Binary files a/org.tizen.training/html/images/simple_ui_tau_new_js_name_mw.png and /dev/null differ diff --git a/org.tizen.training/html/images/simple_ui_tau_properties_mw.png b/org.tizen.training/html/images/simple_ui_tau_properties_mw.png new file mode 100644 index 0000000..996c972 Binary files /dev/null and b/org.tizen.training/html/images/simple_ui_tau_properties_mw.png differ diff --git a/org.tizen.training/html/images/simple_ui_tau_properties_ww.png b/org.tizen.training/html/images/simple_ui_tau_properties_ww.png new file mode 100644 index 0000000..a0b627f Binary files /dev/null and b/org.tizen.training/html/images/simple_ui_tau_properties_ww.png differ diff --git a/org.tizen.training/html/images/simple_ui_update_mgr_mw.png b/org.tizen.training/html/images/simple_ui_update_mgr_mw.png deleted file mode 100644 index 0a64aea..0000000 Binary files a/org.tizen.training/html/images/simple_ui_update_mgr_mw.png and /dev/null differ diff --git a/org.tizen.training/html/images/simple_ui_update_mgr_ww.png b/org.tizen.training/html/images/simple_ui_update_mgr_ww.png index 41b6a4a..4b8e50e 100644 Binary files a/org.tizen.training/html/images/simple_ui_update_mgr_ww.png and b/org.tizen.training/html/images/simple_ui_update_mgr_ww.png differ diff --git a/org.tizen.training/html/images/simulator_run_mw.png b/org.tizen.training/html/images/simulator_run_mw.png index c870cc9..424260e 100644 Binary files a/org.tizen.training/html/images/simulator_run_mw.png and b/org.tizen.training/html/images/simulator_run_mw.png differ diff --git a/org.tizen.training/html/images/tizen_project_explorer.png b/org.tizen.training/html/images/tizen_project_explorer.png index abd5fb9..38ab5af 100644 Binary files a/org.tizen.training/html/images/tizen_project_explorer.png and b/org.tizen.training/html/images/tizen_project_explorer.png differ diff --git a/org.tizen.training/html/images/tizen_project_explorer_w.png b/org.tizen.training/html/images/tizen_project_explorer_w.png new file mode 100644 index 0000000..4adfbf1 Binary files /dev/null and b/org.tizen.training/html/images/tizen_project_explorer_w.png differ diff --git a/org.tizen.training/html/images/user_template_export.png b/org.tizen.training/html/images/user_template_export.png deleted file mode 100644 index da788a9..0000000 Binary files a/org.tizen.training/html/images/user_template_export.png and /dev/null differ diff --git a/org.tizen.training/html/images/view_package_mw.png b/org.tizen.training/html/images/view_package_mw.png index 9b5bbff..f7971d5 100644 Binary files a/org.tizen.training/html/images/view_package_mw.png and b/org.tizen.training/html/images/view_package_mw.png differ diff --git a/org.tizen.training/html/images/watch_run_install_watch_ww.png b/org.tizen.training/html/images/watch_run_install_watch_ww.png index 9e8219c..566667c 100644 Binary files a/org.tizen.training/html/images/watch_run_install_watch_ww.png and b/org.tizen.training/html/images/watch_run_install_watch_ww.png differ diff --git a/org.tizen.training/html/images/watch_run_install_wn.png b/org.tizen.training/html/images/watch_run_install_wn.png index 85e4a7f..cc345c2 100644 Binary files a/org.tizen.training/html/images/watch_run_install_wn.png and b/org.tizen.training/html/images/watch_run_install_wn.png differ diff --git a/org.tizen.training/html/images/web_application_wizard.png b/org.tizen.training/html/images/web_application_wizard.png deleted file mode 100644 index d4117c4..0000000 Binary files a/org.tizen.training/html/images/web_application_wizard.png and /dev/null differ diff --git a/org.tizen.training/html/index.htm b/org.tizen.training/html/index.htm index 34d011c..eb72de5 100644 --- a/org.tizen.training/html/index.htm +++ b/org.tizen.training/html/index.htm @@ -50,12 +50,12 @@
    3. Designing Your Native Application
    4. Understanding Tizen Programming @@ -122,7 +122,8 @@
    5. Security and API Privileges
    6. Application Filtering
    7. Web Runtime
    8. -
    9. Event Handling
    10. +
    11. Event Handling
    12. +
    13. API Versioning and Deprecation Policy of the Tizen Platform
    14. Application Signing and Certificates
    15. diff --git a/org.tizen.training/html/native/app_model/application_model_n.htm b/org.tizen.training/html/native/app_model/application_model_n.htm index f615794..14b5979 100644 --- a/org.tizen.training/html/native/app_model/application_model_n.htm +++ b/org.tizen.training/html/native/app_model/application_model_n.htm @@ -121,16 +121,11 @@ These devices have constraints, such as relatively small screen sizes and lack o

      The following list shows the directory hierarchy:

        -
      • bin -

        Executable binary path

      • -
      • lib -

        Library path

      • -
      • res -

        Resource path

      • -
      • data -

        The application's own directory (read or write): no initial data

      • -
      • shared/ -

        For sharing with other applications

        +
      • bin: Executable binary path
      • +
      • lib: Library path
      • +
      • res: Resource path
      • +
      • data: The application's own directory (read or write); no initial data
      • +
      • shared/: For sharing with other applications

        Sandboxing refers to an application package which can access its own directories only. It is used to share resources in the shared directories.

        In sandboxing, SMACK is used, and discretionary access control (DAC) is applied to application package directories and files. The uid(root, app) is applied to directories and files.

      • diff --git a/org.tizen.training/html/native/details/deprecation_policy_n.htm b/org.tizen.training/html/native/details/deprecation_policy_n.htm index aa4d7e1..33ec81c 100644 --- a/org.tizen.training/html/native/details/deprecation_policy_n.htm +++ b/org.tizen.training/html/native/details/deprecation_policy_n.htm @@ -18,7 +18,7 @@
        -

        Mobile native Wearable native

        +

        Mobile Wearable

        Content

        diff --git a/org.tizen.training/html/native/details/details_n.htm b/org.tizen.training/html/native/details/details_n.htm index 22f6b53..f1a82ec 100644 --- a/org.tizen.training/html/native/details/details_n.htm +++ b/org.tizen.training/html/native/details/details_n.htm @@ -34,12 +34,12 @@

        When designing Tizen native applications, you need to take into account the following programming concepts:

        diff --git a/org.tizen.training/html/native/details/sec_privileges_n.htm b/org.tizen.training/html/native/details/sec_privileges_n.htm index 0bf9c69..2d18e1f 100644 --- a/org.tizen.training/html/native/details/sec_privileges_n.htm +++ b/org.tizen.training/html/native/details/sec_privileges_n.htm @@ -39,7 +39,18 @@ tr.partner-level, tr.platform-level { background-color: #cff }
      • The platform level is the highest privilege level, and an application that needs these privileges requires at least a platform-signed certificate, which is granted to vendor developers.
      -

      Since Tizen platform 3.0, some privileges are categorized as privacy related and gives option to the users to switch them on and off. If an application invokes a privileged API, the Tizen system checks whether the privilege is allowed to it. For application to get a required privilege, the privilege must be declared in the tizen-manifest.xml file. If the platform version is 3.0 or higher and the privilege is included in privacy group, it must not be switched off.

      +

      Since Tizen platform 3.0, some privileges are categorized as privacy-related and give an option to the user to switch them on and off. If an application invokes a privacy-related privileged API, the Tizen system checks whether the privilege is allowed for the application. For the application to use the API, the privilege must be declared in the tizen-manifest.xml file and the user must have switched it on.

      + +
      Table: Naviframe item styles
      + + + + + + + + +
      Note
      In applications with the platform version 3.0 or higher, if you use privacy-related privileged APIs, make sure that the user has switched the privilege on before making the function call. Otherwise, the application does not work as expected.

      The Tizen Studio also provides privilege checker tools to check whether the Tizen application source code contains any privilege violations. For more information, see Verifying APIs and Privileges.

      @@ -83,21 +94,21 @@ tr.partner-level, tr.platform-level { background-color: #cff } 2.3 The application can set alarms and wake the device up at scheduled times. - + http://tizen.org/privilege/antivirus.admin platform 3.0 The application can enable or disable antivirus programs and manage detected malware. - + http://tizen.org/privilege/antivirus.scan partner 3.0 The application can request to scan files in other applications or on the device to detect harmful content. - + http://tizen.org/privilege/antivirus.webprotect partner @@ -111,7 +122,7 @@ tr.partner-level, tr.platform-level { background-color: #cff } 2.4 The application can read the statistics of application usage, such as which applications have been used frequently or recently. - + http://tizen.org/privilege/appmanager.kill platform @@ -139,14 +150,14 @@ tr.partner-level, tr.platform-level { background-color: #cff } 2.3 The application can perform unrestricted actions using Bluetooth, such as scanning for and connecting to other devices. - + http://tizen.org/privilege/bluetooth.admin platform 2.3 -The application can change Bluetooth settings, such as turning Bluetooth on or off, set the device name, and enable or disable the AV remote control. +The application can change Bluetooth settings, such as switching Bluetooth on or off, setting the device name, and enabling or disabling the AV remote control. - + http://tizen.org/privilege/bookmark.admin platform Bookmark @@ -193,7 +204,7 @@ tr.partner-level, tr.platform-level { background-color: #cff } public Camera 2.3 -The application can take pictures and turn the camera flash on and off while using the camera. +The application can take pictures and switch the camera flash on and off while using the camera. http://tizen.org/privilege/contact.read @@ -244,124 +255,124 @@ tr.partner-level, tr.platform-level { background-color: #cff } 2.3 The application can manage HTTP downloads. This can result in additional charges depending on the user's payment plan. - + http://tizen.org/privilege/dpm.bluetooth partner 3.0 The application can restrict Bluetooth connections. This can prevent applications that use Bluetooth from working properly.

      Allowed to licensed partners.

      - + http://tizen.org/privilege/dpm.browser partner 3.0 The application can prevent the use of browser applications. This can prevent applications that use browser applications from working properly.

      Allowed to licensed partners.

      - + http://tizen.org/privilege/dpm.camera partner 3.0 The application can restrict the use of the camera. This can prevent applications that use the camera from working properly.

      Allowed to licensed partners.

      - + http://tizen.org/privilege/dpm.clipboard partner 3.0 The application can restrict the use of the clipboard. This can prevent applications that use the clipboard from working properly.

      Allowed to licensed partners.

      - + http://tizen.org/privilege/dpm.debugging partner 3.0 The application can restrict the use of debugging. This can prevent applications that use debugging from working properly.

      Allowed to licensed partners.

      - + http://tizen.org/privilege/dpm.email partner 3.0 The application can restrict POP and IMAP email access. This can prevent applications that use email services from working properly.

      Allowed to licensed partners.

      - + http://tizen.org/privilege/dpm.location partner 3.0 The application can restrict the use of location functions. This can prevent applications that use location functions from working properly.

      Allowed to licensed partners.

      - + http://tizen.org/privilege/dpm.lock partner 3.0 The application can lock the device.

      Allowed to licensed partners.

      - + http://tizen.org/privilege/dpm.message partner 3.0 The application can restrict the use of text, multimedia, and chat messaging services. This can prevent applications that use messaging services from working properly.

      Allowed to licensed partners.

      - + http://tizen.org/privilege/dpm.microphone partner 3.0 The application can restrict the use of the microphone. This can prevent applications that use the microphone from working properly.

      Allowed to licensed partners.

      - + http://tizen.org/privilege/dpm.password partner 3.0 The application can manage password policies and reset the passwords used to unlock the device and recover data.

      Allowed to licensed partners.

      - + http://tizen.org/privilege/dpm.security partner 3.0 -The application can change security settings such as those for certificate installation, data encryption, and factory data resets.

      Allowed to licensed partners.

      +The application can change security settings, such as those for certificate installation, data encryption, and factory data resets.

      Allowed to licensed partners.

      - + http://tizen.org/privilege/dpm.storage partner 3.0 -The application can prevent the use of external storage such as SD cards and USB storage devices. This can prevent applications that use external storage from working properly.

      Allowed to licensed partners.

      +The application can prevent the use of external storages, such as SD cards and USB storage devices. This can prevent applications that use external storage from working properly.

      Allowed to licensed partners.

      - + http://tizen.org/privilege/dpm.usb partner 3.0 The application can prevent USB connections, including the use of USB tethering. This can prevent applications that use USB connections from working properly.

      Allowed to licensed partners.

      - + http://tizen.org/privilege/dpm.wifi partner 3.0 -The application can restrict the use of Wi-Fi networks and mobile hotspots. If the device can't connect to a Wi-Fi network, it can connect to a mobile network. This can result in additional charges depending on the user's payment plan.

      Allowed to licensed partners.

      +The application can restrict the use of Wi-Fi networks and mobile hotspots. If the device cannot connect to a Wi-Fi network, it can connect to a mobile network. This can result in additional charges depending on the user's payment plan.

      Allowed to licensed partners.

      - + http://tizen.org/privilege/dpm.wipe partner 3.0 The application can erase all data from the user's device and reset the user's device to its factory default settings.

      Allowed to licensed partners.

      - + http://tizen.org/privilege/dpm.zone partner 3.0 -The application can create and remove containers. Containers are private workspaces which provide separate app runtime environments and data storage.

      Allowed to licensed partners.

      +The application can create and remove containers. Containers are private workspaces which provide separate application runtime environments and data storage.

      Allowed to licensed partners.

      http://tizen.org/privilege/email @@ -370,7 +381,7 @@ tr.partner-level, tr.platform-level { background-color: #cff } 2.3 The application can manage the user's email accounts, including the user's folders and emails, POP3 and IMAP downloads, and SMTP uploads. This can result in additional charges depending on the user's payment plan. - + http://tizen.org/privilege/email.admin platform @@ -412,14 +423,14 @@ tr.partner-level, tr.platform-level { background-color: #cff } 2.4 The application can manage installed input methods. - + http://tizen.org/privilege/inputgenerator platform 2.4 The application can simulate keys being pressed and touch interactions with the screen. - + http://tizen.org/privilege/keygrab platform @@ -431,9 +442,9 @@ tr.partner-level, tr.platform-level { background-color: #cff } public 2.3 -The application can save keys, certificates, and data to, and retrieve and delete them from, password-protected storage. Checking the statuses of certificates while connected to a mobile network can result in additional charges depending on the user's payment plan.

      Deprecated since 3.0.

      +The application can save keys, certificates, and data to, and retrieve and delete them from, a password-protected storage. Checking the status of certificates while connected to a mobile network can result in additional charges depending on the user's payment plan.

      Deprecated since 3.0.

      - + http://tizen.org/privilege/keymanager.admin platform @@ -445,7 +456,7 @@ tr.partner-level, tr.platform-level { background-color: #cff } public 2.3 -The application can turn LEDs on or off, such as the LED on the front of the device and the camera flash. +The application can switch LEDs on or off, such as the LED on the front of the device and the camera flash. http://tizen.org/privilege/location @@ -459,9 +470,9 @@ tr.partner-level, tr.platform-level { background-color: #cff } public Location 3.0 -The application can determine the user's approximate location including the user's device's Cell ID, LAC (Location Area Code), and TAC (Tracking Area Code). +The application can determine the user's approximate location including the user device's Cell ID, LAC (Location Area Code), and TAC (Tracking Area Code). - + http://tizen.org/privilege/location.enable platform Location @@ -508,7 +519,7 @@ tr.partner-level, tr.platform-level { background-color: #cff } public Message 2.3 -The application can write, send, delete, and move text and multimedia messages, and change the settings and statuses of the messages, such as read or unread. +The application can write, send, delete, and move text and multimedia messages, and change the settings and status of the messages, such as read or unread. http://tizen.org/privilege/minicontrol.provider @@ -522,7 +533,7 @@ tr.partner-level, tr.platform-level { background-color: #cff } public 2.3 -The application can retrieve network information such as the status of each network, its type, and detailed network profile information. +The application can retrieve network information, such as the status of each network, its type, and detailed network profile information. http://tizen.org/privilege/network.profile @@ -536,7 +547,7 @@ tr.partner-level, tr.platform-level { background-color: #cff } public 2.3 -The application can turn Wi-Fi on and off, and connect to and disconnect from Wi-Fi and mobile networks. This can result in additional charges depending on the user's payment plan. +The application can switch Wi-Fi on and off, and connect to and disconnect from Wi-Fi and mobile networks. This can result in additional charges depending on the user's payment plan. http://tizen.org/privilege/nfc @@ -545,12 +556,12 @@ tr.partner-level, tr.platform-level { background-color: #cff } 2.3 The application can read and write NFC tag information, and send NFC messages to other devices. - + http://tizen.org/privilege/nfc.admin platform 2.3 -The application can change NFC settings, such as turning NFC on or off. +The application can change NFC settings, such as switching NFC on or off. http://tizen.org/privilege/nfc.cardemulation @@ -566,7 +577,7 @@ tr.partner-level, tr.platform-level { background-color: #cff } 2.3 The application can show and hide its own notifications and badges. - + http://tizen.org/privilege/packagemanager.admin platform @@ -601,7 +612,7 @@ tr.partner-level, tr.platform-level { background-color: #cff } 2.3 The application can receive notifications from the Internet. This can result in additional charges depending on the user's payment plan. - + http://tizen.org/privilege/reboot platform @@ -615,7 +626,7 @@ tr.partner-level, tr.platform-level { background-color: #cff } 2.3 The application can record video and audio. - + http://tizen.org/privilege/screenshot platform @@ -650,7 +661,7 @@ tr.partner-level, tr.platform-level { background-color: #cff } 2.3 The application can read and write unrestricted system settings.

      Deprecated since 2.3.1.

      - + http://tizen.org/privilege/systemsettings.admin platform @@ -662,16 +673,16 @@ tr.partner-level, tr.platform-level { background-color: #cff } public 2.3 -The application can retrieve telephony information, such as the network and SIM card used, the IMEI, and the statuses of calls. +The application can retrieve telephony information, such as the network and SIM card used, the IMEI, and the status of calls. - + http://tizen.org/privilege/telephony.admin platform 2.3 The application can manage telephony settings, such as those for incoming and outgoing calls, forwarding and holding calls, networks, and SIM cards. - + http://tizen.org/privilege/tethering.admin platform @@ -699,7 +710,7 @@ tr.partner-level, tr.platform-level { background-color: #cff } 3.0 The application can manage the VPN (virtual private network) and change its settings. - + http://tizen.org/privilege/web-history.admin platform User history @@ -718,7 +729,7 @@ tr.partner-level, tr.platform-level { background-color: #cff } public 2.3 -The application can enable and disable Wi-Fi Direct, manage Wi-Fi Direct connections, and change Wi-Fi Direct settings. +The application can enable and disable Wi-Fi Direct™, manage Wi-Fi Direct™ connections, and change Wi-Fi Direct™ settings. http://tizen.org/privilege/window.priority.set @@ -768,28 +779,28 @@ tr.partner-level, tr.platform-level { background-color: #cff } 2.3.1 The application can set alarms and wake the device up at scheduled times. - + http://tizen.org/privilege/antivirus.admin platform 3.0 The application can enable or disable antivirus programs and manage detected malware. - + http://tizen.org/privilege/antivirus.scan partner 3.0 -The application can request to scan files in any other applications or on the device to detect harmful content. +The application can request to scan files in other applications or on the device to detect harmful content. - + http://tizen.org/privilege/antivirus.webprotect partner 3.0 -The application can check the reputation of a web address and determine whether accessing it can put the user's device at risk. +The application can check the reputation of a Web address and determine whether accessing it can put the user's device at risk. - + http://tizen.org/privilege/appmanager.kill platform @@ -817,12 +828,12 @@ tr.partner-level, tr.platform-level { background-color: #cff } 2.3.1 The application can perform unrestricted actions using Bluetooth, such as scanning for and connecting to other devices. - + http://tizen.org/privilege/bluetooth.admin platform 2.3.1 -The application can change Bluetooth settings, such as turning Bluetooth on or off, set the device name, and enable or disable the AV remote control. +The application can change Bluetooth settings, such as switching Bluetooth on or off, setting the device name, and enabling or disabling the AV remote control. http://tizen.org/privilege/call @@ -850,7 +861,7 @@ tr.partner-level, tr.platform-level { background-color: #cff } public Camera 2.3.1 -The application can take pictures and turn the camera flash on and off while using the camera. +The application can take pictures and switch the camera flash on and off while using the camera. http://tizen.org/privilege/contact.read @@ -901,124 +912,124 @@ tr.partner-level, tr.platform-level { background-color: #cff } 2.3.1 The application can manage HTTP downloads. This can result in additional charges depending on the user's payment plan. - + http://tizen.org/privilege/dpm.bluetooth partner 3.0 The application can restrict Bluetooth connections. This can prevent applications that use Bluetooth from working properly.

      Allowed to licensed partners.

      - + http://tizen.org/privilege/dpm.browser partner 3.0 The application can prevent the use of browser applications. This can prevent applications that use browser applications from working properly.

      Allowed to licensed partners.

      - + http://tizen.org/privilege/dpm.camera partner 3.0 The application can restrict the use of the camera. This can prevent applications that use the camera from working properly.

      Allowed to licensed partners.

      - + http://tizen.org/privilege/dpm.clipboard partner 3.0 The application can restrict the use of the clipboard. This can prevent applications that use the clipboard from working properly.

      Allowed to licensed partners.

      - + http://tizen.org/privilege/dpm.debugging partner 3.0 The application can restrict the use of debugging. This can prevent applications that use debugging from working properly.

      Allowed to licensed partners.

      - + http://tizen.org/privilege/dpm.email partner 3.0 The application can restrict POP and IMAP email access. This can prevent applications that use email services from working properly.

      Allowed to licensed partners.

      - + http://tizen.org/privilege/dpm.location partner 3.0 The application can restrict the use of location functions. This can prevent applications that use location functions from working properly.

      Allowed to licensed partners.

      - + http://tizen.org/privilege/dpm.lock partner 3.0 The application can lock the device.

      Allowed to licensed partners.

      - + http://tizen.org/privilege/dpm.message partner 3.0 The application can restrict the use of text, multimedia, and chat messaging services. This can prevent applications that use messaging services from working properly.

      Allowed to licensed partners.

      - + http://tizen.org/privilege/dpm.microphone partner 3.0 The application can restrict the use of the microphone. This can prevent applications that use the microphone from working properly.

      Allowed to licensed partners.

      - + http://tizen.org/privilege/dpm.password partner 3.0 The application can manage password policies and reset the passwords used to unlock the device and recover data.

      Allowed to licensed partners.

      - + http://tizen.org/privilege/dpm.security partner 3.0 -The application can change security settings such as those for certificate installation, data encryption, and factory data resets.

      Allowed to licensed partners.

      +The application can change security settings, such as those for certificate installation, data encryption, and factory data resets.

      Allowed to licensed partners.

      - + http://tizen.org/privilege/dpm.storage partner 3.0 -The application can prevent the use of external storage such as SD cards and USB storage devices. This can prevent applications that use external storage from working properly.

      Allowed to licensed partners.

      +The application can prevent the use of external storages, such as SD cards and USB storage devices. This can prevent applications that use external storage from working properly.

      Allowed to licensed partners.

      - + http://tizen.org/privilege/dpm.usb partner 3.0 The application can prevent USB connections, including the use of USB tethering. This can prevent applications that use USB connections from working properly.

      Allowed to licensed partners.

      - + http://tizen.org/privilege/dpm.wifi partner 3.0 -The application can restrict the use of Wi-Fi networks and mobile hotspots. If the phone can't connect to a Wi-Fi network, it can connect to a mobile network. This can result in additional charges depending on the user's payment plan.

      Allowed to licensed partners.

      +The application can restrict the use of Wi-Fi networks and mobile hotspots. If the device cannot connect to a Wi-Fi network, it can connect to a mobile network. This can result in additional charges depending on the user's payment plan.

      Allowed to licensed partners.

      - + http://tizen.org/privilege/dpm.wipe partner 3.0 The application can erase all data from the user's device and reset the user's device to its factory default settings.

      Allowed to licensed partners.

      - + http://tizen.org/privilege/dpm.zone partner 3.0 -The application can create and remove containers. Containers are private workspaces which provide separate app runtime environments and data storage.

      Allowed to licensed partners.

      +The application can create and remove containers. Containers are private workspaces which provide separate application runtime environments and data storage.

      Allowed to licensed partners.

      http://tizen.org/privilege/email @@ -1062,14 +1073,14 @@ tr.partner-level, tr.platform-level { background-color: #cff } 3.0 The application can manage installed input methods. - + http://tizen.org/privilege/inputgenerator platform 3.0 The application can simulate keys being pressed and touch interactions with the screen. - + http://tizen.org/privilege/keygrab platform @@ -1081,9 +1092,9 @@ tr.partner-level, tr.platform-level { background-color: #cff } public 2.3.1 -The application can save keys, certificates, and data to, and retrieve and delete them from password-protected storage. +The application can save keys, certificates, and data to, and retrieve and delete them from, a password-protected storage. - + http://tizen.org/privilege/keymanager.admin platform @@ -1096,7 +1107,7 @@ tr.partner-level, tr.platform-level { background-color: #cff } public 2.3.1 -The application can turn LEDs on or off, such as the LED on the front of the device and the camera flash. +The application can switch LEDs on or off, such as the LED on the front of the device and the camera flash. http://tizen.org/privilege/location @@ -1110,14 +1121,14 @@ tr.partner-level, tr.platform-level { background-color: #cff } public Location 3.0 -The application can determine the user's approximate location including the user's device's Cell ID, LAC (Location Area Code), and TAC (Tracking Area Code). +The application can determine the user's approximate location including the user device's Cell ID, LAC (Location Area Code), and TAC (Tracking Area Code). - + http://tizen.org/privilege/location.enable platform Location 2.3.1 -The application can control your location service settings. +The application can control the user's location service settings. http://tizen.org/privilege/mapservice @@ -1152,14 +1163,14 @@ tr.partner-level, tr.platform-level { background-color: #cff } public Message 2.3.1 -The application can write, send, delete, and move text and multimedia messages, download multimedia messages, and change the settings and statuses of messages, such as read or unread. This can result in additional charges depending on the user's payment plan. +The application can write, send, delete, and move text and multimedia messages, download multimedia messages, and change the settings and status of the messages, such as read or unread. This can result in additional charges depending on the user's payment plan. http://tizen.org/privilege/network.get public 2.3.1 -The application can retrieve network information such as the status of each network, its type, and detailed network profile information. +The application can retrieve network information, such as the status of each network, its type, and detailed network profile information. http://tizen.org/privilege/network.profile @@ -1173,7 +1184,7 @@ tr.partner-level, tr.platform-level { background-color: #cff } public 2.3.1 -The application can turn Wi-Fi on and off, and connect to and disconnect from Wi-Fi and mobile networks. This can result in additional charges depending on the user's payment plan. +The application can switch Wi-Fi on and off, and connect to and disconnect from Wi-Fi and mobile networks. This can result in additional charges depending on the user's payment plan. http://tizen.org/privilege/nfc @@ -1182,12 +1193,12 @@ tr.partner-level, tr.platform-level { background-color: #cff } 2.3.1 The application can read and write NFC tag information, and send NFC messages to other devices. - + http://tizen.org/privilege/nfc.admin platform 2.3.1 -The application can change NFC settings, such as turning NFC on or off. +The application can change NFC settings, such as switching NFC on or off. http://tizen.org/privilege/nfc.cardemulation @@ -1203,7 +1214,7 @@ tr.partner-level, tr.platform-level { background-color: #cff } 2.3.1 The application can show and hide its own notifications and badges. - + http://tizen.org/privilege/packagemanager.admin platform @@ -1238,7 +1249,7 @@ tr.partner-level, tr.platform-level { background-color: #cff } 2.3.1 The application can receive notifications from the Internet. This can result in additional charges depending on the user's payment plan. - + http://tizen.org/privilege/reboot platform @@ -1252,7 +1263,7 @@ tr.partner-level, tr.platform-level { background-color: #cff } 2.3.1 The application can record video and audio. - + http://tizen.org/privilege/screenshot platform @@ -1273,7 +1284,7 @@ tr.partner-level, tr.platform-level { background-color: #cff } 3.0 The application can read system information, including information from the CPU and RAM. - + http://tizen.org/privilege/systemsettings.admin platform @@ -1285,9 +1296,9 @@ tr.partner-level, tr.platform-level { background-color: #cff } public 2.3.1 -The application can retrieve telephony information, such as the network and SIM card used, the IMEI, and the statuses of calls. +The application can retrieve telephony information, such as the network and SIM card used, the IMEI, and the status of calls. - + http://tizen.org/privilege/telephony.admin platform @@ -1320,7 +1331,7 @@ tr.partner-level, tr.platform-level { background-color: #cff } public 2.3.1 -The application can appear on top of other windows and screens, including the lock screen, according to the order of priority of the windows. This can prevent you from interacting with other applications or screens until the window for the application is closed. +The application can appear on top of other windows and screens, including the lock screen, according to the order of priority of the windows. This can prevent the user from interacting with other applications or screens until the window for the application is closed. @@ -1374,8 +1385,8 @@ tr.partner-level, tr.platform-level { background-color: #cff } http://tizen.org/privilege/appdir.shareddata public 3.0 / 3.0 -Since Tizen 3.0, application must have this privilege to support shared/data directory. -

      The app_get_shared_data_path() and app_manager_get_shared_data_path() functions return an error when the application does not have this privilege. Note that the shared/data directory is writable for the application itself and readable for all other applications. You must be careful when you use this privilege and share data through the shared/data directory. To share files with another application, try to pass the file path through an app control. It is a more secure way for sharing files between applications.

      +Since Tizen 3.0, the application must have this privilege to support the shared/data directory. +

      The app_get_shared_data_path() and app_manager_get_shared_data_path() functions return an error when the application does not have this privilege. Note that the shared/data directory is writable for the application itself and readable for all other applications. You must be careful when you use this privilege and share data through the shared/data directory. For a more secure way of sharing files with another application, try to pass the file path through an application control.

      diff --git a/org.tizen.training/html/native/details/tizen_apis_n.htm b/org.tizen.training/html/native/details/tizen_apis_n.htm index 18a4811..dfc59f6 100644 --- a/org.tizen.training/html/native/details/tizen_apis_n.htm +++ b/org.tizen.training/html/native/details/tizen_apis_n.htm @@ -52,20 +52,20 @@ Table: Mobile native API modules - API module - Description + API module API submodule - Functionality + Functionality + Description Account + Account Manager + Provides CRUD (Create, Read, Update, Delete) account management functionality. The Account API module features include managing various account information, such as receiving sync operation notifications and obtaining an access token by using the OAuth 2.0 authorization.

      Guides:

      - Account Manager - Provides CRUD (Create, Read, Update, Delete) account management functionality. FIDO Client @@ -88,6 +88,9 @@ Application Framework + Application + Manages the application's main event loop, state change events, and basic system events, and gets information about the application. It is also used to launch other applications. + The Application Framework API contains submodule APIs for application development. The submodule APIs enable application life-cycle management, usage of functionality that is exported by other applications, and access to a user's application preferences.

      Guides:

      - Application - Manages the application's main event loop, state change events, and basic system events, and gets information about the application. It is also used to launch other applications. - Service Application @@ -147,14 +147,14 @@ Base + C++ Standard Library + Provides a standard C++ library. The Base API contains submodule APIs for internationalization support and contains various open source libraries.

      Guides:

      - C++ Standard Library - Provides a standard C++ library. zlib

      (since 2.4)

      @@ -191,13 +191,13 @@ Content + Download + Creates and manages one or more download requests. Content is downloaded from servers through an HTTP connection. The Content API module contains submodule APIs for managing the most common device media data types, such as image, audio, and video files. It provides operations to search for content, search for content information stored on the device, create playlists, download content from servers through an HTTP connection, and access the EXIF information of an image file.

      Guides:

      - Download - Creates and manages one or more download requests. Content is downloaded from servers through an HTTP connection. MIME Type @@ -209,13 +209,13 @@ Context + Activity Recognition + Detects user activities, such as walking, running, and being in a moving vehicle with a device. The Context API module contains submodule APIs to detect user information such as when a user is running with a device and device information such as gestures when a device is tilted.

      Guides:

      - Activity Recognition - Detects user activities, such as walking, running, and being in a moving vehicle with a device. Gesture Recognition @@ -231,12 +231,12 @@ Location + Location Manager + Acquires information about the geographical location of the device. It also allows the receiving of notifications about position changes, velocity changes, and when a given geographical area is left. The Location API module allows the geographical position of a device to be determined for use with location-based services.

      Guides:

      - Location Manager - Acquires information about the geographical location of the device. It also allows the receiving of notifications about position changes, velocity changes, and when a given geographical area is left. Geofence Manager

      (since 2.4)

      @@ -249,13 +249,13 @@ Messaging + Email + Allows composing, sending, and receiving of email messages. The Messaging API module contains submodule APIs which grant access to the messaging capabilities, such as SMS, MMS and email, of the device.

      Guides:

      - Email - Allows composing, sending, and receiving of email messages. Messages @@ -267,13 +267,13 @@ - Multimedia - The Multimedia API module contains submodule APIs for easily integrating an application with audio, image, and video files. It can also be used for image editing. + Multimedia + Audio I/O + Manages the system audio devices by granting access to the hardware layer of the sound card. This API must be used for tasks that require raw audio data buffers in PCM format. + The Multimedia API module contains submodule APIs for easily integrating an application with audio, image, and video files. It can also be used for image editing.

      Guides:

      - Audio I/O - Manages the system audio devices by granting access to the hardware layer of the sound card. This API must be used for tasks that require raw audio data buffers in PCM format. Camera @@ -298,11 +298,7 @@ Media Demuxer

      (since 3.0)

      Provides functions for demuxing media data. - - - Media key - Provides functions to handle media keys from external devices that are connected to the Tizen device, such as the volume control buttons on a headset. - + Media Muxer

      (since 3.0)

      Provides functions for muxing media data. @@ -370,13 +366,13 @@ Network + Bluetooth + Manages Bluetooth devices. This involves launching the Bluetooth adapter and discovering, connecting, and bonding with other Bluetooth devices. The Network API module contains submodule APIs, which can be used for data communication. It is responsible for managing connections, maintaining IP addresses, and connecting to the system through Bluetooth, Hypertext Transfer Protocol (HTTP), Near Field Communication (NFC), Sockets, and Wi-Fi. It also provides functions for retrieving information about a specific host from the Internet Domain Name System (DNS).

      Guides:

      - Bluetooth - Manages Bluetooth devices. This involves launching the Bluetooth adapter and discovering, connecting, and bonding with other Bluetooth devices. Connection @@ -429,12 +425,12 @@ Security + Key Manager + Provides functions to store keys, certificates, and sensitive data related to users and their password-protected applications in a secure repository. It also provides cryptographic operations to prevent key value names from being revealed to clients. The Security API module contains submodule APIs which provide basic cryptographic functions, various utility functions through the OpenSSL open source library, and a secure password-protected repository for keys, certificates, and sensitive data.

      Guides:

      - Key Manager - Provides functions to store keys, certificates, and sensitive data related to users and their password-protected applications in a secure repository. It also provides cryptographic operations to prevent key value names from being revealed to clients. OpenSSL @@ -446,13 +442,13 @@ Social + Calendar + Manages calendars, including events and tasks. It also stores and queries calendar information. The Social API module contains submodule APIs to manage personal data, such as contacts and calendars on a device.

      Guides:

      - Calendar - Manages calendars, including events and tasks. It also stores and queries calendar information. Contacts @@ -463,23 +459,28 @@ Provides common interfaces, such as using a local service for various service infra. - System - The System API module contains submodule APIs for system management. + System + Device + Controls devices and monitors their status. For example, this submodule API can be used to control and monitor the device battery, display, and LED. + The System API module contains submodule APIs for system management.

      Guides:

      - Device - Controls devices and monitors their status. For example, this submodule API can be used to control and monitor the device battery, display, and LED. Feedback

      (since 2.4)

      Provides functions to play sound or vibration associated with properties. + + Media key + Provides functions to handle media keys from external devices that are connected to the Tizen device, such as the volume control buttons on a headset. + Runtime information Obtains runtime information of a mobile device. For example, this submodule API can obtain information about the device's GPS. @@ -512,13 +513,13 @@ Telephony + Telephony Information + Obtains call, network, and SIM information. The Telephony API module contains a submodule API to enable an application to access the telephony capabilities of the device, such as the call facility (call information and status), the network query services, and the SIM module.

      Guides:

      - Telephony Information - Obtains call, network, and SIM information. Phonenumber utils

      (since 2.4)

      @@ -527,6 +528,8 @@ UI Framework + Cairo + Provides a library for 2D vector graphics drawing. Vector graphics are advantageous because they have small file sizes and can be scaled to any size without any loss of image quality. Cairo EvasGL APIs have been newly added since 2.3.1. The UI Framework API module contains submodule APIs and open source libraries for 2D and 3D graphics and text.

      Guides:

      - Cairo - Provides a library for 2D vector graphics drawing. Vector graphics are advantageous because they have small file sizes and can be scaled to any size without any loss of image quality. Cairo EvasGL APIs have been newly added since 2.3.1. DALi @@ -576,12 +577,12 @@ UIX + STT + Provides functions to recognize speech. The UIX API module contains submodule APIs for managing sound data, such as voice commands.

      Guides:

      - STT - Provides functions to recognize speech. TTS @@ -605,12 +606,12 @@ Web + Json-Glib + Allows reading and parsing of JavaScript Object Notation (JSON) documents. The Web API module contains submodule APIs for browsing the Internet, tracking browsing history, downloading Web content, and manipulating JavaScript Object Notation (JSON) documents.

      Guides:

      - Json-Glib - Allows reading and parsing of JavaScript Object Notation (JSON) documents. WebView @@ -636,20 +637,20 @@ Table: Wearable native API modules - API module - Description + API module API submodule - Functionality + Functionality + Description Account + Account Manager + Provides CRUD (Create, Read, Update, Delete) account management functionality. The Account API module features include managing various account information, such as receiving sync operation notifications and obtaining an access token by using the OAuth 2.0 authorization.

      Guides:

      - Account Manager - Provides CRUD (Create, Read, Update, Delete) account management functionality. FIDO Client @@ -672,6 +673,9 @@ Application Framework + Application + Manages the application's main event loop, state change events, and basic system events, and gets information about the application. It is also used to launch other applications. + The Application Framework API contains submodule APIs for application development. The submodule APIs enable application life-cycle management, usage of functionality that is exported by other applications, and access to a user's application preferences.

      Guides:

      @@ -679,9 +683,6 @@
    16. Alarms and Scheduling
    17. Application Management
    18. - Application - Manages the application's main event loop, state change events, and basic system events, and gets information about the application. It is also used to launch other applications. - Service Application @@ -722,14 +723,14 @@ Base + C++ Standard Library + Provides a standard C++ library. The Base API contains submodule APIs for internationalization support and contains various open source libraries.

      Guides:

      - C++ Standard Library - Provides a standard C++ library. EGlibc @@ -761,12 +762,12 @@ Content + MIME Type + Maps MIME types to file extensions and vice versa. For example, the .jpeg file extension is mapped to the image/jpeg MIME type, which is required when using other API modules, such as the AppControl API in the Application submodule API, because it operates with MIME types. The Content API module contains submodule APIs for managing the most common device media data types, such as image, audio, and video files. It provides operations to search for content, search for content information stored on the device, create playlists, and access the EXIF information of an image file.

      Guides:

      - MIME Type - Maps MIME types to file extensions and vice versa. For example, the .jpeg file extension is mapped to the image/jpeg MIME type, which is required when using other API modules, such as the AppControl API in the Application submodule API, because it operates with MIME types. Media Content @@ -774,12 +775,12 @@ Context + Activity Recognition + Detects user activities, such as walking, running, and being in a moving vehicle with a device. The Context API module contains submodule APIs to detect user information such as when a user is running with a device and device information such as gestures when a device is tilted.

      Guides:

      - Activity Recognition - Detects user activities, such as walking, running, and being in a moving vehicle with a device. Gesture Recognition @@ -787,36 +788,35 @@ Location + Location Manager + Acquires information about the geographical location of the device. It also allows the receiving of notifications about position changes, velocity changes, and when a given geographical area is left. The Location API module allows the geographical position of a device to be determined for use with location-based services.

      Guides:

      - Location Manager - Acquires information about the geographical location of the device. It also allows the receiving of notifications about position changes, velocity changes, and when a given geographical area is left. Messaging + Messages + Allows composing, sending, and receiving of SMS, MMS, and WAP push messages. The Messaging API module contains submodule APIs which grant access to the messaging capabilities, such as SMS and MMS, of the device.

      Guides:

      - Messages - Allows composing, sending, and receiving of SMS, MMS, and WAP push messages. Push Allows receiving of push notifications from a push server. - - - - Multimedia - The Multimedia API module contains submodule APIs for easily integrating an application with audio, image, and video files. It can also be used for image editing. + + + Multimedia + Audio I/O + Manages the system audio devices by granting access to the hardware layer of the sound card. This API must be used for tasks that require raw audio data buffers in PCM format. + The Multimedia API module contains submodule APIs for easily integrating an application with audio, image, and video files. It can also be used for image editing.

      Guides:

      - Audio I/O - Manages the system audio devices by granting access to the hardware layer of the sound card. This API must be used for tasks that require raw audio data buffers in PCM format. Camera @@ -837,11 +837,7 @@ Media Demuxer

      (since 3.0)

      Provides functions for demuxing media data. - - - Media key - Provides functions to handle media keys from external devices that are connected to the Tizen device, such as the volume control buttons on a headset. - + Media Muxer

      (since 3.0)

      Provides functions for muxing media data. @@ -889,13 +885,13 @@ Network + Bluetooth + Manages Bluetooth devices. This involves launching the Bluetooth adapter and discovering, connecting, and bonding with other Bluetooth devices. The Network API module contains submodule APIs, which can be used for data communication. It is responsible for managing connections, maintaining IP addresses, and connecting to the system through Bluetooth, Hypertext Transfer Protocol (HTTP), Near Field Communication (NFC), Sockets, and Wi-Fi. It also provides functions for retrieving information about a specific host from the Internet Domain Name System (DNS).

      Guides:

      - Bluetooth - Manages Bluetooth devices. This involves launching the Bluetooth adapter and discovering, connecting, and bonding with other Bluetooth devices. Connection @@ -940,12 +936,12 @@ Security + Key Manager + Provides functions to store keys, certificates, and sensitive data related to users and their password-protected applications in a secure repository. It also provides cryptographic operations to prevent key value names from being revealed to clients. The Security API module contains submodule APIs which provide basic cryptographic functions, various utility functions through the OpenSSL open source library, and a secure password-protected repository for keys, certificates, and sensitive data.

      Guides:

      - Key Manager - Provides functions to store keys, certificates, and sensitive data related to users and their password-protected applications in a secure repository. It also provides cryptographic operations to prevent key value names from being revealed to clients. OpenSSL @@ -957,25 +953,30 @@ Social + Contacts

      (since 3.0)

      + Manages phone contact information, such as address books, persons, and phone logs. The Social API module contains submodule APIs to manage personal data, such as contacts on a device.

      Guides:

      - Contacts

      (since 3.0)

      - Manages phone contact information, such as address books, persons, and phone logs. - System - The System API module contains submodule APIs for system management. + System + Device + Controls devices and monitors their status. For example, this submodule API can be used to control and monitor the device battery, display, and LED. + The System API module contains submodule APIs for system management.

      Guides:

      +
    19. Location and Sensors
    20. +
    21. Media and Camera
    22. - Device - Controls devices and monitors their status. For example, this submodule API can be used to control and monitor the device battery, display, and LED. + + + Media key + Provides functions to handle media keys from external devices that are connected to the Tizen device, such as the volume control buttons on a headset. Runtime information @@ -1004,28 +1005,32 @@ Telephony + Telephony Information + Obtains call, network, and SIM information. The Telephony API module contains a submodule API to enable an application to access the telephony capabilities of the device, such as the call facility (call information and status), the network query services, and the SIM module.

      Guides:

      - Telephony Information - Obtains call, network, and SIM information. Phonenumber utils

      (since 3.0)

      Provides functions for parsing and formatting phone numbers. - UI Framework - The UI Framework API module contains submodule APIs and open source libraries for 2D and 3D graphics and text. + UI Framework + Cairo + Provides a library for 2D vector graphics drawing. Vector graphics are advantageous because they have small file sizes and can be scaled to any size without any loss of image quality. This module also includes Cairo EvasGL APIs which have been designed to support hardware-accelerated rendering. + The UI Framework API module contains submodule APIs and open source libraries for 2D and 3D graphics and text.

      Guides:

      - Cairo - Provides a library for 2D vector graphics drawing. Vector graphics are advantageous because they have small file sizes and can be scaled to any size without any loss of image quality. This module also includes Cairo EvasGL APIs which have been designed to support hardware-accelerated rendering. - + + + DALi + Provides a cross-platform 3D UI Toolkit for embedded systems. + EFL Provides a collection of libraries that are independent and can be built on top of each other to provide useful features that complement the existing environment. @@ -1049,33 +1054,29 @@ UIX + STT + Provides functions to recognize speech. The UIX API module contains submodule APIs for managing sound data.

      Guides:

      - STT - Provides functions to recognize speech. TTS Provides functions for synthesizing voice from text and playing synthesized sound data. - Web - The Web API module contains submodule APIs for browsing the Internet, tracking browsing history, downloading Web content, and manipulating JavaScript Object Notation (JSON) documents. + Web + Json-Glib + Allows reading and parsing of JavaScript Object Notation (JSON) documents. + The Web API module contains submodule APIs for browsing the Internet, tracking browsing history, downloading Web content, and manipulating JavaScript Object Notation (JSON) documents.

      Guides:

      - Json-Glib - Allows reading and parsing of JavaScript Object Notation (JSON) documents. WebView Displays and controls Web pages. This submodule API contains interfaces for browsing, tracking browsing history, and downloading Web content. - - - libOAuth - Provides a library for using an open standard for secure authorization. This library enables users to securely log into an account on an application by using their logon credentials from another secondary account that they can have with another account provider or application. diff --git a/org.tizen.training/html/native/feature/app_battery_power_n.htm b/org.tizen.training/html/native/feature/app_battery_power_n.htm index 5ef4182..9f04bdf 100644 --- a/org.tizen.training/html/native/feature/app_battery_power_n.htm +++ b/org.tizen.training/html/native/feature/app_battery_power_n.htm @@ -105,7 +105,7 @@

      Required Privileges

      -

      To use the location service, the application must declare the required privileges in the tizen-manifest.xml file. For more information on the Tizen privileges, see Security and API Privileges.

      +

      To use the location service, the application must declare the required privileges in the tizen-manifest.xml file. For more information on the Tizen privileges, see Security and API Privileges.

      For this example, the application manifest must include the following privileges:

      @@ -369,4 +369,4 @@ var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga
       
       
       
      -
      \ No newline at end of file
      +
      diff --git a/org.tizen.training/html/native/feature/app_connectivity_operation_n.htm b/org.tizen.training/html/native/feature/app_connectivity_operation_n.htm
      index 90c2c27..e953ff9 100644
      --- a/org.tizen.training/html/native/feature/app_connectivity_operation_n.htm
      +++ b/org.tizen.training/html/native/feature/app_connectivity_operation_n.htm
      @@ -533,7 +533,7 @@ json_parse(char *file_name, void *data)
           /* Load a file to parse */
           json_parser_load_from_file(parser, file_name, &error);
       
      -    dlog_print(DLOG_DEBUG, LOG_TAG, "parsing  %s", file_name);
      +    dlog_print(DLOG_DEBUG, LOG_TAG, "parsing %s", file_name);
       
           if (error) {
               dlog_print(DLOG_DEBUG, LOG_TAG, "parsing failed");
      @@ -564,13 +564,13 @@ json_parse(char *file_name, void *data)
               ;
               JsonObject *object;
               object = json_node_get_object(root);
      -        json_object_foreach_member(object, object_member_cb, (gpointer) root_associated);
      +        json_object_foreach_member(object, object_member_cb, (gpointer)root_associated);
               break;
           case JSON_NODE_ARRAY:
               ;
               JsonArray *array;
               array = json_node_get_array(root);
      -        json_array_foreach_element(array, array_element_cb, (gpointer) root_associated);
      +        json_array_foreach_element(array, array_element_cb, (gpointer)root_associated);
               break;
           default:
               ;
      diff --git a/org.tizen.training/html/native/feature/ui_builder_overview_mn.htm b/org.tizen.training/html/native/feature/ui_builder_overview_mn.htm
      index eb980c8..05b39af 100644
      --- a/org.tizen.training/html/native/feature/ui_builder_overview_mn.htm
      +++ b/org.tizen.training/html/native/feature/ui_builder_overview_mn.htm
      @@ -86,7 +86,7 @@
       
       

      EFL Structure on Tizen

      EFL is a collection of libraries that cover a range of functionality from managing the application life-cycle to rendering graphical objects. EFL libraries build on top of each other in layers, steadily becoming higher-level, yet allowing access to lower levels. The higher up you go, the less you have to do yourself. Elementary is at the top, but you still access the layers below it for common tasks, as there is no need for Elementary to wrap things that work perfectly well as-is.

      -

      To learn more about each library, go to Enlightenment Foundation Libraries (EFL). This section only briefly describes the hierarchical structure of your application on Tizen.

      +

      To learn more about each library, go to Introduction. This section only briefly describes the hierarchical structure of your application on Tizen.

      Figure: EFL structure

      EFL structure

      diff --git a/org.tizen.training/html/native/mobile/first_app_mn.htm b/org.tizen.training/html/native/mobile/first_app_mn.htm index 5959f05..b6cb87a 100644 --- a/org.tizen.training/html/native/mobile/first_app_mn.htm +++ b/org.tizen.training/html/native/mobile/first_app_mn.htm @@ -80,13 +80,13 @@
    23. Launch the Tizen Studio.

    24. -

      Make sure the Tizen Native perspective is selected in the top right corner of the Tizen Studio window.

      +

      Make sure the Native perspective is selected in the top right corner of the Tizen Studio window.

      Checking the perspective

      -

      If not, select it. If the perspective is not visible, in the Tizen Studio menu, select Window > Open Perspective > Other > Tizen Native, and click OK.

      +

      If not, select it. If the perspective is not visible, in the Tizen Studio menu, select Window > Perspective > Open Perspective > Other > Native, and click OK.

    25. -

      In the Tizen Studio menu, select File > New > Tizen Native Project.

      +

      In the Tizen Studio menu, select File > New > Tizen Project.

      Creating a new Tizen Native project

      The Project Wizard opens.

    26. @@ -95,12 +95,25 @@

      In the Project Wizard, define the project details.

      The Project Wizard is used to create the basic application skeleton with the required folder structure and mandatory files. You can easily create different applications by selecting an applicable template or sample for the Project Wizard to use.

        -
      1. Select the Template tab and the MOBILE-[version] > Basic UI template. The version depends on the SDK version you have installed and with which you are developing the application.

      2. -
      3. Change the project name, if you want.

      4. -
      5. Leave all other fields in the Project Wizard to their default values, and click Finish.

      6. +
      7. Select the Template project type and click Next.

        +

        Selecting the project type

        +
      8. +
      9. Select the profile (Mobile) and version from a drop-down list and click Next.

        +

        The version depends on the platform version you have installed and with which you are developing the application.

        +

        Selecting the profile and version

        +
      10. +
      11. Select the Native Application application type and click Next.

        +

        Selecting the application type

        +
      12. +
      13. Select the Basic UI template and click Next.

        +

        Selecting the template

        +
      14. +
      15. Define the project properties and click Finish.

        +

        You can fill the project name (3-50 characters) and the unique package ID. You can also select the location and working sets by clicking More properties.

        +

        Defining properties

        + +

        The Project Wizard sets up the project, creates the application files using the default content from the template, and closes. For more information about the Project Wizard and the available templates, see Creating Tizen Projects with Tizen Project Wizard.

      -

      Defining the project details

      -

      The Project Wizard sets up the project, creates the application files using the default content from the template, and closes. For more information about the Project Wizard and the available templates, see Creating Tizen Projects with Tizen Project Wizard.

    @@ -152,14 +165,14 @@
  • Localization: Define localized values for the application label, description, and icon.

  • Advanced: Define advanced features, such as application metadata, data control for services, application control functionalities, and account details.

  • -

    tizen-manifest.xml: View and edit the source code of the tizen-manifest.xml file. Changes made and saved on the other tabs are reflected in the source code and vice versa.

    +

    Source: View and edit the source code of the tizen-manifest.xml file. Changes made and saved on the other tabs are reflected in the source code and vice versa.

    - +
    Note
    The tizen-manifest.xml file must conform to both the XML file format and the Tizen native application specification requirements. Editing the file in the source code view is intended for advanced users only.The tizen-manifest.xml file must conform to both the XML file format and the Tizen native application specification requirements. Editing the file in the Source tab is intended for advanced users only.
    @@ -167,7 +180,7 @@
  • -
  • To save any changes, in the Tizen Studio menu, select File > Save.

  • +
  • To save any changes, in the Tizen Studio menu, select File > Save All.

  • @@ -206,8 +219,6 @@

    Alternatively, you can also select the project in the Project Explorer view and do one of the following:

    @@ -232,37 +243,43 @@
  • In the Connection Explorer view, launch the Emulator Manager by clicking the related icon.

    Emulator manager icon

  • - -
  • In the Emulator Manager, open the Create New Emulator drop-down list and select mobile. -

    Emulator manager

    +
  • In the Emulator Manager, click Create. +

    Creating an emulator instance

  • - -
  • Modify the emulator options, and click Confirm. +
  • Select the applicable platform (in this case, mobile-2.4 (basic)), and click Next. +

    Selecting the platform

    +
  • +
  • Select the device definition along with the platform version (in this case, HD Mobile), and click Next. +

    Selecting the platform version

    +
  • +
  • Define the emulator properties, and click Finish.

    You can leave the options to their default values.

    -

    Emulator options

    +

    Defining the properties

  • +
  • To launch the emulator instance, select the emulator from the list and click Launch. +

    Launching the emulator

    -
  • To launch the emulator instance, select the emulator from the list and click the play icon. -

    Launch the emulator

    - -

    The emulator is launched in its own window.

    -

    You can also see the new emulator instance in the Connection Explorer view. To view the emulator folder structure, click the arrow next to the emulator instance.

    +

    The emulator is launched in its own window. You can also see the new emulator instance in the Connection Explorer view. To view the emulator folder structure, click the arrow next to the emulator instance.

    Emulator

  • Generate a security profile. -

    Before you run the application, you must sign your application package by generating an author certificate and registering it in the Tizen Studio.

    +

    Before you run the application, you must sign your application package with a certificate profile in the Tizen Studio.

  • Run the application:
    1. In the Project Explorer view, right-click the project and select Run As > Tizen Native Application. -

      Run the application

      +

      Running the application

      Alternatively, you can also select the project in the Project Explorer view and do one of the following:

      • Press the Ctrl+F11 key.
      • -
      • Click the play icon (Play icon) in the toolbar.
      +
    2. Click the run icon in the toolbar.
    3. + +

      If you have created multiple emulator instances, select the instance you want from the combo box in the toolbar before selecting to run the application. If you select an offline emulator, it is automatically launched when you select to run the application.

      + +

      Selecting the emulator to use

    4. Confirm that the application launches on the emulator. @@ -300,18 +317,22 @@
      1. Connect the mobile target device to your computer using a USB cable.
      2. Generate an author certificate. -

        Before you run the application, you must sign your application package by generating an author certificate and registering it in the Tizen Studio.

        +

        Before you run the application, you must sign your application package with a certificate profile in the Tizen Studio.

      3. Run the application:
        1. In the Connection Explorer view, select the device.
        2. In Project Explorer view, right-click the project and select Run As > Tizen Native Application. -

          Run the application on a target device

          +

          Running the application on a target device

          Alternatively, you can also select the project in the Project Explorer view and do one of the following:

          • Press the Ctrl+F11 key.
          • -
          • Click the play icon (Play icon) in the toolbar.
          +
        3. Click the run icon in the toolbar.
        4. + +

          If you have both a connected device and existing emulator instances, select the device from the combo box in the toolbar before selecting to run the application.

          + +

          Selecting the device to use

        5. Confirm that the application launches in the target device.
        6. @@ -325,8 +346,8 @@ The application is launched using the default debug run configuration. To create and use another configuration:
          1. In the Project Explorer view, right-click the project and select Run As > Run Configurations.
          2. -
          3. In the Run Configurations window, click the New Launch Configuration icon (New Launch Configuration), define the configuration details, and launch the application by clicking Run. -

            Run Configurations

          4. +
          5. In the Run Configurations window, click the New Launch Configuration icon (New Launch Configuration icon), define the configuration details, and launch the application by clicking Run. +

            Run Configurations window

          diff --git a/org.tizen.training/html/native/process/app_dev_process_n.htm b/org.tizen.training/html/native/process/app_dev_process_n.htm index 21326e2..6dabd8f 100644 --- a/org.tizen.training/html/native/process/app_dev_process_n.htm +++ b/org.tizen.training/html/native/process/app_dev_process_n.htm @@ -61,8 +61,6 @@

          Creating the Application Project

          -

          After you have planned and designed your application, you are ready to create the application project in the Tizen Studio.

          -

          The Tizen Studio provides various project templates that make it easier for you to start coding your application. When you create a new project, you can select a specific template or sample. Based on the selection, the Tizen native Project Wizard automatically creates basic functionalities that the application has to implement to be able to run. The default project files and folders are also created.

          Setting Project Properties

          @@ -140,25 +138,25 @@

          Tizen supports multi-project applications that combine different types of application templates.

          -

          You can develop a UI project and service or shared library projects as a package.

          +

          You can develop a UI project with service or widget projects as a package.

          To develop a multi-project native application:

          1. Create a UI application.
          2. -
          3. Create a service application.
          4. +
          5. Create a service or widget application.
          6. Package a multi-project application using Tizen Studio:
            1. In the Tizen Studio, make sure all the applications you want to include in the package are located in the Project Explorer view.

              To make the projects appear in the Project Explorer view, you can create new applications, or import existing projects or sample applications into the Tizen Studio.

            2. -
            3. To establish a project reference between UI application and service application:

              +
            4. To establish a project reference between a UI application and a service or widget application:

              • In the Project Explorer view, right-click the UI application.
              • Select Properties > Tizen Studio > Package > Multi.
              • Select the check box for the service or widget application, and click OK. -

                In the Project Explorer view, a message (with the UI application) appears next to the referenced project name for all the applications you have added to the package.

              • +

                In the Project Explorer view, a message (with the UI application) appears next to the referenced project name for all the applications you have added to the package.

            After packaging the multi-project application, the package consists of the application binary, resource, and data files of the root and referenced applications. Their tizen-manifest.xml files are merged into one. The application ID in the tizen-manifest.xml must be assigned with the package ID as a prefix.

          7. -
          8. Build and run the UI application.

            The service application is built and run automatically while the UI application is built and run.

          9. +
          10. Build and run the UI application.

            The service or widget application is built and run automatically while the UI application is built and run.

          diff --git a/org.tizen.training/html/native/process/creating_app_project_n.htm b/org.tizen.training/html/native/process/creating_app_project_n.htm index 6cdaaa0..c4ab78f 100644 --- a/org.tizen.training/html/native/process/creating_app_project_n.htm +++ b/org.tizen.training/html/native/process/creating_app_project_n.htm @@ -27,18 +27,29 @@

          Creating the Application Project

          -

          You can create a native application project by selecting from a variety of templates and samples. The following instructions are specific for creating the project with a template.

          - -

          To create a native application project:

          -
            -
          1. In the Tizen Studio, select File > New > Tizen Native Project. -

            If the project option you want is not visible, make sure that you are using the correct perspective (Tizen native). To switch perspectives, go to Window > Open Perspective > Other and select the perspective you need.

            +

            You can create a native application project by selecting from a variety of templates and samples. The following instructions are specific for creating the project with a template.

            +

            To create a native application project:

            +
              +
            1. In the Tizen Studio, select File > New > Tizen Project. +

              Creating a new project

              +

              The Project Wizard opens.

            2. +
            3. In the Project Wizard, define the project details. +

              The Project Wizard is used to create the basic application skeleton with the required folder structure and mandatory files. You can easily create different applications by selecting an applicable template or sample for the Project Wizard to use.

              +
                +
              1. Select the Template project type and click Next.

                +

                Selecting the project type

                +
              2. +
              3. Select the profile (Mobile or Wearable) and version from a drop-down list and click Next.

                +

                Selecting the profile and version

              4. -
              5. In the New Tizen Native Project window, define the project details: -
                  -
                1. Select the project type.
                2. -
                3. Define the name of your project. -

                  The default location for your application project is defined.

                  +
                4. Select the Native Application application type and click Next.

                  +

                  Selecting the application type

                  +
                5. +
                6. Select the template you want to use and click Next.

                  +

                  Selecting the template

                  +
                7. +
                8. Define the project properties and click Finish.

                  +

                  You can fill the project name. You can also select the location and working sets by clicking More properties.

          @@ -49,29 +60,20 @@
          - -
        -
      4. -
      5. Click Finish.
      6. -
      - -

      The new application project is shown in the Project Explorer view of the Tizen Studio, with default content in the config.xml file as well as in several project folders.

      - -

      Figure: Creating a Tizen mobile native project

      -

      Creating a Tizen mobile native project

      - -

      Importing a Project

      +

      Defining properties

      +

      The Project Wizard sets up the project, creates the application files using the default content from the template, and closes. For more information about the Project Wizard and the available templates, see Creating Tizen Projects with Tizen Project Wizard.

    5. +
  • +

    The new application project is shown in the Project Explorer view of the Tizen Studio, with default content in the tizen-manifest.xml file as well as in several project folders.

    + +

    Importing a Project

    If you have an existing Tizen application project, you can import it into the Tizen Studio:

    1. Select File > Import > Tizen > Tizen Project, and click Next.
    2. -
    3. Click Browse and select the root directory, which contains your existing project, or native application package file.
    4. -
    5. Select a profile and version from the Platform drop-down lists.
    6. +
    7. Click Browse and select the root directory, which contains your existing project, or native application package file (with the .tpk extension).
    8. +
    9. With the Platform drop-down lists, select the platform profile and version.
    10. Click Finish.
    11. -
    - - - + diff --git a/org.tizen.training/html/native/process/debugging_app_n.htm b/org.tizen.training/html/native/process/debugging_app_n.htm index f5d3004..57ee733 100644 --- a/org.tizen.training/html/native/process/debugging_app_n.htm +++ b/org.tizen.training/html/native/process/debugging_app_n.htm @@ -403,7 +403,7 @@ ERR<4357>:edje lib/edje/edje_util.c:3069 _edje_object_size_min_restricted_
  • In the Tizen Studio menu, go to Debug > Debug As > Tizen native Application.
  • On the Tizen Studio toolbar, click Debug.
  • If the application binary does not exist, it is built automatically for the Emulator.

    If many active Emulator instances are connected, select the Emulator to run the application from the dialog box.

    -
  • The debug messages are displayed in the Tizen Studio's Console view. To see the GDB console, in the Console view, click the Display Selected Console button and select the option containing gdb. With the GDB console, you can also execute GDB commands.

    To display verbose GDB output in the GDB console:

    +
  • The debug messages are displayed in the Tizen Studio Console view. To see the GDB console, in the Console view, click the Display Selected Console button and select the option containing gdb. With the GDB console, you can also execute GDB commands.

    To display verbose GDB output in the GDB console:

  • Use the application in the Emulator as you would in a target device.

    -

    While the application is running, the Tizen Studio's Log view shows the log, debug, and exception messages from the methods defined in the log macros.

  • +

    While the application is running, the Tizen Studio Log view shows the log, debug, and exception messages from the methods defined in the log macros.

  • To stop debugging, do one of the following:

    -

    The performance details of your application retrieved during tracing are stored in the trace files. You can manage the trace files through the toolbar and menu.

    -

    For usage details, see Handling Common Dynamic Analyzer Tasks and Handling Advanced Dynamic Analyzer Tasks.

    +

    The performance details of your application retrieved during tracing are stored in trace files. You can manage the trace files through the Dynamic Analyzer toolbar. For usage details, see Handling Common Dynamic Analyzer Tasks and Handling Advanced Dynamic Analyzer Tasks.

    Using the Command Line Interface to Access Dynamic Analyzer Features

    The Dynamic Analyzer provides access to its features through the Command Line Interface (CLI) tool. This possibility can be useful, for example, in the following cases:

    @@ -152,14 +151,15 @@

    To detect and fix the methods consuming the most time:

    Figure: Function Profiling table

    Function Profiling table

  • Timeline CPU chart

    When analyzing application performance, the CPU load is one of the most significant factors. A CPU load peak can result in a performance bottleneck. High CPU load leads to increased memory consumption, which shortens the battery life of the device running the application. To avoid this, you need to optimize your code.

    -

    To detect and fix CPU load peak with the CPU load feature of the Dynamic Analyzer:

    + +

    To detect and fix CPU load peaks with the CPU load feature of the Dynamic Analyzer:

    1. Select the Timeline tab and view the CPU chart.
    2. Hover the mouse on a CPU peak to view the CPU load value in a tooltip.
    3. diff --git a/org.tizen.training/html/native/process/running_app_n.htm b/org.tizen.training/html/native/process/running_app_n.htm index fc491d0..85aaa38 100644 --- a/org.tizen.training/html/native/process/running_app_n.htm +++ b/org.tizen.training/html/native/process/running_app_n.htm @@ -39,7 +39,7 @@

      If the application binary does not exist, it is built automatically for the Emulator.

      If many active Emulator instances are connected, select the Emulator to run the application from the dialog box.

    4. Use the application in the Emulator as you would in a target device.

      -

      While the application is running, the Log view in the Tizen Studio shows the log, debug, and exception messages from the methods defined in the log macros.

    5. +

      While the application is running, the Tizen Studio Log view shows the log, debug, and exception messages from the methods defined in the log macros.

    6. To terminate the run, exit the application on the Emulator.

    In the Emulator settings, you can change the display language settings, keyboard language settings, proxy address, and location settings. In addition, you can use the Event Injector view to generate application events (such as sensor data, incoming calls, or location data) for debugging and testing purposes.

    diff --git a/org.tizen.training/html/native/process/setting_properties_n.htm b/org.tizen.training/html/native/process/setting_properties_n.htm index 10d3589..d727c96 100644 --- a/org.tizen.training/html/native/process/setting_properties_n.htm +++ b/org.tizen.training/html/native/process/setting_properties_n.htm @@ -24,14 +24,14 @@ @@ -39,15 +39,11 @@

    Setting Project Properties

    -

    Before you implement the actual application functionality, define all the necessary properties for your application project. To set the application project properties, right-click the project in the Tizen Studio Project Explorer view and select Properties. After setting or changing a property, click Apply.

    - -

    The settings that you can define in the application project properties include:

    - +

    Before you implement the actual application functionality, define all the necessary properties for your application project:

    -

    You can define the application manifest settings in the tizen-manifest.xml file.

    +
      +
    • To set the application project properties for API and privilege checks, right-click the project in the Tizen Studio Project Explorer view and select Properties. After setting or changing a property, click OK.
    • +
    • To define the application manifest settings, edit the tizen-manifest.xml file. @@ -57,22 +53,23 @@
      Only modify the manifest file by using the manifest editor in the Tizen Studio. If you create or edit the tizen-manifest.xml file using any other text editor, your application may not work as expected.
      +

    After you have finished setting the project properties, you are ready to design the UI and implement the application code.

    -

    Checking API Usage

    -

    You can check the source code in your project for any violation of API usage. To enable the API check:

    +

    Checking API and Privilege Usage

    +

    You can check the source code in your project for any violation of API and privilege usage. To enable the non-default checks (the default checks are always performed):

      -
    1. In the Properties window, select C/C++ Build > Tizen Settings > API and Privilege Checker.

    2. +
    3. In the Properties window, select C/C++ Build > Tizen Settings > API and Privilege Checker Properties.

    4. -

      Select the required API problems in the API Check panel.

    5. +

      Select the required checks in the Privilege Check panel.

    -

    To perform API usage checks automatically, select the required option in the Launching panel:

    +

    To perform the usage checks automatically during specific tasks, select the required option in the Launching panel:

    • During the build process, select the Run API and privilege checks with build option.
    • During code editing, select the Run API and privilege checks while editing option.
    -

    You can also perform the API usage checks manually after building the application by selecting Project > Check API and Privilege Violations With Build. The results are displayed in the Problems view.

    +

    You can also perform the usage checks manually after building the application, by right-clicking the project in the Project Explorer view and selecting Check API and Privilege Violations With Build. The results are displayed in the Problems view.

    @@ -81,38 +78,27 @@
    NoteIf the application has conflicting API versions, the build fails and the results are displayed in the Problems view.
    -

    Checking API Privileges

    -

    You can check the source code in your project for any violation of privileges. To enable the privilege check:

    -
      -
    1. In the Properties window, select C/C++ Build > Tizen Settings > API and Privilege Checker.
    2. -
    3. -

      Select the required privilege problems in the Privilege Check panel.

    4. -
    -

    To perform privilege checks automatically, select the required option in the Launching panel:

    -
      -
    • During the build process, select the Run API and privilege checks with build option.
    • -
    • During code editing, select the Run API and privilege checks while editing option.
    • -
    -

    You can also perform privilege checks manually after building the application by selecting Project > Check API and Privilege Violations With Build. The results are displayed in the Problems view.

    Setting the Application Manifest

    -

    The application manifest consists of application information, such as package, version, features, and privileges, which are available for the application. To configure the application information in the manifest editor, double-click the tizen-manifest.xml file present in the project folder of the application.

    +

    The application manifest consists of application information, such as package, version, features, and privileges, which are available for the application. To configure the application information in the manifest editor, double-click the application tizen-manifest.xml file in the Project Explorer view.

    Figure: Setting the application manifest

    Setting the application manifest

    -

    You can edit application properties using the tabs of the manifest editor.

    +

    You can edit the application properties using the form tabs of the manifest editor.

    Defining and Editing General Information in the Overview Tab

    -

    You can set and edit general and project-related information about the application, such as application package, version, author, description, in the Overview tab of the manifest editor. Additionally, you can specify the application icon.

    +

    You can set and edit general and project-related information about the application, such as application package, version, author, and description, in the Overview tab of the manifest editor.

    You can perform the following tasks using the Overview tab:

      -
    • Set the package name of the application.

      The package name represents the package identifier of the application

    • +
    • View the application ID.

      The Tizen Studio creates automatically an application ID, which uniquely identifies the application within the package.

    • +
    • Set the package name of the application.

      The package name represents the package identifier of the application

    • Set the application version (x.y.z).

      The application version format has the following constraints: 0 ≤ {x, y} ≤ 255, 0 ≤ z ≤ 65535. You can change the application version in the Version field.

    • -
    • Set the application label.

      The application label represents the label of the application.

    • -
    • Set the API version.

      The API version format is "x.y.z".

    • -
    • Add application icon.

      You can add a launcher icon to your application by defining it in the Icon panel. If your application supports both HD and WVGA, it is best to provide an icon for HD for better image quality in both cases.

      +
    • Set the API version.

      The API version format is "x.y.z".

    • +
    • Set the application label.

      The application label represents the name of the application.

    • +
    • View the application executable file path.
    • +
    • Add an application icon.

      You can add a launcher icon to your application by defining it in the Icon panel. If your application supports both HD and WVGA, it is best to provide an icon for HD for better image quality in both cases.

      The following table describes the available icons.

      ---- ++++ - - - - - + + + + + - - - + + + - + + + + + + + +
      @@ -122,79 +108,83 @@
      IconMandatoryFormatSizeDescriptionProfileMandatoryFormatSizeDescription
      Xhigh (HD)High (WVGA)
      Xhigh (HD)High (WVGA)
      MainMenuMobile Yes 32-bit PNG with alpha 117 x 117 pixels 78 x 78 pixels Image displayed in the main menu.
      WearableYes32-bit PNG with alpha152 x 152 pixelsImage displayed in the main menu.
      +
    • Set the application author.

      The application author represents the creator of the Tizen native application package. You can set the name, email ID, and Web site of the author.

    • Set the application description. -

      The application description represents the human-readable descriptions of the Tizen native application package.

      +

      The application description represents the human-readable description of the Tizen native application package.

    Declaring Required Software or Hardware Features in the Features Tab

    -

    You can declare required software or hardware features. This declaration can be used for application filtering in the Tizen Store.

    +

    You can declare any device software or hardware features that your application requires to run properly. The declaration can be used for application filtering in the Tizen Store.

    To enable filtering for your native application:

      -
    1. In the Features tab of the manifest editor, click Add.
    2. +
    3. In the Features tab, click +.
    4. Select a feature from the predefined list of features available for filtering.

      To check which features are necessary for using a specific API, see the related feature in the native API Reference.

    5. -
    6. Click Save.
    7. +
    8. Click OK.
    9. Upload and publish the application package on the Tizen Store.

      If a Tizen-powered device requests applications, the store displays a list containing only applications compatible with the user's device.

    -

    After setting the feature information with the manifest editor, you can see the added code in the tizen-manifest.xml tab.

    -

    The following example shows the setting in the tizen-manifest.xml file code:

    +

    After setting the feature information with the manifest editor, you can see the added code in the Source tab:

     <feature name="http://tizen.org/feature/network.nfc">true</feature>
     
    -

    Specifying Privileges in the Privilege Tab

    +

    Specifying Privileges in the Privileges Tab

    -

    You can use features and services provided by privileged APIs, which handle platform and user-sensitive data. You can specify a privilege in the Privilege tab of the manifest editor.

    +

    You can use features and services provided by privileged APIs, which handle platform and user-sensitive data. You can specify a privilege in the Privileges tab of the manifest editor.

    To add a privilege:

      -
    1. In the Privilege tab of the manifest editor, click Add.
    2. -
    3. In the Add privilege window, select a privilege from the predefined list of available API privileges. -

      You can select multiple privileges by holding the CTRL key.

      -
    4. +
    5. In the Privileges tab, click +.
    6. +
    7. Select a privilege from the predefined list of available API privileges.
    8. Click OK.
    -

    After setting the privilege information with the manifest editor, you can see the added code in the tizen-manifest.xml tab.

    -

    The following example shows the setting in the tizen-manifest.xml file code:

    +

    After setting the privilege information with the manifest editor, you can see the added code in the Source tab:

     <privileges>
        <privilege>http://tizen.org/privilege/appmanager.launch</privilege>
    @@ -202,73 +192,72 @@
     
    -

    Setting the Supported Locales in the Localization Tab

    +

    Adding Localized Application Details in the Localization Tab

    -

    You can set the supported locales for selected node elements of the tizen-manifest.xml file. You can provide localization support for the application label and description in the Localization tab of the manifest editor.

    +

    You can provide localized versions of the application name (label) and description in the Localization tab of the manifest editor.

    -

    To add localization:

    -
      -
    1. In the Localization tab, click Add next to Label. Select the language, define the label text for that language, and click OK. +

      To add a localized name or description:

      +
        +
      • In the Name panel, click +. Select the language, define the application name for that language, and click OK.

        The following example shows the setting in the tizen-manifest.xml file code:

         <label xml:lang="en-us">This is a sample</label>
         
      • -
      • In the Localization tab, click Add next to Description. Select the language, define the description text for that language, and click OK. +
      • In the Description panel, click +. Select the language, define the application description text for that language, and click OK.

        The following example shows the setting in the tizen-manifest.xml file code:

         <description xml:lang="en-us">This is a sample</description>
         
      • -
    + + +

    You can localize a native application to adapt to various languages and cultural environments by creating different native application versions for different languages. For more information see Localizing Application Resources.

    Defining Advanced Features in the Advanced Tab

    -

    You can define advanced features of the application, such as metadata and data and application control functionalities, account, and miscellaneous options, in the Advanced tab of the manifest editor.

    +

    You can define advanced application features, such as metadata and data and application control functionalities, account, and miscellaneous options, in the Advanced tab of the manifest editor.

    You can perform the following tasks using the Advanced tab:

      -
    • Add metadata.

      You can add user-defined key-value pairs to the application to be used for filtering in the package manager.

    • +
    • Add metadata.

      In the Meta Data section, you can add user-defined key-value pairs to the application to be used for filtering in the package manager.

    • +
    • Export data control functionality. +

      A service application can act as a service provider and allow other applications to access specific data.

      +

      To define the kind of access and data your service application provides to other applications, click + in the Data Control section, and define the data control details.

    • Set miscellaneous options. -

      You can set as true or false various application options:

      +

      In the Miscellaneous Options section, you can set various application options:

        -
      • Set multiple

        This attribute indicates whether the application can be launched as multiple.

      • -
      • Set taskmanage

        This attribute indicates whether the application is shown in the task manager.

      • -
      • Set nodisplay for UI application

        This attribute indicates whether the application is shown in the app-tray. For service applications, nodisplay is always true.

      • -
      • Set auto-restart

        This attribute indicates whether the application is relaunched automatically when it is terminated abnormally.

      • -
      • Set on-boot

        This attribute indicates whether the application is launched automatically on device booting time or application installation time.

      • -
      - - - - - - - - - - -
      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. Because of this, if they are used in a lower API version package than 2.4, they are ignored in the devices with the Tizen platform version 2.4 and higher.
      +
    • Manage task +

      Define whether the application is shown in the task manager.

    • +
    • No display +

      In UI applications, define whether the application is hidden in the device application tray. In service applications, this settings is always true.

    • +
    • Hardware acceleration +

      Define whether hardware acceleration is enabled for the application.

    • +
    • Launch Mode +

      Define the launch mode of the application (whether the application is launched as a main or sub application, or whether a caller application defines the launch mode when the application is launched by an application control request).

    • +
  • -
  • Define application control. -

    You can export the application control functionality of your application. To define an application control used to access the functionality of your application, click Add in the Application Control section of the Advanced tab of the manifest editor.

    -

    Each application control can have multiple operation, mime type, and uri attributes.

  • -
  • Add an account (in mobile applications only). -

    Account providers, such as Google and Facebook, represent specific service provider-related information or protocol that provides the user accounts. To add, update, or remove accounts, you must register a specific account provider in your application.

    -

    To register an account provider, define the account provider information by clicking Add in the Account section of the Advanced tab of the manifest editor, as described in the following table.

    +
  • Define application controls. +

    You can export the application control functionality of your application.

    +

    To define an application control used to access the functionality of your application, click + in the Application Control section.

    +

    Each application control can have multiple operation, MIME type, and URI attributes.

  • + +
  • Add accounts (in mobile applications only). +

    Account providers, such as Google and Facebook, represent specific service provider-related information or protocol that provides user accounts. To add, update, or remove accounts, you must register a specific account provider in your application.

    +

    To register an account provider, click + in the Account section and define the account provider information, as described in the following table.

    - + - + - + - + + @@ -308,7 +298,7 @@ - + - + - +
    Table: Account provider properties
    Account propertyAccount property Data type Property type
    Multiple accounts supportMultiple account bool @@ -277,7 +266,7 @@
    Provider IDProvider ID String @@ -285,7 +274,7 @@
    Display labelDefault label String @@ -294,6 +283,7 @@
    Icons Icon String
    Small iconIcon small String @@ -323,15 +313,16 @@
    LabelsName String

    Localization support for the display name.

    +

    To add a localized name, click + in the Name panel, select the language, define the display name for that language, and click OK.

    CapabilitiesCapabilities String

    Capability of the account provider.

    Capabilities are defined in the http://<VENDOR_INFORMATION>/accounts/capability/<NAME> IRI format.

    The following predefined capabilities can be used in Tizen:

    @@ -365,19 +356,22 @@ +

    To add a capability, click + in the Capabilities panel. A default capability is added to the table. Click the default capability and change it to the one you need.

    This is an optional property.

  • -
  • Export DataControl functionality.

    You can export data functionalities of your Tizen native application.

    To define a data control used to export application data, click Add and define the data control details.

  • -
  • Add the background category type (since Tizen 2.4).

    You can describe the background category of your Tizen native application.

    To add background category types to allow running on the background, click Add and select the category type.

  • + +
  • Add the background category type (since Tizen 2.4).

    You can describe the background category of your Tizen native application.

    To add background category types to allow running on the background, click + in the Background Category panel, select the category type, and click OK.

  • + +
  • Add shortcuts.

    To add a shortcut for the application, click + in the Shortcut List panel, define the shortcut details, and click OK.

  • -

    Editing the tizen-manifest.xml File in the tizen-manifest.xml Tab

    +

    Editing the tizen-manifest.xml File in the Source Tab

    -

    The tizen-manifest.xml tab of the manifest editor shows the code of the tizen-manifest.xml file. You can edit the basic syntax of the XML document and also see how changes made on the other tabs are reflected in the raw XML source content.

    +

    The Source tab of the manifest editor shows the code of the tizen-manifest.xml file. You can edit the basic syntax of the XML document and also see how changes made on the other tabs are reflected in the raw XML source content.

    diff --git a/org.tizen.training/html/native/wearable/first_app_wn.htm b/org.tizen.training/html/native/wearable/first_app_wn.htm index 731e7e0..15231bd 100644 --- a/org.tizen.training/html/native/wearable/first_app_wn.htm +++ b/org.tizen.training/html/native/wearable/first_app_wn.htm @@ -63,16 +63,6 @@

    When you are developing a more complex application, you can take advantage of the native tools included in the Tizen Studio to ease the tasks of creating functionality and designing the application UI.

    -

    Updating 2.3.1 Wearable Packages

    - -

    To develop wearable applications in the latest Tizen SDK, you must install the 2.3.1 wearable packages separately:

    - -
      -
    1. Launch the Update Manager by going to Start > All Programs > Tizen SDK-<version> > Update Manager-<version>.
    2. -
    3. In the All Packages tab, download all packages for 2.3.1 Wearable. -

      Download packages

    4. -
    -

    Creating a Project

    The following example shows you how to create and configure a basic wearable native application project in the Tizen Studio. An application project contains all the files that make up an application.

    @@ -89,13 +79,13 @@
  • Launch the Tizen Studio.

  • -

    Make sure the Tizen Native perspective is selected in the top right corner of the Tizen Studio window.

    +

    Make sure the Native perspective is selected in the top right corner of the Tizen Studio window.

    Checking the perspective

    -

    If not, select it. If the perspective is not visible, in the Tizen Studio menu, select Window > Open Perspective > Other > Tizen Native, and click OK.

    +

    If not, select it. If the perspective is not visible, in the Tizen Studio menu, select Window > Perspective > Open Perspective > Other > Native, and click OK.

  • -

    In the Tizen Studio menu, select File > New > Tizen Native Project.

    +

    In the Tizen Studio menu, select File > New > Tizen Project.

    Creating a new Tizen Native project

    The Project Wizard opens.

  • @@ -104,12 +94,25 @@

    In the Project Wizard, define the project details.

    The Project Wizard is used to create the basic application skeleton with the required folder structure and mandatory files. You can easily create different applications by selecting an applicable template or sample for the Project Wizard to use.

      -
    1. Select the Template tab and the WEARABLE-[version] > Basic UI template. The version depends on the SDK version you have installed and with which you are developing the application.

    2. -
    3. Change the project name, if you want.

    4. -
    5. Leave all other fields in the Project Wizard to their default values, and click Finish.

    6. +
    7. Select the Template project type and click Next.

      +

      Selecting the project type

      +
    8. +
    9. Select the profile (Wearable) and version from a drop-down list and click Next.

      +

      The version depends on the platform version you have installed and with which you are developing the application.

      +

      Selecting the profile and version

      +
    10. +
    11. Select the Native Application application type and click Next.

      +

      Selecting the application type

      +
    12. +
    13. Select the Basic UI template and click Next.

      +

      Selecting the template

      +
    14. +
    15. Define the project properties and click Finish.

      +

      You can fill the project name (3-50 characters) and the unique package ID. You can also select the location and working sets by clicking More properties.

      +

      Defining properties

      + +

      The Project Wizard sets up the project, creates the application files using the default content from the template, and closes. For more information about the Project Wizard and the available templates, see Creating Tizen Projects with Tizen Project Wizard.

    -

    Defining the project details

    -

    The Project Wizard sets up the project, creates the application files using the default content from the template, and closes. For more information about the Project Wizard and the available templates, see Creating Tizen Projects with Tizen Project Wizard.

    @@ -161,14 +164,14 @@
  • Localization: Define localized values for the application label, description, and icon.

  • Advanced: Define advanced features, such as application metadata, data control for services, application control functionalities, and account details.

  • -

    tizen-manifest.xml: View and edit the source code of the tizen-manifest.xml file. Changes made and saved on the other tabs are reflected in the source code and vice versa.

    +

    Source: View and edit the source code of the tizen-manifest.xml file. Changes made and saved on the other tabs are reflected in the source code and vice versa.

  • - +
    Note
    The tizen-manifest.xml file must conform to both the XML file format and the Tizen native application specification requirements. Editing the file in the source code view is intended for advanced users only.The tizen-manifest.xml file must conform to both the XML file format and the Tizen native application specification requirements. Editing the file in the Source tab is intended for advanced users only.
    @@ -176,7 +179,7 @@ -
  • To save any changes, in the Tizen Studio menu, select File > Save.

  • +
  • To save any changes, in the Tizen Studio menu, select File > Save All.

  • @@ -198,7 +201,7 @@
    1. Select the project in the Project Explorer view.
    2. In the Tizen Studio menu, select Project > Build Automatically. -

      Using the automatic build

      +

      Using the automatic build

      A check mark appears next to the menu option.

    @@ -214,8 +217,6 @@

    Alternatively, you can also select the project in the Project Explorer view and do one of the following:

    @@ -239,37 +240,43 @@
  • In the Connection Explorer view, launch the Emulator Manager by clicking the related icon.

    Emulator manager icon

  • - -
  • In the Emulator Manager, open the Create New Emulator drop-down list and select wearable. -

    Emulator manager

    +
  • In the Emulator Manager, click Create. +

    Creating an emulator instance

  • - -
  • Modify the emulator options, and click Confirm. +
  • Select the applicable platform (in this case, wearable-2.3.2-circle (basic)), and click Next. +

    Selecting the platform

    +
  • +
  • Select the device definition along with the platform version (in this case, Wearable Circle), and click Next. +

    Selecting the platform version

    +
  • +
  • Define the emulator properties, and click Finish.

    You can leave the options to their default values.

    -

    Emulator options

    +

    Defining the properties

  • -
  • To launch the emulator instance, select the emulator from the list and click the play icon. -

    Launch the emulator

    +
  • To launch the emulator instance, select the emulator from the list and click Launch. +

    Launching the emulator

    -

    The emulator is launched in its own window.

    -

    You can also see the new emulator instance in the Connection Explorer view. To view the emulator folder structure, click the arrow next to the emulator instance.

    +

    The emulator is launched in its own window. You can also see the new emulator instance in the Connection Explorer view. To view the emulator folder structure, click the arrow next to the emulator instance.

    Emulator

  • Generate a security profile. -

    Before you run the application, you must sign your application package by generating an author certificate and registering it in the Tizen Studio.

    +

    Before you run the application, you must sign your application package with a certificate profile in the Tizen Studio.

  • Run the application:
    1. In the Project Explorer view, right-click the project and select Run As > Tizen Native Application. -

      Run the application

      +

      Running the application

      Alternatively, you can also select the project in the Project Explorer view and do one of the following:

      • Press the Ctrl+F11 key.
      • -
      • Click the play icon (Play icon) in the toolbar.
      +
    2. Click the run icon in the toolbar.
    3. +

      If you have created multiple emulator instances, select the instance you want from the combo box in the toolbar before selecting to run the application. If you select an offline emulator, it is automatically launched when you select to run the application.

      + +

      Selecting the emulator to use

    4. Confirm that the application launches on the emulator. @@ -292,7 +299,7 @@
    -

    For more information on using the emulator features, see Emulator Control Keys and Menu and Using Extended Emulator Features.

    +

    For more information on using the emulator features, see Using Emulator Control Keys, Menu, and Panel and Using Extended Emulator Features.

    @@ -322,7 +329,7 @@
  • In the Connection Explorer view, launch the Remote Device Manager by clicking the related icon.

    Launch the Remote Device Manager

  • -
  • In the Remote Device Manager window, click New. +
  • In the Remote Device Manager window, click +.

    Add new device

  • In the Add Device window, enter the device and network details (use the IP address you noted before), and click Add. @@ -342,7 +349,7 @@
  • Generate an author certificate. -

    Before you run the application, you must sign your application package by generating an author certificate and registering it in the Tizen Studio.

    +

    Before you run the application, you must sign your application package with a certificate profile in the Tizen Studio.

  • Run the application: @@ -354,7 +361,11 @@

    Alternatively, you can also select the project in the Project Explorer view and do one of the following:

    +
  • Click the run icon in the toolbar.
  • + +

    If you have both a connected device and existing emulator instances, select the device from the combo box in the toolbar before selecting to run the application.

    + +

    Selecting the device to use

  • Confirm that the application launches in the target device.
  • @@ -369,8 +380,8 @@ The application is launched using the default debug run configuration. To create and use another configuration:
    1. In the Project Explorer view, right-click the project and select Run As > Run Configurations.
    2. -
    3. In the Run Configurations window, click the New Launch Configuration icon (New Launch Configuration), define the configuration details, and launch the application by clicking Run. -

      Run Configurations

    4. +
    5. In the Run Configurations window, click the New Launch Configuration icon (New Launch Configuration icon), define the configuration details, and launch the application by clicking Run. +

      Run Configurations window

    diff --git a/org.tizen.training/html/native/wearable_watch/first_app_watch_wn.htm b/org.tizen.training/html/native/wearable_watch/first_app_watch_wn.htm index ef0537d..99e5116 100644 --- a/org.tizen.training/html/native/wearable_watch/first_app_watch_wn.htm +++ b/org.tizen.training/html/native/wearable_watch/first_app_watch_wn.htm @@ -65,16 +65,6 @@

    When you are developing a more complex application, you can take advantage of the native tools included in the Tizen Studio to ease the tasks of creating functionality and designing the application UI.

    -

    Updating 2.3.1 Wearable Packages

    - -

    To develop wearable applications in the latest Tizen SDK, you must install the 2.3.1 wearable packages separately:

    - -
      -
    1. Launch the Update Manager by going to Start > All Programs > Tizen SDK-<version> > Update Manager-<version>.
    2. -
    3. In the All Packages tab, download all packages for 2.3.1 Wearable. -

      Download packages

    4. -
    -

    Creating a Project

    The following example shows you how to create and configure a basic wearable native watch application project in the Tizen Studio. An application project contains all the files that make up an application.

    @@ -91,13 +81,13 @@
  • Launch the Tizen Studio.

  • -

    Make sure the Tizen Native perspective is selected in the top right corner of the Tizen Studio window.

    +

    Make sure the Native perspective is selected in the top right corner of the Tizen Studio window.

    Checking the perspective

    -

    If not, select it. If the perspective is not visible, in the Tizen Studio menu, select Window > Open Perspective > Other > Tizen Native, and click OK.

    +

    If not, select it. If the perspective is not visible, in the Tizen Studio menu, select Window > Perspective > Open Perspective > Other > Native, and click OK.

  • -

    In the Tizen Studio menu, select File > New > Tizen Native Project.

    +

    In the Tizen Studio menu, select File > New > Tizen Project.

    Creating a new Tizen Native project

    The Project Wizard opens.

  • @@ -106,12 +96,25 @@

    In the Project Wizard, define the project details.

    The Project Wizard is used to create the basic application skeleton with the required folder structure and mandatory files. You can easily create different applications by selecting an applicable template or sample for the Project Wizard to use.

      -
    1. Select the Template tab and the WEARABLE-[version] > Watch template. The version depends on the SDK version you have installed and with which you are developing the application.

    2. -
    3. Change the project name, if you want.

    4. -
    5. Leave all other fields in the Project Wizard to their default values, and click Finish.

    6. +
    7. Select the Template project type and click Next.

      +

      Selecting the project type

      +
    8. +
    9. Select the profile (Wearable) and version from a drop-down list and click Next.

      +

      The version depends on the platform version you have installed and with which you are developing the application.

      +

      Selecting the profile and version

      +
    10. +
    11. Select the Native Application application type and click Next.

      +

      Selecting the application type

      +
    12. +
    13. Select the Watch template and click Next.

      +

      Selecting the template

      +
    14. +
    15. Define the project properties and click Finish.

      +

      You can fill the project name (3-50 characters) and the unique package ID. You can also select the location and working sets by clicking More properties.

      +

      Defining properties

      + +

      The Project Wizard sets up the project, creates the application files using the default content from the template, and closes. For more information about the Project Wizard and the available templates, see Creating Tizen Projects with Tizen Project Wizard.

    -

    Defining the project details

    -

    The Project Wizard sets up the project, creates the application files using the default content from the template, and closes. For more information about the Project Wizard and the available templates, see Creating Tizen Projects with Tizen Project Wizard.

    @@ -163,14 +166,14 @@
  • Localization: Define localized values for the application label, description, and icon.

  • Advanced: Define advanced features, such as application metadata and some miscellaneous options.

  • -

    tizen-manifest.xml: View and edit the source code of the tizen-manifest.xml file. Changes made and saved on the other tabs are reflected in the source code and vice versa.

    +

    Source: View and edit the source code of the tizen-manifest.xml file. Changes made and saved on the other tabs are reflected in the source code and vice versa.

    - +
    Note
    The tizen-manifest.xml file must conform to both the XML file format and the Tizen native application specification requirements. Editing the file in the source code view is intended for advanced users only.The tizen-manifest.xml file must conform to both the XML file format and the Tizen native application specification requirements. Editing the file in the Source tab is intended for advanced users only.
    @@ -178,7 +181,7 @@
  • -
  • To save any changes, in the Tizen Studio menu, select File > Save.

  • +
  • To save any changes, in the Tizen Studio menu, select File > Save All.

  • @@ -200,7 +203,7 @@
    1. Select the project in the Project Explorer view.
    2. In the Tizen Studio menu, select Project > Build Automatically. -

      Using the automatic build

      +

      Using the automatic build

      A check mark appears next to the menu option.

    @@ -213,12 +216,10 @@

    To manually build the application, right-click the project in the Project Explorer view and select Build Project.

    Figure: Manually building the application

    -

    Manually building the application

    +

    Manually building the application

    Alternatively, you can also select the project in the Project Explorer view and do one of the following:

    @@ -243,40 +244,44 @@
  • In the Connection Explorer view, launch the Emulator Manager by clicking the related icon.

    Emulator manager icon

  • - -
  • In the Emulator Manager, open the Create New Emulator drop-down list and select wearable. -

    Emulator manager

    +
  • In the Emulator Manager, click Create. +

    Creating an emulator instance

  • - -
  • Modify the emulator options, and click Confirm. +
  • Select the applicable platform (in this case, wearable-2.3.2-circle (basic)), and click Next. +

    Selecting the platform

    +
  • +
  • Select the device definition along with the platform version (in this case, Wearable Circle), and click Next. +

    Selecting the platform version

    +
  • +
  • Define the emulator properties, and click Finish.

    You can leave the options to their default values.

    -

    Emulator options

    +

    Defining the properties

  • -
  • To launch the emulator instance, select the emulator from the list and click the play icon. -

    Launch the emulator

    +
  • To launch the emulator instance, select the emulator from the list and click Launch. +

    Launching the emulator

    -

    The emulator is launched in its own window.

    -

    You can also see the new emulator instance in the Connection Explorer view. To view the emulator folder structure, click the arrow next to the emulator instance.

    +

    The emulator is launched in its own window. You can also see the new emulator instance in the Connection Explorer view. To view the emulator folder structure, click the arrow next to the emulator instance.

    Emulator

  • Generate a security profile. -

    Before you run the application, you must sign your application package by generating an author certificate and registering it in the Tizen Studio.

    +

    Before you run the application, you must sign your application package with a certificate profile in the Tizen Studio.

  • Run the application:
    1. In the Project Explorer view, right-click the project and select Run As > Tizen Native Application. -

      Run the application

      +

      Running the application

      Alternatively, you can also select the project in the Project Explorer view and do one of the following:

      • Press the Ctrl+F11 key.
      • -
      • Click the play icon (Play icon) in the toolbar.
      - +
    2. Click the run icon in the toolbar.
    3. +

      If you have created multiple emulator instances, select the instance you want from the combo box in the toolbar before selecting to run the application. If you select an offline emulator, it is automatically launched when you select to run the application.

      +

      Selecting the emulator to use

      In the Console view, you can see that the application is successfully installed. However, it does not run on the emulator screen until you change the watch face in the emulator Settings menu.

      Successful installation

      @@ -301,7 +306,7 @@
  • -

    For more information on using the emulator features, see Emulator Control Keys and Menu and Using Extended Emulator Features.

    +

    For more information on using the emulator features, see Using Emulator Control Keys, Menu, and Panel and Using Extended Emulator Features.

    Running on a Target Device

    @@ -348,7 +353,7 @@ cd tizen-sdk/tools
  • Generate an author certificate. -

    Before you run the application, you must sign your application package by generating an author certificate and registering it in the Tizen Studio.

    +

    Before you run the application, you must sign your application package with a certificate profile in the Tizen Studio.

  • Run the application: @@ -360,7 +365,11 @@ cd tizen-sdk/tools

    Alternatively, you can also select the project in the Project Explorer view and do one of the following:

    +
  • Click the run icon in the toolbar.
  • + +

    If you have both a connected device and existing emulator instances, select the device from the combo box in the toolbar before selecting to run the application.

    + +

    Selecting the device to use

  • Confirm that the application launches in the target device. @@ -376,8 +385,8 @@ cd tizen-sdk/tools The application is launched using the default debug run configuration. To create and use another configuration:
    1. In the Project Explorer view, right-click the project and select Run As > Run Configurations.
    2. -
    3. In the Run Configurations window, click the New Launch Configuration icon (New Launch Configuration), define the configuration details, and launch the application by clicking Run. -

      Run Configurations

    4. +
    5. In the Run Configurations window, click the New Launch Configuration icon (New Launch Configuration icon), define the configuration details, and launch the application by clicking Run. +

      Run Configurations window

    @@ -566,7 +575,7 @@ app_time_tick(watch_time_h watch_time, void* data)

    Using the Ambient Mode

    In a low-powered wearable device, an ambient mode is available. In this mode, the watch application shows a limited UI and receives only the ambient tick event every minute to reduce power consumption.

    -

    The details of the limited UI drawn in the ambient mode depend on the device. Usually, when designing the ambient mode UI, draw a black and white UI only, and use less than 20% of the pixels on the screen. If you do not want to draw your own ambient mode UI, set the ambient-support attribute to false in the watch application manifest file to allow the platform to show a default ambient mode UI.

    +

    The details of the limited UI drawn in the ambient mode depend on the device. In addition, due to the ambient mode being a low power mode, there are limits to the colors that can be shown on the screen. Usually, when designing the ambient mode UI, draw a black and white UI only, and use less than 15% of the pixels on the screen. If you do not want to draw your own ambient mode UI, set the ambient-support attribute to false in the watch application manifest file to allow the platform to show a default ambient mode UI.

    diff --git a/org.tizen.training/html/native/wearable_widget/first_app_widget_wn.htm b/org.tizen.training/html/native/wearable_widget/first_app_widget_wn.htm index ea8d19b..817cb0d 100644 --- a/org.tizen.training/html/native/wearable_widget/first_app_widget_wn.htm +++ b/org.tizen.training/html/native/wearable_widget/first_app_widget_wn.htm @@ -71,16 +71,6 @@

    When you are developing a more complex application, you can take advantage of the native tools included in the Tizen Studio to ease the tasks of creating functionality and designing the application UI.

    -

    Updating 2.3.1 Wearable Packages

    - -

    To develop wearable applications in the latest Tizen SDK, you must install the 2.3.1 wearable packages separately:

    - -
      -
    1. Launch the Update Manager by going to Start > All Programs > Tizen SDK-<version> > Update Manager-<version>.
    2. -
    3. In the All Packages tab, download all packages for 2.3.1 Wearable. -

      Download packages

    4. -
    -

    Creating a Project

    The following example shows you how to create and configure a basic wearable native widget application project in the Tizen Studio. An application project contains all the files that make up an application.

    @@ -111,13 +101,13 @@
  • Launch the Tizen Studio.

  • -

    Make sure the Tizen Native perspective is selected in the top right corner of the Tizen Studio window.

    +

    Make sure the Native perspective is selected in the top right corner of the Tizen Studio window.

    Checking the perspective

    -

    If not, select it. If the perspective is not visible, in the Tizen Studio menu, select Window > Open Perspective > Other > Tizen Native, and click OK.

    +

    If not, select it. If the perspective is not visible, in the Tizen Studio menu, select Window > Perspective > Open Perspective > Other > Native, and click OK.

  • -

    In the Tizen Studio menu, select File > New > Tizen Native Project.

    +

    In the Tizen Studio menu, select File > New > Tizen Project.

    Creating a new Tizen Native project

    The Project Wizard opens.

  • @@ -126,12 +116,25 @@

    In the Project Wizard, define the project details.

    The Project Wizard is used to create the basic application skeleton with the required folder structure and mandatory files. You can easily create different applications by selecting an applicable template or sample for the Project Wizard to use.

      -
    1. Select the Template tab and the WEARABLE-[version] > Widget template. The version depends on the SDK version you have installed and with which you are developing the application.

    2. -
    3. Change the project name, if you want.

    4. -
    5. Leave all other fields in the Project Wizard to their default values, and click Finish.

    6. +
    7. Select the Template project type and click Next.

      +

      Selecting the project type

      +
    8. +
    9. Select the profile (Wearable) and version from a drop-down list and click Next.

      +

      The version depends on the platform version you have installed and with which you are developing the application.

      +

      Selecting the profile and version

      +
    10. +
    11. Select the Native Application application type and click Next.

      +

      Selecting the application type

      +
    12. +
    13. Select the Widget template and click Next.

      +

      Selecting the template

      +
    14. +
    15. Define the project properties and click Finish.

      +

      You can fill the project name (3-50 characters) and the unique package ID. You can also select the location and working sets by clicking More properties.

      +

      Defining properties

      + +

      The Project Wizard sets up the project, creates the application files using the default content from the template, and closes. For more information about the Project Wizard and the available templates, see Creating Tizen Projects with Tizen Project Wizard.

    -

    Defining the project details

    -

    The Project Wizard sets up the project, creates the application files using the default content from the template, and closes. For more information about the Project Wizard and the available templates, see Creating Tizen Projects with Tizen Project Wizard.

    @@ -183,14 +186,14 @@
  • Localization: Define localized values for the application label, description, and icon.

  • Advanced: Define advanced features, such as application metadata, widget (preview image and supported size), and miscellaneous options.

  • -

    tizen-manifest.xml: View and edit the source code of the tizen-manifest.xml file. Changes made and saved on the other tabs are reflected in the source code and vice versa.

    +

    Source: View and edit the source code of the tizen-manifest.xml file. Changes made and saved on the other tabs are reflected in the source code and vice versa.

  • - +
    Note
    The tizen-manifest.xml file must conform to both the XML file format and the Tizen native application specification requirements. Editing the file in the source code view is intended for advanced users only.The tizen-manifest.xml file must conform to both the XML file format and the Tizen native application specification requirements. Editing the file in the Source tab is intended for advanced users only.
    @@ -198,7 +201,7 @@
  • -
  • To save any changes, in the Tizen Studio menu, select File > Save.

  • +
  • To save any changes, in the Tizen Studio menu, select File > Save All.

  • @@ -220,7 +223,7 @@
    1. Select the project in the Project Explorer view.
    2. In the Tizen Studio menu, select Project > Build Automatically. -

      Using the automatic build

      +

      Using the automatic build

      A check mark appears next to the menu option.

    @@ -232,12 +235,10 @@

    The manual build means that you determine yourself when the application is built.

    To manually build the application, right-click the project in the Project Explorer view and select Build Project.

    Figure: Manually building the application

    -

    Manually building the application

    +

    Manually building the application

    Alternatively, you can also select the project in the Project Explorer view and do one of the following:

    @@ -261,37 +262,43 @@
  • In the Connection Explorer view, launch the Emulator Manager by clicking the related icon.

    Emulator manager icon

  • - -
  • In the Emulator Manager, open the Create New Emulator drop-down list and select wearable. -

    Emulator manager

    +
  • In the Emulator Manager, click Create. +

    Creating an emulator instance

  • - -
  • Modify the emulator options, and click Confirm. +
  • Select the applicable platform (in this case, wearable-2.3.2-circle (basic)), and click Next. +

    Selecting the platform

    +
  • +
  • Select the device definition along with the platform version (in this case, Wearable Circle), and click Next. +

    Selecting the platform version

    +
  • +
  • Define the emulator properties, and click Finish.

    You can leave the options to their default values.

    -

    Emulator options

    +

    Defining the properties

  • -
  • To launch the emulator instance, select the emulator from the list and click the play icon. -

    Launch the emulator

    +
  • To launch the emulator instance, select the emulator from the list and click Launch. +

    Launching the emulator

    -

    The emulator is launched in its own window.

    -

    You can also see the new emulator instance in the Connection Explorer view. To view the emulator folder structure, click the arrow next to the emulator instance.

    +

    The emulator is launched in its own window. You can also see the new emulator instance in the Connection Explorer view. To view the emulator folder structure, click the arrow next to the emulator instance.

    Emulator

  • Generate a security profile. -

    Before you run the application, you must sign your application package by generating an author certificate and registering it in the Tizen Studio.

    +

    Before you run the application, you must sign your application package with a certificate profile in the Tizen Studio.

  • Run the application:
    1. In the Project Explorer view, right-click the project and select Run As > Tizen Native Application. -

      Run the application

      +

      Running the application

      Alternatively, you can also select the project in the Project Explorer view and do one of the following:

      • Press the Ctrl+F11 key.
      • -
      • Click the play icon (Play icon) in the toolbar.
      +
    2. Click the run icon in the toolbar.
    3. +

      If you have created multiple emulator instances, select the instance you want from the combo box in the toolbar before selecting to run the application. If you select an offline emulator, it is automatically launched when you select to run the application.

      + +

      Selecting the emulator to use

    4. Confirm that the application launches on the emulator. @@ -371,7 +378,7 @@ cd tizen-sdk/tools
    5. Generate an author certificate. -

      Before you run the application, you must sign your application package by generating an author certificate and registering it in the Tizen Studio.

      +

      Before you run the application, you must sign your application package with a certificate profile in the Tizen Studio.

    6. @@ -384,7 +391,11 @@ cd tizen-sdk/tools

      Alternatively, you can also select the project in the Project Explorer view and do one of the following:

      • Press the Ctrl+F11 key.
      • -
      • Click the play icon (Play icon) in the toolbar.
      +
    7. Click the run icon in the toolbar.
    8. + +

      If you have both a connected device and existing emulator instances, select the device from the combo box in the toolbar before selecting to run the application.

      + +

      Selecting the device to use

    9. Confirm that the application launches in the target device. @@ -400,8 +411,8 @@ cd tizen-sdk/tools The application is launched using the default debug run configuration. To create and use another configuration:
      1. In the Project Explorer view, right-click the project and select Run As > Run Configurations.
      2. -
      3. In the Run Configurations window, click the New Launch Configuration icon (New Launch Configuration), define the configuration details, and launch the application by clicking Run. -

        Run Configurations

      4. +
      5. In the Run Configurations window, click the New Launch Configuration icon (New Launch Configuration icon), define the configuration details, and launch the application by clicking Run. +

        Run Configurations window

      diff --git a/org.tizen.training/html/web/app_model/application_model_w.htm b/org.tizen.training/html/web/app_model/application_model_w.htm index c4fe25e..9d1157a 100644 --- a/org.tizen.training/html/web/app_model/application_model_w.htm +++ b/org.tizen.training/html/web/app_model/application_model_w.htm @@ -181,7 +181,7 @@ data - Native or Web application private data + Web or native application private data info diff --git a/org.tizen.training/html/web/details/deprecation_policy_w.htm b/org.tizen.training/html/web/details/deprecation_policy_w.htm new file mode 100644 index 0000000..33ec81c --- /dev/null +++ b/org.tizen.training/html/web/details/deprecation_policy_w.htm @@ -0,0 +1,203 @@ + + + + + + + + + + + + + + API Versioning and Deprecation Policy of the Tizen Platform + + + + + + +
      + +

      API Versioning and Deprecation Policy of the Tizen Platform

      + +

      As much as the Tizen team wants to have a completely stable API, the evolution of both hardware technology and software capabilities is rapid. To be maximally useful, the API set must evolve to reflect those changes to enable the development of compelling applications that use those features. As an inevitable side effect, APIs may become obsolete and need to be replaced by more feature-rich versions.

      + +

      To mitigate the effect of the API deprecations, the Tizen team has decided to support deprecated APIs for 2 releases. You are encouraged to use the best API set that meets your needs at the time of development. If the application needs a specific API version, you can indicate it in the packaging information for Web, native, and hybrid application packages.

      + +

      API Versioning

      + +

      The version format used to identify the APIs of the Tizen platform is X.Y.Z (Major.Minor.Micro). All changes, including any kind of version upgrade, maintain the application binary interface (ABI) compatibility excepting only critical security reasons.

      + +

      Deprecation Policy and Schedule

      + +

      API deprecation is used to inform you that some APIs are no longer recommended for use in your applications. The Tizen team is trying to keep the API as stable as possible, but sometimes APIs must be deprecated due to, for example, critical security issues, or new and better alternatives.

      + +

      Based on a careful analysis, the following deprecation policy has been adopted in Tizen:

      + +
        +
      • This policy comes into effect beginning with Tizen 2.4.
      • +
      • The functionality of the deprecated API is available for 2 releases, as indicated in the following table. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
        Table: Deprecation schedule
        V1 (Tizen 2.4/2.3.1/2.3.2) +

        Deprecation notice

        V2 (Tizen 3.0) +

        Deprecated since V1

        V3 (Tizen 3.x) +

        Deprecated since V1

        API functionalityAvailableAvailableNot available
        API symbolAvailableAvailableNot available
        API Reference +

        API Guides

        +

        Samples

        AvailableAvailableNot available
        TCTAvailableAvailableNot available
        +
      • +
      • Deprecated APIs are removed after 2 version releases (including the notice version). +

        During the 2 version releases, the functionality of the deprecated API may also be removed immediately for security reasons or as an unavoidable part of the platform evolution.

      • +
      • Alternatives must be described within the reference of the deprecated API, if possible.
      • +
      • All version changes are considered 1 release for purposes of the deprecation policy.
      • +
      + +

      Identifying a Deprecated API

      + +

      The Tizen Studio continues to provide deprecation warnings. From the API reference, you can find a highlighted tag starting with Deprecated. If there is an alternative for the deprecated API, it is specified within that tag.

      + +

      The following examples illustrate how the deprecation info is shown in the API reference:

      + +
        +
      • Deprecated API in the Native API: + +
        +int app_context_get_package(app_context_h app_context, char ** package)
        +
        +Gets the package with the given application context.
        +
        +Deprecated:
        +    Deprecated since 2.3.1. Use app_context_get_app_id() instead.
        +Since:
        +    2.3
        +
        +
      • +
      • Deprecated API in the Web API: +
        +addAppInfoEventListener
        +Adds a listener for receiving notifications for changes 
        +in the list of installed applications on a device.
        +Deprecated. It is deprecated since Tizen 2.4. Instead, set a listener for getting notified
        +of the application changes (add/remove/update) on a device using tizen.package.setPackageInfoEventListener().
        +
        +long addAppInfoEventListener(ApplicationInformationEventCallback eventCallback);
        +             
        +Since: 2.0
        +
        +
      • +
      • Deprecated enumeration in the Native API: +
        +enum telephony_call_state_e
        +Enumeration for the call state.
        +Deprecated:
        +    Deprecated Since 2.4. Use telephony_call_status_e instead.
        +Since:
        +    2.3
        +
        +
      • +
      • Deprecated type definition in the Native API: + +
        +typedef void* bt_gatt_attribute_h
        +The attribute handle of GATT (Generic Attribute Profile)
        +Deprecated:
        +    Deprecated since 2.3.1. Use bt_gatt_h instead.
        +Since:
        +    2.3
        +
        +
      • +
      + +

      You can also see the API deprecation warning in log messages:

      + +
        +
      • In a log message: +
        +DEPRECATION WARNING: app_context_get_package() is deprecated and
        +will be removed from next release. Use app_context_get_app_id() instead.
        +
        +
      • +
      • In a build log message: +
        +[2/3] Building src/basicuiwithedc.o
        +../src/basicuiwithedc.c:26:19: warning: 'app_get_resource_path' is deprecated [-Wdeprecated-declarations]
        +    char *res_path = app_get_resource_path();
        +
        +
      • +
      + +

      API Backward Compatibility

      + +

      With the best efforts, the Tizen platform tries to provide a backward compatibility of public APIs documented in the API reference. Therefore, you must use the listed APIs in the API reference to make the applications compatible.

      + + + +
      + +Go to top + + + + + + + + diff --git a/org.tizen.training/html/web/details/details_w.htm b/org.tizen.training/html/web/details/details_w.htm index cbc8cab..992cc97 100644 --- a/org.tizen.training/html/web/details/details_w.htm +++ b/org.tizen.training/html/web/details/details_w.htm @@ -38,7 +38,8 @@
    10. Security and API Privileges
    11. Application Filtering
    12. Web Runtime
    13. -
    14. Event Handling (in wearable applications only)
    15. +
    16. Event Handling (in wearable applications only)
    17. +
    18. API Versioning and Deprecation Policy of the Tizen Platform
    19. Application Signing and Certificates
    20. diff --git a/org.tizen.training/html/web/details/event_handling_w.htm b/org.tizen.training/html/web/details/event_handling_w.htm index c6e8669..ba88610 100644 --- a/org.tizen.training/html/web/details/event_handling_w.htm +++ b/org.tizen.training/html/web/details/event_handling_w.htm @@ -86,7 +86,7 @@ document.addEventListener("rotarydetent", function(ev)

      In low-powered wearable devices, the Tizen platform supports an ambient mode for watch applications. When the device enables the ambient mode, the Tizen watch application displayed on an idle screen can show a limited UI to reduce power consumption. The watch application also receives a tick event every minute in the ambient mode.

      -

      The details of the limited UI drawn in the ambient mode depend on the device. Usually, when designing the ambient mode UI, draw a black and white UI only, and use less than 15% of the pixels on the screen. If you do not want to draw your own ambient mode UI, set the ambient-support attribute to disable in the watch application manifest file to allow the platform to show a default ambient mode UI.

      +

      The details of the limited UI drawn in the ambient mode depend on the device. In addition, due to the ambient mode being a low power mode, there are limits to the colors that can be shown on the screen. Usually, when designing the ambient mode UI, draw a black and white UI only, and use less than 15% of the pixels on the screen. If you do not want to draw your own ambient mode UI, set the ambient_support attribute to disable in the watch application config.xml file to allow the platform to show a default ambient mode UI.

      Since Tizen 2.3.2, some devices introduce a high color mode for the ambient mode. In the high color mode, you can use more colors (usually, 24-bit color) for drawing the ambient mode UI. To check whether the device supports the high color mode, use the following code:

      diff --git a/org.tizen.training/html/web/details/sec_privileges_w.htm b/org.tizen.training/html/web/details/sec_privileges_w.htm index 182fee9..a764856 100644 --- a/org.tizen.training/html/web/details/sec_privileges_w.htm +++ b/org.tizen.training/html/web/details/sec_privileges_w.htm @@ -15,7 +15,7 @@ + @@ -39,7 +39,18 @@ tr.partner-level, tr.platform-level { background-color: #cff }
    21. The platform level is the highest privilege level, and an application that needs these privileges requires at least a platform-signed certificate, which is granted to vendor developers.
    22. -

      Since Tizen platform 3.0, some privileges are categorized as privacy related and gives option to the users to on and off them. If an application invokes a privileged API, the Tizen system checks whether the privilege is allowed to it. For application to get a required privilege, the privilege must be declared in the config.xml file. If the platform version is 3.0 or higher and the privilege is included in privacy group, it must not be switched off by the user.

      +

      Since Tizen platform 3.0, some privileges are categorized as privacy-related and give an option to the user to switch them on and off. If an application invokes a privacy-related privileged API, the Tizen system checks whether the privilege is allowed for the application. For the application to use the API, the privilege must be declared in the config.xml file and the user must have switched it on.

      + + + + + + + + + + +
      Note
      In applications with the platform version 3.0 or higher, if you use privacy-related privileged APIs, make sure that the user has switched the privilege on before making the function call. Otherwise, the application does not work as expected.

      The Tizen Studio also provides privilege checker tools to check whether the Tizen application source code contains any privilege violations. For more information, see Verifying Privilege Usage.

      @@ -116,7 +127,7 @@ tr.partner-level, tr.platform-level { background-color: #cff } public 2.2.1 - The application can change Bluetooth settings, such as turning Bluetooth on or off and setting the device name. Deprecated since 2.4. Use http://tizen.org/privilege/bluetooth instead. + The application can change Bluetooth settings, such as switching Bluetooth on or off and setting the device name. Deprecated since 2.4. Use http://tizen.org/privilege/bluetooth instead. @@ -288,7 +299,7 @@ tr.partner-level, tr.platform-level { background-color: #cff } public 2.4 - The application can turn LEDs on or off, such as the LED on the front of the device and the camera flash. + The application can switch LEDs on or off, such as the LED on the front of the device and the camera flash. http://tizen.org/privilege/location @@ -435,7 +446,7 @@ tr.partner-level, tr.platform-level { background-color: #cff } public 2.3.1 - The application can retrieve telephony information, such as the network and SIM card used, the IMEI, and the statuses of calls. + The application can retrieve telephony information, such as the network and SIM card used, the IMEI, and the status of calls. http://tizen.org/privilege/volume.set @@ -598,7 +609,7 @@ tr.partner-level, tr.platform-level { background-color: #cff } public 2.3.1 - The application can change Bluetooth settings, such as turning Bluetooth on or off and setting the device name. Deprecated since 3.0. Use http://tizen.org/privilege/bluetooth instead. + The application can change Bluetooth settings, such as switching Bluetooth on or off and setting the device name. Deprecated since 3.0. Use http://tizen.org/privilege/bluetooth instead. http://tizen.org/privilege/bluetooth.gap @@ -703,7 +714,7 @@ tr.partner-level, tr.platform-level { background-color: #cff } public 3.0 - The application can turn LEDs on or off, such as the LED on the front of the device and the camera flash. + The application can switch LEDs on or off, such as the LED on the front of the device and the camera flash. http://tizen.org/privilege/location @@ -829,7 +840,7 @@ tr.partner-level, tr.platform-level { background-color: #cff } public 2.3.1 - The application can retrieve telephony information, such as the network and SIM card used, the IMEI, and the statuses of calls. + The application can retrieve telephony information, such as the network and SIM card used, the IMEI, and the status of calls. http://tizen.org/privilege/volume.set diff --git a/org.tizen.training/html/web/details/tizen_apis_w.htm b/org.tizen.training/html/web/details/tizen_apis_w.htm index fe938fd..909497d 100644 --- a/org.tizen.training/html/web/details/tizen_apis_w.htm +++ b/org.tizen.training/html/web/details/tizen_apis_w.htm @@ -78,7 +78,8 @@
    23. Guides:

      Alarms

      Application Management

      -

      Notifications

    24. +

      Notifications

      +

      Text Input

    25. API Reference: Application Framework
    26. @@ -218,7 +219,8 @@
    27. Guides:

      Alarms

      Application Management

      -

      Notifications

    28. +

      Notifications

      +

      Text Input

    29. API Reference: Application Framework
    30. @@ -258,7 +260,7 @@ Network - These APIs contain classes and interfaces that enable you to manage Bluetooth, NFC (Near Field Communication), push, and secure element features. + These APIs contain classes and interfaces that enable you to manage Bluetooth, NFC (Near Field Communication), and secure element features.

      You can transfer data over a Bluetooth connection, share contacts, photos, and videos using NFC, and access secure elements, such as SIM card and secure SD card, in a device.

        diff --git a/org.tizen.training/html/web/mobile/first_app_mw.htm b/org.tizen.training/html/web/mobile/first_app_mw.htm index 48a789c..d1ddf39 100644 --- a/org.tizen.training/html/web/mobile/first_app_mw.htm +++ b/org.tizen.training/html/web/mobile/first_app_mw.htm @@ -71,8 +71,6 @@

        The following figure illustrates the application to be created:

        -

        The following figure illustrates the application to be created:

        -
        • On the left, the figure shows the application screen when the application starts. The screen displays the Basic text.

        • On the right, the figure shows the application screen after you tap the text. The screen now displays the Tizen text. Tapping the text area switches between the 2 texts.

        • @@ -88,13 +86,13 @@
        • Launch the Tizen Studio.

        • -

          Make sure the Tizen Web perspective is selected in the top right corner of the Tizen Studio window.

          +

          Make sure the Web perspective is selected in the top right corner of the Tizen Studio window.

          Checking the perspective

          -

          If not, select it. If the perspective is not visible, in the Tizen Studio menu, select Window > Open Perspective > Other > Tizen Web, and click OK.

          +

          If not, select it. If the perspective is not visible, in the Tizen Studio menu, select Window > Perspective > Open Perspective > Other > Web, and click OK.

        • -

          In the Tizen Studio menu, select File > New > Tizen Web Project.

          +

          In the Tizen Studio menu, select File > New > Tizen Project.

          Creating a new Tizen Web project

          The Project Wizard opens.

        • @@ -104,12 +102,25 @@

          The Project Wizard is used to create the basic application skeleton with the required folder structure and mandatory files. You can easily create different applications by selecting an applicable template or sample for the Project Wizard to use.

            -
          1. Select the Template tab and the MOBILE-[version] > Basic template. The version depends on the SDK version you have installed and with which you are developing the application.

          2. -
          3. Change the project name, if you want.

          4. -
          5. Leave all other fields in the Project Wizard to their default values, and click Finish.

          6. +
          7. Select the Template project type and click Next.

            +

            Selecting the project type

            +
          8. +
          9. Select the profile (Mobile) and version from a drop-down list and click Next.

            +

            The version depends on the platform version you have installed and with which you are developing the application.

            +

            Selecting the profile and version

            +
          10. +
          11. Select the Web Application application type and click Next.

            +

            Selecting the application type

            +
          12. +
          13. Select the Basic UI template and click Next.

            +

            Selecting the template

            +
          14. +
          15. Define the project properties and click Finish.

            +

            You can fill the project name (3-50 characters) and the unique package ID. You can also select the location and working sets by clicking More properties.

            +

            Defining properties

            + +

            The Project Wizard sets up the project, creates the application files using the default content from the template, and closes. For more information about the Project Wizard and the available templates, see Creating Tizen Projects with Tizen Project Wizard.

          -

          Defining the project details

          -

          The Project Wizard sets up the project, creates the application files using the default content from the template, and closes. For more information about the Project Wizard and the available templates, see Creating Tizen Projects with Tizen Project Wizard.

    @@ -155,7 +166,6 @@

    Configuring the application

  • -
  • To save any changes, in the Tizen Studio menu, select File > Save.

  • +
  • To save any changes, in the Tizen Studio menu, select File > Save All.

  • @@ -239,27 +249,29 @@
  • In the Connection Explorer view, launch the Emulator Manager by clicking the related icon.

    Emulator manager icon

  • - -
  • In the Emulator Manager, open the Create New Emulator drop-down list and select mobile. -

    Emulator manager

    +
  • In the Emulator Manager, click Create. +

    Creating an emulator instance

  • - -
  • Modify the emulator options, and click Confirm. +
  • Select the applicable platform (in this case, mobile-2.4 (basic)), and click Next. +

    Selecting the platform

    +
  • +
  • Select the device definition along with the platform version (in this case, HD Mobile), and click Next. +

    Selecting the platform version

    +
  • +
  • Define the emulator properties, and click Finish.

    You can leave the options to their default values.

    -

    Emulator options

    +

    Defining the properties

  • +
  • To launch the emulator instance, select the emulator from the list and click Launch. +

    Launching the emulator

    -
  • To launch the emulator instance, select the emulator from the list and click the play icon. -

    Launch the emulator

    - -

    The emulator is launched in its own window.

    -

    You can also see the new emulator instance in the Connection Explorer view. To view the emulator folder structure, click the arrow next to the emulator instance.

    +

    The emulator is launched in its own window. You can also see the new emulator instance in the Connection Explorer view. To view the emulator folder structure, click the arrow next to the emulator instance.

    Emulator

  • Generate a security profile. -

    Before you run the application, you must sign your application package by generating an author certificate and registering it in the Tizen Studio.

    +

    Before you run the application, you must sign your application package with a certificate profile in the Tizen Studio.

  • Run the application: @@ -267,11 +279,15 @@
  • In the Project Explorer view, right-click the project and select Run As > Tizen Web Application. -

    Run the application

    +

    Running the application

    Alternatively, you can also select the project in the Project Explorer view and do one of the following:

    +
  • Click the run icon in the toolbar.
  • + +

    If you have created multiple emulator instances, select the instance you want from the combo box in the toolbar before selecting to run the application. If you select an offline emulator, it is automatically launched when you select to run the application.

    + +

    Selecting the emulator to use

  • Confirm that the application launches on the emulator. @@ -298,7 +314,7 @@
  • -

    For more information on using the emulator features, see Emulator Control Keys and Menu and Using Extended Emulator Features.

    +

    For more information on using the emulator features, see Using Emulator Control Keys, Menu, and Panel and Using Extended Emulator Features.

    Running on the Web Simulator

    @@ -307,9 +323,9 @@
    1. In the Project Explorer view, right-click the project and select Run As > Tizen Web Simulator Application.

      -

      Run the application

      +

      Running the application

      -

      Alternatively, you can also select the project in the Project Explorer view and click the play icon (Play icon) in the toolbar.

      +

      Alternatively, you can also select the project in the Project Explorer view and click the run icon in the toolbar.

    2. Confirm that the application launches on the Web Simulator.

      @@ -327,18 +343,22 @@
      1. Connect the mobile target device to your computer using a USB cable.
      2. Generate an author certificate. -

        Before you run the application, you must sign your application package by generating an author certificate and registering it in the Tizen Studio.

        +

        Before you run the application, you must sign your application package with a certificate profile in the Tizen Studio.

      3. Run the application:
        1. In the Connection Explorer view, select the device.
        2. In Project Explorer view, right-click the project and select Run As > Tizen Web Application. -

          Run the application on a target device

          +

          Running the application on a target device

          Alternatively, you can also select the project in the Project Explorer view and do one of the following:

          • Press the Ctrl+F11 key.
          • -
          • Click the play icon (Play icon) in the toolbar.
          +
        3. Click the run icon in the toolbar.
        4. + +

          If you have both a connected device and existing emulator instances, select the device from the combo box in the toolbar before selecting to run the application.

          + +

          Selecting the device to use

        5. Confirm that the application launches in the target device.
        6. @@ -354,8 +374,8 @@ The application is launched using the default debug run configuration. To create and use another configuration:
          1. In the Project Explorer view, right-click the project and select Run As > Run Configurations.
          2. -
          3. In the Run Configurations window, click the New Launch Configuration icon (New Launch Configuration), define the configuration details, and launch the application by clicking Run. -

            Run Configurations

          4. +
          5. In the Run Configurations window, click the New Launch Configuration icon (New Launch Configuration icon), define the configuration details, and launch the application by clicking Run. +

            Run Configurations window

          @@ -540,10 +560,10 @@ body
          1. Install TAU templates. -

            The Tizen 2.4 SDK comes with the Update Manager tool, which you can use to install the TAU packages required for TAU application development.

            +

            The Tizen Studio comes with the Package Manager tool, which you can use to install the TAU packages required for TAU application development.

            The TAU packages enable you to create the Web application using a TAU template.

            -

            Update manager installation

            +

            TAU package installation

          2. Start the application development with the TAU library.

            You can get the TAU library using a TAU template or a sample application as a basis for your application. The easiest way to start your first TAU application is to create a new project with a TAU template.

            @@ -595,12 +615,13 @@ body

            To create a project with a TAU template:

              -
            1. Go to File > New > Tizen Web Project.
            2. -
            3. Go to Template > Mobile-2.4 > TAU SinglePage. -

              Create a new project

              +
            4. Go to File > New > Tizen Project.
            5. +
            6. Select Template > Mobile v2.4 > Web Application > TAU SinglePage. +

              Creating a new project

            7. -
            8. Enter the project name and select 2.4 for version.
            9. -
            10. Click Finish.
            11. +
            12. Change the project name and properties and click Finish. +

              Changing properties

            13. +
            14. In the Project Explorer view, view the project.

              The TAU library is located in the lib folder.

              TAU library directory

              @@ -836,10 +857,9 @@ body </body>
            15. -
            16. In the Project Explorer view, right-click the project and select New > JavaScript Source File. +
            17. In the Project Explorer view, right-click the project and select New > JavaScript Source File.

              Create a new JavaScript file

            18. -
            19. Write the file name as app.js and click Finish. -

              Name the new file

            20. +
            21. Write the file name as app.js and click Finish.
            22. In the app.js file, all kinds of logic can be added to the application. In this case, add several lines for handling navigation:

              diff --git a/org.tizen.training/html/web/process/app_dev_process_w.htm b/org.tizen.training/html/web/process/app_dev_process_w.htm index 6b9ceb3..b4d4781 100644 --- a/org.tizen.training/html/web/process/app_dev_process_w.htm +++ b/org.tizen.training/html/web/process/app_dev_process_w.htm @@ -70,8 +70,6 @@

              The Tizen Studio provides various project templates that make it easier for you to start coding your application. When you create a new project, you can select a specific template or sample. Based on the selection, the Tizen Web Project Wizard automatically creates basic functionalities that the application has to implement to be able to run. The default project files and folders are also created.

              -

              You can also create custom user templates.

              -

              Setting Project Properties

              After creating the application project, you can configure the properties of the project and the Web application to achieve the required functionality and features for your application.

              diff --git a/org.tizen.training/html/web/process/creating_app_project_w.htm b/org.tizen.training/html/web/process/creating_app_project_w.htm index 9493487..29bb81a 100644 --- a/org.tizen.training/html/web/process/creating_app_project_w.htm +++ b/org.tizen.training/html/web/process/creating_app_project_w.htm @@ -14,33 +14,39 @@ Creating the Application Project - +
              +
              +

              Mobile Web Wearable Web TV Web

              +

              Creating the Application Project

              You can create a Web application project by selecting from a variety of templates and samples. The following instructions are specific for creating the project with a template.

              To create a Web application project:

                -
              1. In the Tizen Studio, select File > New > Tizen Web Project.

                If the project option you want is not visible, make sure that you are using the correct perspective (Tizen Web). To switch perspectives, go to Window > Open Perspective > Other and select the perspective you need.

              2. -
              3. In the New Tizen Web Project window, define the project details: +
              4. In the Tizen Studio, select File > New > Tizen Project. +

                Creating a new project

                +

                The Project Wizard opens.

              5. +
              6. In the Project Wizard, define the project details. +

                The Project Wizard is used to create the basic application skeleton with the required folder structure and mandatory files. You can easily create different applications by selecting an applicable template or sample for the Project Wizard to use.

                  -
                1. Select the project type.
                2. -
                3. Define the name of your project.

                  The default location for your application project is defined.

                  +
                4. Select the Template project type and click Next.

                  +

                  Selecting the project type

                  +
                5. +
                6. Select the profile (Mobile or Wearable) and version from a drop-down list and click Next.

                  +

                  Selecting the profile and version

                  +
                7. +
                8. Select the Web Application application type and click Next.

                  +

                  Selecting the application type

                  +
                9. +
                10. Select the template you want to use and click Next.

                  +

                  Selecting the template

                  +
                11. +
                12. Define the project properties and click Finish.

                  +

                  You can fill the project name. You can also select the location and working sets by clicking More properties.

                  @@ -50,91 +56,21 @@ -
                  The Tizen API names cannot be used as project names. The project name must be more than 2 characters and is restricted to the following regular expression: [a-zA-Z][a-zA-Z0-9-]{2,49}.
                13. -
              7. -
              8. Click Finish.
              9. -
              -

              The new application project is shown in the Project Explorer view of the Tizen Studio, with default content in the config.xml file as well as in several project folders.

              -

              Figure: Creating a Tizen mobile Web project

              -

              Creating a Tizen mobile Web project

              - -

              Figure: Creating a Tizen wearable Web project

              -

              Creating a Tizen wearable Web project

              + +

              Defining properties

              +

              The Project Wizard sets up the project, creates the application files using the default content from the template, and closes. For more information about the Project Wizard and the available templates, see Creating Tizen Projects with Tizen Project Wizard.

            23. +
          +

          The new application project is shown in the Project Explorer view of the Tizen Studio, with default content in the config.xml file as well as in several project folders.

          Importing a Project

          If you have an existing Tizen application project, you can import it into the Tizen Studio:

            -
          1. Select File > Import > Tizen > Tizen Project.
          2. +
          3. Select File > Import > Tizen > Tizen Project, and click Next.
          4. Click Browse and select the root directory, which contains your existing project, or Web application package file (with the .wgt extension).
          5. -
          6. Select a profile and version from the Platform drop-down lists.
          7. +
          8. With the Platform drop-down lists, select the platform profile and version.
          9. Click Finish.
          10. -
          - - -

          Exporting a Project User Template

          -

          To export an existing project as a user template that you can use as a basis for creating other projects:

          -
            -
          1. Select File > Export > Tizen > Tizen Web User Template.
          2. -
          3. In the User Template Export Wizard window, define the project and user template details: -
              -
            1. Select the source project.
            2. -
            3. Define the name of your user template.
            4. -
            5. Click Browse and select the export location.

              You can add the template to the User Template tab of the New Tizen Web Project window by selecting the Import a template to the new project wizard automatically check box. To select a template description, preview image, and icon files to be shown in the Project Wizard, click Next.

            6. -
          4. -
          5. Click Finish.
          6. -
          - -

          User Template

          -

          You can create custom user templates from existing projects and use these templates to create new projects. The created user templates are located in the <TIZEN_STUDIO_DATA>/ide/user-templates/web directory and a user-defined directory. When you create a user template, you can define the export location in the User Template Export Wizard.

          -

          Figure: User template export location

          -

          User template export location

          - -

          The <TIZEN_STUDIO_DATA> directory is different for different platforms:

          -
            -
          • In Ubuntu: /home/${USER_NAME}/tizen-sdk-data (in mobile Web projects) or /home/${USER_NAME}/tizen-wearable-sdk-data (in wearable Web projects)
          • -
          • In Windows® XP: C:\tizen-sdk-data (in mobile Web projects) or C:\tizen-wearable-sdk-data (in wearable Web projects)
          • -
          • In Windows® 7: C:\tizen-sdk-data (in mobile Web projects) or C:\tizen-wearable-sdk-data (in wearable Web projects)
          • -
          -

          The project folder of a user template consists of project-related files that are copied into new projects created using the user template. You can modify these files in your new project.

          -

          The following table describes the files included in a user template in addition to the project folder content.

          - - - - - - - - - - - - - - - - -
          - Table: User template files -
          FileContents
          description.xmlThis file consists of the following template description information that is displayed in the Project Wizard: -
            -
          • <SampleName> tag: Project type name. Several project types can be created using the same user template.
          • -
          • <SampleVersion> tag: Project type version.
          • -
          • <Preview> tag: Preview file name.
          • -
          • <Description> tag: Description title.
          • -
          tizen-app-template.xmlThis file consists of the following template definition information that is displayed in the Project Wizard: -
            -
          • <template-name> tag: User template name.
          • -
          • <widget-type> tag: Widget type, which is set as TIZEN by default.
          • -
          • <description-file-name> tag: Description file name, which is set as description.xml by default.
          • -
          • icon64 and icon32 attributes: Icon image file name. The number suffixes refer to the icon size.
          • -
          -

          To create a new user template from an existing user template (instead of an exporting the template from an existing project):

          -
            -
          1. Copy and rename the <TIZEN_STUDIO_DATA>/ide/user-templates/web folder.

            The folder contains a default template layout.

          2. -
          3. Edit the files within the new folder, or add new files (such as snapshot or icon images and JavaScript and CSS files), as needed.
          4. -
          - +
        diff --git a/org.tizen.training/html/web/process/run_debug_app_w.htm b/org.tizen.training/html/web/process/run_debug_app_w.htm index c8c913a..0f14573 100644 --- a/org.tizen.training/html/web/process/run_debug_app_w.htm +++ b/org.tizen.training/html/web/process/run_debug_app_w.htm @@ -37,30 +37,30 @@

        Running and Debugging Applications

        -

        You can run your application on the Emulator or the target device. You can also run mobile applications on the simulator. Use the Rapid Development Support feature to speed up the development tasks. If your application does not run without problems, you can debug it.

        +

        You can run your application on the emulator or the target device. You can also run mobile applications on the simulator. Use the Rapid Development Support feature to speed up the development tasks. If your application does not run without problems, you can debug it.

        Running Web Applications on the Emulator

        -

        You can debug Tizen Web applications on the Emulator using the Project Explorer view or the Tizen Studio menu.

        +

        You can debug Tizen Web applications on the emulator using the Project Explorer view or the Tizen Studio menu.

        -

        To launch the Emulator, do one of the following:

        +

        To launch the emulator, do one of the following:

        • Use the Emulator Manager:
          1. Start the Emulator Manager using the Desktop (in Ubuntu) or Start menu (in Windows®), or using the command line.
          2. -
          3. In the Emulator Manager window, select the Emulator image in the Name column.

            If you are using the Emulator Manager for the first time, you must create an Emulator image. To create an Emulator image, click Create New, set the image details, and click Save.

          4. +
          5. In the Emulator Manager window, select the emulator instance from the list.

            If you are using the Emulator Manager for the first time, you must create an emulator instance: click Create, select the platform (system image) and template (device definition), and click Finish.

          6. Click Launch.
        • Use the command line.
        -

        To run the application on the Emulator, do one of the following:

        +

        To run the application on the emulator, do one of the following:

        • In the Project Explorer view, right-click the project and select Run As > Tizen Web Application.
        • In the Tizen Studio menu, go to Run > Run As > Tizen Web Application.
        • On the Tizen Studio toolbar, click Run.
        -

        To stop the Emulator, right-click the Emulator and click Close.

        +

        To stop the emulator, right-click the emulator and click Close.

        @@ -68,7 +68,7 @@ - +
        Note
        Running an Emulator image requires a minimum free disk space of 20 MB. The image can occupy up to 10 GB of disk space.Running an emulator instance requires a minimum free disk space of 20 MB. The emulator image can occupy up to 10 GB of disk space.
        diff --git a/org.tizen.training/html/web/process/setting_properties_w.htm b/org.tizen.training/html/web/process/setting_properties_w.htm index 71d3203..c194926 100644 --- a/org.tizen.training/html/web/process/setting_properties_w.htm +++ b/org.tizen.training/html/web/process/setting_properties_w.htm @@ -30,7 +30,7 @@

        Related Info

        @@ -38,15 +38,10 @@

        Setting Project Properties

        -

        Before you implement the actual application functionality, define all the necessary properties for your application project. To set the application project properties, right-click the project in the Tizen Studio Project Explorer view and select Properties. After setting or changing a property, click Apply.

        - -

        The settings that you can define in the application project properties include:

        - - -

        You can set the Web application configuration in the config.xml file.

        +

        Before you implement the actual application functionality, define all the necessary properties for your application project:

        +
          +
        • To set the application project properties for build and JSON properties, right-click the project in the Tizen Studio Project Explorer view and select Properties. After setting or changing a property, click OK.
        • +
        • To define the Web application configuration, edit the config.xml file. @@ -58,7 +53,7 @@
          - +

        After you have finished setting the project properties, you are ready to design the UI.

        @@ -77,47 +72,33 @@

      Setting the Web Application Configuration

      -

      Every application has a config.xml configuration file. The Tizen Studio provides a Web application configuration editor for configuring the application.

      -

      To edit the config.xml file, open it by double-clicking the file in the Project Explorer view.

      -

      You can edit Web application properties using the tabs of the Web application configuration editor.

      + +

      The Web application configuration consists of application information, such as version, features, and privileges, which are available for the application. To configure the application information in the Web application configuration editor, double-click the application config.xml file in the Project Explorer view.

      +

      Figure: Setting the application configuration

      +

      Setting the application configuration

      +

      You can edit the application properties using the form tabs of the Web application configuration editor.

      Defining and Editing General Information in the Overview Tab

      -

      You can define and edit general information of the Web application in the Overview tab of the Web application configuration editor.

      +

      You can define and edit general information of the application in the Overview tab of the Web application configuration editor.

      -

      The following table lists the Web application properties you can edit in the Overview tab.

      - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      - Table: Web application general information -
      PropertyDescription
      IdentifierWeb application identifier
      VersionCurrent version of the Web application
      NameWeb application name that is displayed in an application menu or in other contexts
      ContentStart-up file of the Web application
      Icon Custom icon for the Web application, displayed in the main menu. -

      The following icon format and sizes can be used:

      +

      You can perform the following tasks using the Overview tab:

      + +
        +
      • View the application identifier. +

        The Tizen Studio creates automatically an application ID, which uniquely identifies the application within the package.

      • +
      • Set the content. +

        The content represents the start-up file of the Web application.

      • +
      • Set the application name. +

        The application name is displayed in an application menu or in other contexts.

      • +
      • Set the version. +

        The format of the current application version is "x.y.z".

      • +
      • Add an application icon. +

        You can add a launcher icon to your application by defining it in the Icon panel.

        +

        The following table describes the available icon format and size.

        @@ -130,110 +111,60 @@
        - Table: Icon formats and sizes + Table: Icon format and size
        -
      - -

      Defining Web Application License Information and UI Preferences in the Widget Tab

      - -

      You can define license information and UI preferences of the Web application in the Widget tab of the Web application configuration editor.

      - -

      The following table lists the Web application properties you can edit in the Widget tab.

      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      - Table: Web application license and UI information -
      PropertyDescription
      Managing the Web application
      Author Person or organization that created the Web application
      E-mailEmail address of the author
      Web Site IRI associated with the Web application, such as a homepage or a profile on a social network
      LicenseSoftware license, which can include content, such as a usage agreement, redistribution statement, and copyright license terms, under which the content of the Web application package is provided
      License URL Valid IRI or path associated with the software or content license
      DescriptionFree-form Web application description
      Managing the Web application UI
      Width Start-up file viewport width
      HeightStart-up file viewport height
      View Modes Preferred view mode (maximized fullscreen)
      +
    3. +
    4. Define the application author, license, and description in the Managing the Application section: +
      • Author field represents the person or organization that created the Web application.
      • +
      • E-mail field represents the email address of the author.
      • +
      • Web Site field represents the IRI associated with the Web application, such as a homepage or a profile on a social network.
      • +
      • License field represents the software license, which can include content, such as a usage agreement, redistribution statement, and copyright license terms, under which the content of the Web application package is provided.
      • +
      • License URL field represents the valid IRI or path associated with the software or content license.
      • +
      • Description field represents the human-readable description of the Tizen Web application package.
      • +
      +
    5. +
    6. Define the UI preferences of the application in the Managing the Application UI section: +
      • Width field represents the start-up file viewport width.
      • +
      • Height field represents the start-up file viewport height.
      • +
      • View Modes field represents the preferred view mode (maximized fullscreen).
      • +
      +
    7. +

      Declaring Required Software or Hardware Features in the Features Tab

      -

      You can declare required software or hardware features. This declaration can be used for application filtering in the Tizen Store.

      +

      You can declare any device software or hardware features that your application requires to run properly. The declaration can be used for application filtering in the Tizen Store.

      To enable filtering for your Web application:

        -
      1. In the Features tab of the Web application configuration editor, click Add.
      2. -
      3. Select a feature from the predefined list of features available for filtering.
      4. -
      5. Click Save.
      6. +
      7. In the Features tab, click +.
      8. +
      9. Select the needed features from the predefined list of features available for filtering.
      10. +
      11. Click Finish.
      12. Upload and publish the application package on the Tizen Store.

        If a Tizen-powered device requests applications, the store displays a list containing only applications compatible with the user's device.

      -

      After setting the feature information with the Web application configuration editor, you can see the added code in the Source tab.

      - -

      The following example shows the setting in the config.xml file code:

      +

      After saving the feature information with the Web application configuration editor, you can see the added code in the Source tab:

      -<tizen:feature name="http://tizen.org/feature/network.nfc"/>
      +<feature name="http://tizen.org/feature/network.nfc"/>
       
      -

      Specifying Privileges in the Privilege Tab

      +

      Specifying Privileges in the Privileges Tab

      -

      You can use features and services provided by privileged APIs, which handle platform and user-sensitive data. You can specify an API, or API groups, accessed and used by the Web application in the Privilege tab of the Web application configuration editor. The tab serves as a standardized tool to request the binding of an IRI-identifiable runtime component for a Web application to use at runtime.

      +

      You can use features and services provided by privileged APIs, which handle platform and user-sensitive data. You can specify an API, or API groups, accessed and used by the Web application in the Privileges tab of the Web application configuration editor. The tab serves as a standardized tool to request the binding of an IRI-identifiable runtime component for a Web application to use at runtime.

      To add a privilege:

        -
      1. In the Privilege tab of the Web application configuration editor, click Add.
      2. +
      3. In the Privileges tab, click +.
      4. In the Add privilege window, select an option:
          -
        • Internal: Select a privilege from the predefined list of API privileges. -

          You can select multiple privileges by holding the CTRL key.

        • +
        • Internal: Select the needed privileges from the predefined list of API privileges.
        • Privilege name: Manually enter the URL containing a privilege definition.
        • File: Click Browse and select a privilege file (with the .xml or .widlprocxml extension).
      5. Click Finish.
      -

      After setting the privilege information with the Web application configuration editor, you can see the added code in the Source tab.

      -

      The following example shows the setting in the config.xml file code:

      +

      After saving the privilege information with the Web application configuration editor, you can see the added code in the Source tab:

      <tizen:privilege name="http://tizen.org/privilege/application.launch"/>

      Defining External Access Policies in the Policy Tab

      @@ -253,101 +184,70 @@ Description - content-security-policy + content-security-policy Used to define an additional content security policy for a packaged or hosted application. The policy string is defined according to http://www.w3.org/TR/CSP/ (v1.0). -

      The following example shows the setting in the config.xml file code:

      -
      <tizen:content-security-policy>
      -   script-src 'self'
      -</tizen:content-security-policy>
      - content-security-policy-report-only + content-security-policy-report-only Used to define an additional content security policy for a packaged or hosted application (for monitoring purposes only). -

      The following example shows the setting in the config.xml file code:

      -
      <tizen:content-security-policy-report-only>
      -   script-src 'self'; 
      -   report-uri="http://example.com/report.cgi"
      -</tizen:content-security-policy-report-only>
      - allow-navigation + allow-navigation Used to define a list of URL domains allowed for the Web application.

      This attribute is optional.

      -

      The following example shows the setting in the config.xml file code:

      -
      <tizen:allow-navigation>
      -   tizen.org *.tizen.org
      -<tizen:allow-navigation/>
      - access + Access Used to define network resource permissions. -

      To request network resource permissions, click Add and enter the resource URLs in the Network URL column. You can allow the Web application to access the URL sub-domains by setting the Allow subdomain column value as true.

      -

      The following example shows the setting in the config.xml file code:

      -
      -<access origin="http://www.tizen.org" subdomains="true"/>
      +

      To request network resource permissions, click + and enter the resource URLs in the Network URL column. You can allow the Web application to access the URL sub-domains by setting the Allow subdomain column value as true.

      + -

      After setting the policy information with the Web application configuration editor, you can see the added code in the Source tab.

      +

      After setting the policy information with the Web application configuration editor, you can see the added code in the Source tab:

      +
      +<access origin="http://www.tizen.org" subdomains="true"/>
      +<tizen:allow-navigation>tizen.org *.tizen.org<tizen:allow-navigation/>
      +<tizen:content-security-policy>script-src 'self'</tizen:content-security-policy>
      +<tizen:content-security-policy-report-only>script-src 'self';</tizen:content-security-policy-report-only>
      -

      Setting the Supported Locales in the Localization Tab

      +

      Adding Localized Application Details in the Localization Tab

      -

      You can provide localization support for the application name, description, and license elements in the Localization tab of the Web application configuration editor.

      +

      You can provide localized versions of the application name, description, and license in the Localization tab of the Web application configuration editor.

      -

      To add localization:

      -
      1. In the Name panel, click Add. -

        Select a language and enter your name.

        +

        To add a localized name, description, or license:

        +
        • In the Name panel, click +. Select the language, define the application name for that language, and click OK.

          The following example shows the setting in the config.xml file:

           <name xml:lang="en-gb">Lee</name>
           
        • -
        • In the Description panel, click Add. -

          Select a language and enter the description of the Web application.

          +
        • In the Description panel, click +. Select the language, define the application description for that language, and click OK.

          The following example shows the setting in the config.xml file:

           <description xml:lang="en-gb">Widget</description>
           
        • -
        • In the License panel, click Add. -

          Select a language and manually enter the license and license URI.

          +
        • In the License panel, click +. Select a language, define the license and license URI for that language, and click OK.

          The following example shows the setting in the config.xml file code:

           <license xml:lang="en-gb" href=" http://www.apache.org/licenses/LICENSE-2.0.html">
              Apache License, Version 2.0
           </license>
           
        • -
      -

      After setting the localization information with the Web application configuration editor, you can see the added code in the Source tab.

      - -

      You can localize a Web application to adapt to various languages and cultural environments by creating different Web application versions for different languages.

      -

      To localize a Web application:

      -
        -
      1. Launch the Localization Wizard by doing one of the following: -
          -
        • In the Project Explorer view, right-click the Web application and select Localization > Localization Wizard.
        • -
        • In the Tizen Studio menu, go to Project > Localization > Localization Wizard.
        • -
        -
      2. -
      3. In the Localization Wizard view, select the files to localize from the list of files and click Next.

        The files that are already localized are grayed out.

      4. -
      5. In the Available locales list, select the locales and add them to the Selected locales list. Click Next.

        The locales that are already supported are grayed out.

      6. -
      7. Associate the selected files with the specified locales by selecting the check boxes under the desired locale column.

        The check boxes for files that are already localized for a particular locale are grayed out.

      8. -
      9. Click Finish.

        In the Project Explorer view, a new locales folder is created containing separate sub-folders for each locale. The sub-folders contain a copy of the selected files. Use that copy to create a localized version of the file.

      10. -
      -

      Figure: Locale folders

      -

      Locale folders

      + +

      You can localize a Web application to adapt to various languages and cultural environments by creating different Web application versions for different languages. For more information see Localizing Web Applications.

      Declaring Name-value Pairs in the Preferences Tab

      You can declare name-value pairs which can be set and retrieved using the Widget Interface API (in mobile or wearable applications) in the Preferences tab of the Web application configuration editor. These name-value pairs, or preferences, are used by the Web application during execution.

      -

      To add preferences, click Add and enter values in the Name and Value columns. You can set a preference as read-only by setting the Read-only column value as true.

      -

      After setting the preference information with the Web application configuration editor, you can see the added code in the Source tab.

      -

      The following example shows the setting in the config.xml file code:

      +

      To add preferences, click +. A new row appears in the table. Enter values in the Name and Value columns. You can set a preference as read-only by setting the Read-only column value as true.

      +

      After saving the preference information with the Web application configuration editor, you can see the added code in the Source tab:

       <preference name="key" value="value" readonly="false"/>    
       
      @@ -363,103 +263,106 @@ - Property + Property Description - application - - - ID + Application + ID Tizen application ID, which is randomly created from the Tizen package ID and project name.

      This attribute is mandatory.

      - - Package - 10-character alphanumeric value used to identify a Tizen application package and automatically assigned by the Tizen Studio. -

      This attribute is mandatory.

      - - Required version + Required Version Indicates the minimum API version that the Web application supports.

      This attribute is mandatory and must be a float value, such as 1.0 or 2.0.

      - - content + + Launch Mode + Indicates whether the application is launched as a main (single) or sub application, or whether a caller application defines the launch mode when the application is launched by an application control request. +

      This attribute is optional. The default value is single.

      + + + Ambient Support + Indicates whether the Web application supports the ambient mode. +

      This attribute is optional and used in wearable applications only. The default value is disable.

      - src + Content + Src In Widget Packaging and XML Configuration, the Web application start page is a document within the Web application package. The Tizen WRT allows the start page to be hosted on an external server. -

      The <tizen:content /> element is used to point to the relevant document.

      - - - setting +

      If the start page is on an external server, this attribute points to it.

      - screen-orientation - Used to set the application screen orientation to landscape or portrait mode, or auto-rotation. -

      This attribute is optional. The default mode is portrait.

      + Setting + Screen Orientation + Sets the application screen orientation to landscape or portrait mode, or auto-rotation. +

      This attribute is optional. The default value is portrait.

      - context-menu - Used to set the Web application support for context menus. + Context Menu + Sets the Web application support for context menus.

      This attribute is optional. The default value is enable.

      - background-support - Used to define whether the execution of the Web application continues when the application is sent to the background. + Background Support + Defines whether the execution of the Web application continues when the application is sent to the background.

      This attribute is optional. The default value is disable.

      - encryption - Used to set the encryption of application resources (JS/CSS/HTML files). + Encryption + Sets the encryption of application resources (JS, CSS, and HTML files).

      This attribute is optional. The default mode is disable.

      - install-location - Used to set the installation location, for example, the SD card. + Install Location + Sets the installation location, for example, the SD card.

      This attribute is optional. The default mode is auto.

      - hwkey-event - Used to set the support for the hardware key. + HW Key Event + Sets the support for the hardware key.

      This attribute is optional. The default mode is enable.

      - app-control - Describes the application control functionalities provided by the application. The operation, uri, and mime fields describe the functionalities that other applications can request and the src field describes the application page that handles the request.

      The following example shows the setting in the config.xml file code:

      +     Application Control 
      +     Describes the application control functionalities provided by the application. To define an application control used to access the functionality of your application, click + in the Application Control panel and define the details.
      +	 

      The operation, uri, and mime fields describe the functionalities that other applications can request and the src field describes the application page that handles the request.

      The following example shows the setting in the config.xml file code:

       <tizen:app-control>
          <tizen:src name="edit.html"/>
          <tizen:operation name="http://tizen.org/appcontrol/operation/edit"/>
          <tizen:uri name="file"/>
          <tizen:mime name="image/jpeg"/>
       </tizen:app-control>
      - + - account - + Account + + To register an account provider, click + in the Account section and define the account provider information. + - Display name - Used to define the display name of the account provider. + Display name + Used to define the localized display name of the account provider. +

      To add a localized name, click Add in the Display name panel, select the language, define the display name for that language, and click OK.

      This attribute is mandatory.

      - Multiple account + Multiple account Indicates whether multiple accounts are supported.

      This attribute is mandatory.

      - Icon + Icon Used to define the path of the icon representing the account provider. The icon image is used by account settings and must be placed in a shared directory. The size is 72 x 72.

      This attribute is mandatory.

      - Small icon + Small icon Used to define the path of the small icon representing the account provider. The icon image is used by account settings and must be placed in a shared directory. The size is 45 x 45.

      This attribute is mandatory.

      - Capabilities + Capabilities The capabilities of the account provider defined in the IRI format:

      http://<vendor information>/accounts/capability/<name>

      The following predefined capabilities can be used:

      @@ -469,24 +372,41 @@
    8. http://tizen.org/account/capability/calendar

      Used when the account is related to calendar.

    9. +

      To add a capability, click an empty row in the Capabilities panel table and select a capability you need.

      This attribute is optional.

      - metadata - + Background Category + Defines the background category type (since Tizen 2.4).

      To add background category types to allow running on the background, click + in the Background Category section, select the category type, and click OK.

      + - key - Used to define metadata that can be accessed (read-only) through the Tizen Application API: + Meta Data + Defines key-value pairs that can be accessed (read-only) through the Application API (in mobile and wearable applications). +

      To add a key-value pair, click + in the Meta Data section, define a key (unique string) and value (string), and click OK. This attribute is optional.

      +

      The following example shows the setting in the config.xml file code:

       <tizen:metadata key="key1"/>
       <tizen:metadata key="key2" value="value"/>
       
      -

      This attribute is optional. The value must be a unique string.

      + - value - Used to define metadata that can be accessed (read-only) through the Tizen Application API. -

      This attribute is optional. The value must be a string.

      + Category + Defines the categories to which a service application belongs. +

      To add a category, click + in the Category section, select the category, and click OK. This attribute is optional and used in wearable applications only.

      + + + + Service + Defines service application-specific settings. +

      To define the setting values, click + in the Service section, and define the values. For more information on the values, see Tizen Service.

      + + + + Web Widget + Defines widget application-specific settings. +

      To edit the setting values, select the row in the Web Widget section table, click the Edit icon (shaped like a pen), and define the values. For more information on the values, see Tizen Web Widget.

      + @@ -501,7 +421,7 @@ Note - The config.xml must conform not only to the XML file format but also to the W3C specification requirements. Editing the configuration file in XML format is intended for advanced users only. + The config.xml must conform not only to the XML file format but also to the W3C specification requirements. If you edit application information manually in the config.xml file source code, you can introduce errors preventing the application from running normally. diff --git a/org.tizen.training/html/web/wearable/first_app_ww.htm b/org.tizen.training/html/web/wearable/first_app_ww.htm index e366f68..bb1191a 100644 --- a/org.tizen.training/html/web/wearable/first_app_ww.htm +++ b/org.tizen.training/html/web/wearable/first_app_ww.htm @@ -63,16 +63,6 @@

      When you are developing a more complex application, you can take advantage of the Web tools included in the Tizen Studio to ease the tasks of creating functionality and designing the application UI.

      -

      Updating 2.3.1 Wearable Packages

      - -

      To develop wearable applications in the latest Tizen SDK, you must install the 2.3.1 wearable packages separately:

      - -
        -
      1. Launch the Update Manager by going to Start > All Programs > Tizen SDK-<version> > Update Manager-<version>.
      2. -
      3. In the All Packages tab, download all packages for 2.3.1 Wearable. -

        Download packages

      4. -
      -

      Creating a Project

      The following example shows you how to create and configure a basic wearable Web application project in the Tizen Studio. An application project contains all the files that make up an application.

      @@ -94,13 +84,13 @@
    10. Launch the Tizen Studio.

    11. -

      Make sure the Tizen Web perspective is selected in the top right corner of the Tizen Studio window.

      +

      Make sure the Web perspective is selected in the top right corner of the Tizen Studio window.

      Checking the perspective

      -

      If not, select it. If the perspective is not visible, in the Tizen Studio menu, select Window > Open Perspective > Other > Tizen Web, and click OK.

      +

      If not, select it. If the perspective is not visible, in the Tizen Studio menu, select Window > Perspective > Open Perspective > Other > Web, and click OK.

    12. -

      In the Tizen Studio menu, select File > New > Tizen Web Project.

      +

      In the Tizen Studio menu, select File > New > Tizen Project.

      Creating a new Tizen Web project

      The Project Wizard opens.

    13. @@ -109,12 +99,25 @@

      In the Project Wizard, define the project details.

      The Project Wizard is used to create the basic application skeleton with the required folder structure and mandatory files. You can easily create different applications by selecting an applicable template or sample for the Project Wizard to use.

        -
      1. Select the Template tab and the WEARABLE-[version] > Basic template. The version depends on the SDK version you have installed and with which you are developing the application.

      2. -
      3. Change the project name, if you want.

      4. -
      5. Leave all other fields in the Project Wizard to their default values, and click Finish.

      6. +
      7. Select the Template project type and click Next.

        +

        Selecting the project type

        +
      8. +
      9. Select the profile (Wearable) and version from a drop-down list and click Next.

        +

        The version depends on the platform version you have installed and with which you are developing the application.

        +

        Selecting the profile and version

        +
      10. +
      11. Select the Web Application application type and click Next.

        +

        Selecting the application type

        +
      12. +
      13. Select the Basic UI template and click Next.

        +

        Selecting the template

        +
      14. +
      15. Define the project properties and click Finish.

        +

        You can fill the project name (3-50 characters) and the unique package ID. You can also select the location and working sets by clicking More properties.

        +

        Defining properties

        + +

        The Project Wizard sets up the project, creates the application files using the default content from the template, and closes. For more information about the Project Wizard and the available templates, see Creating Tizen Projects with Tizen Project Wizard.

      -

      Defining the project details

      -

      The Project Wizard sets up the project, creates the application files using the default content from the template, and closes. For more information about the Project Wizard and the available templates, see Creating Tizen Projects with Tizen Project Wizard.

    @@ -160,7 +163,6 @@

    Configuring the application

    -
  • To save any changes, in the Tizen Studio menu, select File > Save.

  • +
  • To save any changes, in the Tizen Studio menu, select File > Save All.

  • @@ -205,7 +207,7 @@
    1. Select the project in the Project Explorer view.
    2. In the Tizen Studio menu, select Project > Build Automatically. -

      Using the automatic build

      +

      Using the automatic build

      A check mark appears next to the menu option.

    @@ -254,36 +256,42 @@
  • In the Connection Explorer view, launch the Emulator Manager by clicking the related icon.

    Emulator manager icon

  • - -
  • In the Emulator Manager, open the Create New Emulator drop-down list and select wearable. -

    Emulator manager

    +
  • In the Emulator Manager, click Create. +

    Creating an emulator instance

  • - -
  • Modify the emulator options, and click Confirm. +
  • Select the applicable platform (in this case, wearable-2.3.2-circle (basic)), and click Next. +

    Selecting the platform

    +
  • +
  • Select the device definition along with the platform version (in this case, Wearable Circle), and click Next. +

    Selecting the platform version

    +
  • +
  • Define the emulator properties, and click Finish.

    You can leave the options to their default values.

    -

    Emulator options

    +

    Defining the properties

  • +
  • To launch the emulator instance, select the emulator from the list and click Launch. +

    Launching the emulator

    -
  • To launch the emulator instance, select the emulator from the list and click the play icon. -

    Launch the emulator

    - -

    The emulator is launched in its own window.

    -

    You can also see the new emulator instance in the Connection Explorer view. To view the emulator folder structure, click the arrow next to the emulator instance.

    +

    The emulator is launched in its own window. You can also see the new emulator instance in the Connection Explorer view. To view the emulator folder structure, click the arrow next to the emulator instance.

    Emulator

  • Generate a security profile. -

    Before you run the application, you must sign your application package by generating an author certificate and registering it in the Tizen Studio.

    +

    Before you run the application, you must sign your application package with a certificate profile in the Tizen Studio.

  • Run the application:
    1. In the Project Explorer view, right-click the project and select Run As > Tizen Web Application. -

      Run the application

      +

      Running the application

      Alternatively, you can also select the project in the Project Explorer view and do one of the following:

      • Press the Ctrl+F11 key.
      • -
      • Click the play icon (Play icon) in the toolbar.
      +
    2. Click the run icon in the toolbar.
    3. + +

      If you have created multiple emulator instances, select the instance you want from the combo box in the toolbar before selecting to run the application. If you select an offline emulator, it is automatically launched when you select to run the application.

      + +

      Selecting the emulator to use

    4. Confirm that the application launches on the emulator. @@ -306,7 +314,7 @@
    -

    For more information on using the emulator features, see Emulator Control Keys and Menu and Using Extended Emulator Features.

    +

    For more information on using the emulator features, see Using Emulator Control Keys, Menu, and Panel and Using Extended Emulator Features.

    Running on a Target Device

    @@ -334,7 +342,7 @@
  • In the Connection Explorer view, launch the Remote Device Manager by clicking the related icon.

    Launch the Remote Device Manager

  • -
  • In the Remote Device Manager window, click New. +
  • In the Remote Device Manager window, click +.

    Add new device

  • In the Add Device window, enter the device and network details (use the IP address you noted before), and click Add. @@ -354,18 +362,22 @@
  • Generate an author certificate. -

    Before you run the application, you must sign your application package by generating an author certificate and registering it in the Tizen Studio.

    +

    Before you run the application, you must sign your application package with a certificate profile in the Tizen Studio.

  • Run the application:
    1. In the Connection Explorer view, select the device.
    2. In Project Explorer view, right-click the project and select Run As > Tizen Web Application. -

      Run the application on a target device

      +

      Running the application on a target device

      Alternatively, you can also select the project in the Project Explorer view and do one of the following:

      • Press the Ctrl+F11 key.
      • -
      • Click the play icon (Play icon) in the toolbar.
      +
    3. Click the run icon in the toolbar.
    4. + +

      If you have both a connected device and existing emulator instances, select the device from the combo box in the toolbar before selecting to run the application.

      + +

      Selecting the device to use

    5. Confirm that the application launches in the target device.
    6. @@ -379,8 +391,8 @@ The application is launched using the default debug run configuration. To create and use another configuration:
      1. In the Project Explorer view, right-click the project and select Run As > Run Configurations.
      2. -
      3. In the Run Configurations window, click the New Launch Configuration icon (New Launch Configuration), define the configuration details, and launch the application by clicking Run. -

        Run Configurations

      4. +
      5. In the Run Configurations window, click the New Launch Configuration icon (New Launch Configuration icon), define the configuration details, and launch the application by clicking Run. +

        Run Configurations window

      @@ -459,10 +471,10 @@

      CSS

      -

      CSS (Cascading Style Sheets) specifies the layout and the styling of the Web application.

      +

      CSS (Cascading Style Sheets) specifies the layout and styling of the Web application.

      There are various ways to connect CSS with HTML:

        -
      • style attribute in a HTML element
      • +
      • style attribute in an HTML element
      • <link> element in the <head> element
      • @import attribute in the CSS area
      • <style> element in the <head> element
      • @@ -565,20 +577,20 @@ body
        1. Install TAU templates. -

          The Tizen 2.4 SDK comes with the Update Manager tool, which you can use to install the TAU packages required for TAU application development.

          +

          The Tizen Studio comes with the Package Manager tool, which you can use to install the TAU packages required for TAU application development.

          The TAU packages enable you to create the Web application using a TAU template.

          -

          Update manager installation

          +

          TAU package installation

        2. Start the application development with the TAU library.

          You can get the TAU library using a TAU template or a sample application as a basis for your application. The easiest way to start your first TAU application is to create a new project with a TAU template.

          To create a project with a TAU template:

            -
          1. Go to File > New > Tizen Web Project.
          2. -
          3. Go to Template > WEARABLE-2.3.1 > TAU Basic. -

            Create a new project

            +
          4. Go to File > New > Tizen Project.
          5. +
          6. Select Template > Wearable v2.3.2 > Web Application > TAU Basic. +

            Creating a new project

          7. -
          8. Enter the project name.
          9. -
          10. Click Finish.
          11. +
          12. Change the project name and properties and click Finish. +

            Changing properties

          13. In the Project Explorer view, view the project.

            The TAU library is located in the lib folder.

            TAU library directory

            @@ -657,7 +669,7 @@ body </body>
          14. -

            To layout a page, add a content area with the ui-content class and a header with the ui-header class:

            +

            To layout the page, add a content area with the ui-content class and a header with the ui-header class:

             <div class="ui-page" id="main">
                <header class="ui-header">
            diff --git a/org.tizen.training/html/web/wearable_watch/first_app_watch_ww.htm b/org.tizen.training/html/web/wearable_watch/first_app_watch_ww.htm
            index 55b1136..23b7df0 100644
            --- a/org.tizen.training/html/web/wearable_watch/first_app_watch_ww.htm
            +++ b/org.tizen.training/html/web/wearable_watch/first_app_watch_ww.htm
            @@ -63,16 +63,6 @@
             
             

            When you are developing a more complex application, you can take advantage of the Web tools included in the Tizen Studio to ease the tasks of creating functionality and designing the application UI.

            -

            Updating 2.3.1 Wearable Packages

            - -

            To develop wearable applications in the latest Tizen SDK, you must install the 2.3.1 wearable packages separately:

            - -
              -
            1. Launch the Update Manager by going to Start > All Programs > Tizen SDK-<version> > Update Manager-<version>.
            2. -
            3. In the All Packages tab, download all packages for 2.3.1 Wearable. -

              Download packages

            4. -
            -

            Creating a Project

            The following example shows you how to create and configure a basic wearable Web watch application project in the Tizen Studio. An application project contains all the files that make up an application.

            @@ -90,13 +80,13 @@
          15. Launch the Tizen Studio.

          16. -

            Make sure the Tizen Web perspective is selected in the top right corner of the Tizen Studio window.

            +

            Make sure the Web perspective is selected in the top right corner of the Tizen Studio window.

            Checking the perspective

            -

            If not, select it. If the perspective is not visible, in the Tizen Studio menu, select Window > Open Perspective > Other > Tizen Web, and click OK.

            +

            If not, select it. If the perspective is not visible, in the Tizen Studio menu, select Window > Perspective > Open Perspective > Other > Web, and click OK.

          17. -

            In the Tizen Studio menu, select File > New > Tizen Web Project.

            +

            In the Tizen Studio menu, select File > New > Tizen Project.

            Creating a new Tizen Web project

            The Project Wizard opens.

          18. @@ -104,12 +94,25 @@

            In the Project Wizard, define the project details.

            The Project Wizard is used to create the basic application skeleton with the required folder structure and mandatory files. You can easily create different applications by selecting an applicable template or sample for the Project Wizard to use.

              -
            1. Select the Online Sample tab and the Watch > Basic Watch sample.

            2. -
            3. Change the project name, if you want.

            4. -
            5. Leave all other fields in the Project Wizard to their default values, and click Finish.

            6. +
            7. Select the Sample project type and click Next.

              +

              Selecting the project type

              +
            8. +
            9. Select the profile (Wearable) and version from a drop-down list and click Next.

              +

              The version depends on the platform version you have installed and with which you are developing the application.

              +

              Selecting the profile and version

              +
            10. +
            11. Select the Web Application application type and click Next.

              +

              Selecting the application type

              +
            12. +
            13. Select the Watch > Basic Watch sample and click Next.

              +

              Selecting the sample

              +
            14. +
            15. Define the project properties and click Finish.

              +

              You can fill the project name (3-50 characters) and the unique package ID. You can also select the location and working sets by clicking More properties.

              +

              Defining properties

              + +

              The Project Wizard sets up the project, creates the application files using the default content from the template, and closes. For more information about the Project Wizard and the available templates, see Creating Tizen Projects with Tizen Project Wizard.

            -

            Defining the project details

            -

            The Project Wizard sets up the project, creates the application files using the default content from the template, and closes. For more information about the Project Wizard and the available templates, see Creating Tizen Projects with Tizen Project Wizard.

          @@ -155,7 +158,6 @@

          Configuring the application

          • Overview: Define general information, such as the name and icon of the application.

          • -
          • Widget: Define author and license information and UI preferences.

          • Features: Define required software and hardware features. This information is used for application filtering in the Tizen market place.

          • Privileges: Define the security-sensitive APIs or API groups accessed and used by the application.

          • Policy: Request network resource permissions to access external network resources.

          • @@ -170,7 +172,7 @@ Note - The config.xml file must conform to both the XML file format and the W3C specification requirements. Editing the file in the source code view is intended for advanced users only. + The config.xml file must conform to both the XML file format and the W3C specification requirements. Editing the file in the Source tab is intended for advanced users only. @@ -178,7 +180,7 @@
        3. -
        4. To save any changes, in the Tizen Studio menu, select File > Save.

        5. +
        6. To save any changes, in the Tizen Studio menu, select File > Save All.

        @@ -200,7 +202,7 @@
        1. Select the project in the Project Explorer view.
        2. In the Tizen Studio menu, select Project > Build Automatically. -

          Using the automatic build

          +

          Using the automatic build

          A check mark appears next to the menu option.

        @@ -249,37 +251,42 @@
      • In the Connection Explorer view, launch the Emulator Manager by clicking the related icon.

        Emulator manager icon

      • - -
      • In the Emulator Manager, open the Create New Emulator drop-down list and select wearable. -

        Emulator manager

        +
      • In the Emulator Manager, click Create. +

        Creating an emulator instance

      • - -
      • Modify the emulator options, and click Confirm. +
      • Select the applicable platform (in this case, wearable-2.3.2-circle (basic)), and click Next. +

        Selecting the platform

        +
      • +
      • Select the device definition along with the platform version (in this case, Wearable Circle), and click Next. +

        Selecting the platform version

        +
      • +
      • Define the emulator properties, and click Finish.

        You can leave the options to their default values.

        -

        Emulator options

        +

        Defining the properties

      • +
      • To launch the emulator instance, select the emulator from the list and click Launch. +

        Launching the emulator

        -
      • To launch the emulator instance, select the emulator from the list and click the play icon. -

        Launch the emulator

        - -

        The emulator is launched in its own window.

        -

        You can also see the new emulator instance in the Connection Explorer view. To view the emulator folder structure, click the arrow next to the emulator instance.

        +

        The emulator is launched in its own window. You can also see the new emulator instance in the Connection Explorer view. To view the emulator folder structure, click the arrow next to the emulator instance.

        Emulator

  • Generate a security profile. -

    Before you run the application, you must sign your application package by generating an author certificate and registering it in the Tizen Studio.

    +

    Before you run the application, you must sign your application package with a certificate profile in the Tizen Studio.

  • Run the application:
    1. In the Project Explorer view, right-click the project and select Run As > Tizen Web Application. -

      Run the application

      +

      Running the application

      Alternatively, you can also select the project in the Project Explorer view and do one of the following:

      • Press the Ctrl+F11 key.
      • -
      • Click the play icon (Play icon) in the toolbar.
      +
    2. Click the run icon in the toolbar.
    3. + +

      If you have created multiple emulator instances, select the instance you want from the combo box in the toolbar before selecting to run the application. If you select an offline emulator, it is automatically launched when you select to run the application.

      +

      Selecting the emulator to use

      In the Console view, you can see that the application is successfully installed. However, it does not run on the emulator screen until you change the watch face in the emulator Settings menu.

      Successful installation

      @@ -305,7 +312,7 @@
  • -

    For more information on using the emulator features, see Emulator Control Keys and Menu and Using Extended Emulator Features.

    +

    For more information on using the emulator features, see Using Emulator Control Keys, Menu, and Panel and Using Extended Emulator Features.

    Running on a Target Device

    @@ -349,18 +356,22 @@ cd tizen-sdk/tools
  • Generate an author certificate. -

    Before you run the application, you must sign your application package by generating an author certificate and registering it in the Tizen Studio.

    +

    Before you run the application, you must sign your application package with a certificate profile in the Tizen Studio.

  • Run the application:
    1. In the Connection Explorer view, select the device.
    2. In Project Explorer view, right-click the project and select Run As > Tizen Web Application. -

      Run the application

      +

      Running the application

      Alternatively, you can also select the project in the Project Explorer view and do one of the following:

      • Press the Ctrl+F11 key.
      • -
      • Click the play icon (Play icon) in the toolbar.
      +
    3. Click the run icon in the toolbar.
    4. + +

      If you have both a connected device and existing emulator instances, select the device from the combo box in the toolbar before selecting to run the application.

      + +

      Selecting the device to use

    5. Confirm that the application launches in the target device. @@ -376,8 +387,8 @@ cd tizen-sdk/tools The application is launched using the default debug run configuration. To create and use another configuration:
      1. In the Project Explorer view, right-click the project and select Run As > Run Configurations.
      2. -
      3. In the Run Configurations window, click the New Launch Configuration icon (New Launch Configuration), define the configuration details, and launch the application by clicking Run. -

        Run Configurations

      4. +
      5. In the Run Configurations window, click the New Launch Configuration icon (New Launch Configuration icon), define the configuration details, and launch the application by clicking Run. +

        Run Configurations window

      @@ -674,7 +685,7 @@ function watch()

      Using the Ambient Mode

      In a low-powered wearable device, an ambient mode is available. In this mode, the watch application shows a limited UI and receives only the ambient tick event every minute to reduce power consumption.

      -

      The details of the limited UI drawn in the ambient mode depend on the device. Usually, when designing the ambient mode UI, draw a black and white UI only, and use less than 15% of the pixels on the screen. If you do not want to draw your own ambient mode UI, set the ambient-support attribute to disable in the watch application manifest file to allow the platform to show a default ambient mode UI.

      +

      The details of the limited UI drawn in the ambient mode depend on the device. In addition, due to the ambient mode being a low power mode, there are limits to the colors that can be shown on the screen. Usually, when designing the ambient mode UI, draw a black and white UI only, and use less than 15% of the pixels on the screen. If you do not want to draw your own ambient mode UI, set the ambient_support attribute to disable in the config.xml watch application configuration file to allow the platform to show a default ambient mode UI.

      diff --git a/org.tizen.training/html/web/wearable_widget/first_app_widget_ww.htm b/org.tizen.training/html/web/wearable_widget/first_app_widget_ww.htm index 3d78e5c..be6dd8a 100644 --- a/org.tizen.training/html/web/wearable_widget/first_app_widget_ww.htm +++ b/org.tizen.training/html/web/wearable_widget/first_app_widget_ww.htm @@ -70,16 +70,6 @@

      When you are developing a more complex application, you can take advantage of the Web tools included in the Tizen Studio to ease the tasks of creating functionality and designing the application UI.

      -

      Updating 2.3.2 Wearable Packages

      - -

      To develop wearable applications in the latest Tizen SDK, you must install the 2.3.2 wearable packages separately:

      - -
        -
      1. Launch the Package Manager by going to Start > All Programs > Tizen Studio > Package Manager.
      2. -
      3. In the All Packages tab, download all packages for 2.3.2 Wearable. -

        Download packages

      4. -
      -

      Creating a Project

      The following example shows you how to create and configure a basic wearable Web widget application project in the Tizen Studio. An application project contains all the files that make up an application.

      @@ -111,34 +101,38 @@
    6. Make sure the Web perspective is selected in the top right corner of the Tizen Studio window.

      -

      Checking the perspective

      -

      If not, select it. If the perspective is not visible, in the Tizen Studio menu, select Window > Perspective > Open Perspective > Open Perspective > Other > Web, and click OK.

      +

      Checking the perspective

      +

      If not, select it. If the perspective is not visible, in the Tizen Studio menu, select Window > Perspective > Open Perspective > Other > Web, and click OK.

    7. -

      In the Tizen Studio menu, select File > New > Other > Tizen > Tizen Project from Template.

      -

      Alternatively, you can also click the new icon at the top left corner of the Tizen Studio.

      +

      In the Tizen Studio menu, select File > New > Tizen Project.

      +

      Creating a new Tizen Web project

      The Project Wizard opens.

    8. -
    9. In the Project Wizard, define the project details.

      The Project Wizard is used to create the basic application skeleton with the required folder structure and mandatory files. You can easily create different applications by selecting an applicable template or sample for the Project Wizard to use.

        -
      1. Select the Template project type.

        -

        Selecting the project type

        -
      2. -
      3. Select the Wearable profile. The version depends on the SDK version you have installed and with which you are developing the application.

        -

        Selecting the profile

      4. -
      5. Select the Web Application application type.

        -

        Selecting the application type

      6. -
      7. Select the Widget template.

        -

        Selecting the template

      8. -
      9. Set the project name as Widget.

        -

        Setting the project name

      10. -
      11. Leave all other fields in the Project Wizard to their default values, and click Finish.

      12. +
      13. Select the Template project type and click Next.

        +

        Selecting the project type

        +
      14. +
      15. Select the profile (Wearable) and version from a drop-down list and click Next.

        +

        The version depends on the platform version you have installed and with which you are developing the application.

        +

        Selecting the profile and version

        +
      16. +
      17. Select the Web Application application type and click Next.

        +

        Selecting the application type

        +
      18. +
      19. Select the Widget template and click Next.

        +

        Selecting the template

        +
      20. +
      21. Define the project properties and click Finish.

        +

        You can fill the project name (3-50 characters) and the unique package ID. You can also select the location and working sets by clicking More properties.

        +

        Defining properties

        + +

        The Project Wizard sets up the project, creates the application files using the default content from the template, and closes. For more information about the Project Wizard and the available templates, see Creating Tizen Projects with Tizen Project Wizard.

      -

      The Project Wizard sets up the project, creates the application files using the default content from the template, and closes. For more information about the Project Wizard and the available templates, see Creating Tizen Projects with Tizen Project Wizard.

    10. @@ -220,7 +214,7 @@ - +
      Note
      The config.xml file must conform to both the XML file format and the W3C specification requirements. Editing the file in the source code view is intended for advanced users only.The config.xml file must conform to both the XML file format and the W3C specification requirements. Editing the file in the Source tab is intended for advanced users only.
      @@ -228,7 +222,7 @@
    11. -
    12. To save any changes, in the Tizen Studio menu, select File > Save.

    13. +
    14. To save any changes, in the Tizen Studio menu, select File > Save All.

    @@ -237,7 +231,7 @@

    Building Your Application

    After you have created the application project, you can implement the required features. In this example, only the default features from the project template are used, and no code changes are required.

    -

    When your application code is ready, you must build the application. The building process performs a validation check and compiles your files.

    +

    When your application code is ready, you must build the application. The building process performs a validation check and compiles your JavaScript and CSS files.

    You can build the application in the following ways:

    @@ -262,6 +256,9 @@

    The manual build means that you determine yourself when the application is built.

    To manually build the application, right-click the project in the Project Explorer view and select Build Project.

    +

    Figure: Manually building the application

    +

    Manually building the application

    +

    Alternatively, you can also select the project in the Project Explorer view and do one of the following:

    @@ -292,47 +289,45 @@
    1. Create and launch an emulator instance in the Emulator Manager:
        -
      1. In the Tizen Studio menu, select Tools > Emulator Manager. +
      2. In the Connection Explorer view, launch the Emulator Manager by clicking the related icon. +

        Emulator manager icon

      3. - -
      4. In the Emulator Manager, if no emulator instances exist, an empty list is shown. -

        Empty emulator list

        -

        To create an emulator instance:

        -
          -
        1. Click Create, select the wearable platform, and click Next. -

          Emulator platform

          +
        2. In the Emulator Manager, click Create. +

          Creating an emulator instance

        3. -
        4. Select the Wearable Circle template, and click Next. -

          Emulator template

          +
        5. Select the applicable platform (in this case, wearable-2.3.2-circle (basic)), and click Next. +

          Selecting the platform

        6. -
        7. Modify the emulator options, and click Finish. -

          You can leave all options to their default values.

          -

          Emulator options

          +
        8. Select the device definition along with the platform version (in this case, Wearable Circle), and click Next. +

          Selecting the platform version

        9. -
        +
      5. Define the emulator properties, and click Finish. +

        You can leave the options to their default values.

        +

        Defining the properties

      6. -
      7. To launch the emulator instance, select the emulator from the list and click Launch. -

        Launch the emulator

        +

        Launching the emulator

        -

        The emulator is launched in its own window.

        -

        You can also see the new emulator instance in the Connection Explorer view. To view the emulator folder structure, click the arrow next to the emulator instance.

        -

        Emulator

        +

        The emulator is launched in its own window. You can also see the new emulator instance in the Connection Explorer view. To view the emulator folder structure, click the arrow next to the emulator instance.

        +

        Emulator

    2. Generate a security profile. -

      Before you run the application, you must sign your application package by generating an author certificate and registering it in the Tizen Studio.

      +

      Before you run the application, you must sign your application package with a certificate profile in the Tizen Studio.

    3. Run the application:
      1. In the Project Explorer view, right-click the project and select Run As > Tizen Web Application. -

        Run the application

        +

        Running the application

        Alternatively, you can also select the project in the Project Explorer view and do one of the following:

        • Press the Ctrl+F11 key.
        • -
        • Click the play icon (Play icon) in the toolbar.
        +
      2. Click the run icon in the toolbar.
      3. +

        If you have created multiple emulator instances, select the instance you want from the combo box in the toolbar before selecting to run the application. If you select an offline emulator, it is automatically launched when you select to run the application.

        + +

        Selecting the emulator to use

      4. Confirm that the application launches on the emulator. @@ -366,7 +361,7 @@
    -

    For more information on using the emulator features, see Emulator Control Keys and Menu and Using Extended Emulator Features.

    +

    For more information on using the emulator features, see Using Emulator Control Keys, Menu, and Panel and Using Extended Emulator Features.

    Running on a Target Device

    To run the application on a target device:

    @@ -396,7 +391,7 @@ cd tizen-sdk/tools

    Use the IP address you noted before.

    -

    Instead of the terminal, you can also use the Tizen Studio Remote Device Manager for the connection.

    +

    Instead of the terminal, you can also use the Remote Device Manager for the connection.

  • @@ -404,15 +399,14 @@ cd tizen-sdk/tools

    Allow Gear to access data

  • -
  • In the Tizen Studio menu bar, confirm that the device is connected. -

    Device is connected

    -

    For more information, see Managing and Connecting Devices for Testing.

    +
  • In the Connection Explorer view, confirm that the device is connected (shown in the device list). +

    Device is connected

  • Generate an author certificate. -

    Before you run the application, you must sign your application package by generating an author certificate and registering it in the Tizen Studio.

    +

    Before you run the application, you must sign your application package with a certificate profile in the Tizen Studio.

  • @@ -421,11 +415,15 @@ cd tizen-sdk/tools
  • In the Connection Explorer view, select the device.
  • In Project Explorer view, right-click the project and select Run As > Tizen Web Application. -

    Run the application on a target device

    +

    Running the application

    Alternatively, you can also select the project in the Project Explorer view and do one of the following:

    +
  • Click the run icon in the toolbar.
  • + +

    If you have both a connected device and existing emulator instances, select the device from the combo box in the toolbar before selecting to run the application.

    + +

    Selecting the device to use

  • Confirm that the application launches in the target device. @@ -441,8 +439,8 @@ cd tizen-sdk/tools The application is launched using the default debug run configuration. To create and use another configuration:
    1. In the Project Explorer view, right-click the project and select Run As > Run Configurations.
    2. -
    3. In the Run Configurations window, click the New Launch Configuration icon (New Launch Configuration), define the configuration details, and launch the application by clicking Run. -

      Run Configurations

    4. +
    5. In the Run Configurations window, click the New Launch Configuration icon (New Launch Configuration icon), define the configuration details, and launch the application by clicking Run. +

      Run Configurations window

    diff --git a/org.tizen.training/index.xml b/org.tizen.training/index.xml index 03d90d1..427b955 100644 --- a/org.tizen.training/index.xml +++ b/org.tizen.training/index.xml @@ -23,12 +23,12 @@ + + - + - - @@ -78,7 +78,8 @@ - + + diff --git a/org.tizen.web.apireference/html/w3c_api/w3c_api_m.html b/org.tizen.web.apireference/html/w3c_api/w3c_api_m.html index e843175..686f7ea 100644 --- a/org.tizen.web.apireference/html/w3c_api/w3c_api_m.html +++ b/org.tizen.web.apireference/html/w3c_api/w3c_api_m.html @@ -23,7 +23,7 @@

    The APIs listed in this category are all part of the W3C specifications. Some of the APIs are stable while others are draft specifications. The draft APIs are subject to change as the W3C specification evolves.

    The W3C APIs are categorized based on the functionality to make it easier to locate specific APIs. - To learn the Tizen features provided by the W3C/HTML5 and some supplementary APIs, see Guide to W3C/HTML5 and Some Supplementary Features and W3C/HTML5 and Some Supplementaries Tutorials.

    + To learn the Tizen features provided by the W3C/HTML5 and some supplementary APIs, see Guide to W3C/HTML5 and Some Supplementary Features and W3C/HTML5 and Some Supplementaries Tutorials.

    DOM, Forms and Styles

    diff --git a/org.tizen.web.apireference/html/w3c_api/w3c_api_w.html b/org.tizen.web.apireference/html/w3c_api/w3c_api_w.html index ea9e126..724bb85 100644 --- a/org.tizen.web.apireference/html/w3c_api/w3c_api_w.html +++ b/org.tizen.web.apireference/html/w3c_api/w3c_api_w.html @@ -23,7 +23,7 @@

    The APIs listed in this category are all part of the W3C specifications. Some of the APIs are stable while others are draft specifications. The draft APIs are subject to change as the W3C specification evolves.

    The W3C APIs are categorized based on the functionality to make it easier to locate specific APIs. - To learn the Tizen features provided by the W3C/HTML5 and some supplementary APIs, see Guide to W3C/HTML5 and Some Supplementary Features and W3C/HTML5 and Some Supplementaries Tutorials.

    + To learn the Tizen features provided by the W3C/HTML5 and some supplementary APIs, see Guide to W3C/HTML5 and Some Supplementary Features and W3C/HTML5 and Some Supplementaries Tutorials.

    DOM, Forms and Styles

    diff --git a/org.tizen.web.apireference/html/web_api_reference.htm b/org.tizen.web.apireference/html/web_api_reference.htm index e1db386..ef317fa 100644 --- a/org.tizen.web.apireference/html/web_api_reference.htm +++ b/org.tizen.web.apireference/html/web_api_reference.htm @@ -25,7 +25,7 @@

    Related Info