Update 4.0-specific native Guide content 77/154177/1
authorEditor Lionbridge <TizenEditor.SEL@lionbridge.com>
Mon, 9 Oct 2017 09:54:49 +0000 (12:54 +0300)
committerEditor Lionbridge <TizenEditor.SEL@lionbridge.com>
Mon, 9 Oct 2017 09:54:49 +0000 (12:54 +0300)
The point of this change is to perform quality improvements
and consistency fixes to content specific to the tizen branch.

It also contains a few fixes that have been made in the
tizen_3.0 branch, but have been overlooked in cherry-picks.

Change-Id: I35a2bc2a12ce7f483c2fa7ffc0114e7a648270f9

12 files changed:
org.tizen.guides/html/native/app_management/app_controls_n.htm
org.tizen.guides/html/native/app_management/event_n.htm
org.tizen.guides/html/native/connectivity/vpn_n.htm
org.tizen.guides/html/native/device/runtime_n.htm
org.tizen.guides/html/native/device/system_n.htm
org.tizen.guides/html/native/graphics/sdl_n.htm
org.tizen.guides/html/native/location_sensors/device_sensors_n.htm
org.tizen.guides/html/native/personal/data_sync_n.htm
org.tizen.guides/html/native/security/security_cover_n.htm
org.tizen.guides/html/native/ui/dali/visuals_n.htm
org.tizen.guides/html/native/ui/efl/component_map_mn.htm
org.tizen.guides/html/native/ui/efl/efl_util_n.htm

index 9154dcd..98f66ce 100644 (file)
@@ -274,7 +274,7 @@ app_control_destroy(app_control);
        </tr>
        <tr>
                <td>2</td>
-               <td><strong><code>http://tizen.org/appcontrol/operation/default</code></strong></td>
+               <td><code><strong>http://tizen.org/appcontrol/operation/default</strong></code></td>
                <td><code>NULL</code></td>
                <td><code>NULL</code></td>
                <td>Fail</td>
@@ -282,7 +282,7 @@ app_control_destroy(app_control);
        <tr>
                <td>3</td>
                <td><code>http://tizen.org/appcontrol/operation/view</code></td>
-               <td><strong><code>file</code></strong></td>
+               <td><code><strong>file</strong></code></td>
                <td><code>NULL</code></td>
                <td>Fail</td>
        </tr>
@@ -314,7 +314,7 @@ app_control_destroy(app_control);
        <tr>
                <td>1</td>
                <td><code>http://tizen.org/appcontrol/operation/view</code></td>
-               <td><strong><code>NULL</code></strong></td>
+               <td><code><strong>NULL</strong></code></td>
                <td><code>NULL</code></td>
                <td>Fail</td>
        </tr>
@@ -342,7 +342,7 @@ app_control_destroy(app_control);
        <tr>
                <td>5</td>
                <td><code>http://tizen.org/appcontrol/operation/view</code></td>
-               <td><strong><code>http</code></strong></td>
+               <td><code><strong>http</strong></code></td>
                <td><code>*/*</code></td>
                <td>Fail</td>
        </tr>
@@ -357,7 +357,7 @@ app_control_destroy(app_control);
                <td>7</td>
                <td><code>http://tizen.org/appcontrol/operation/view</code></td>
                <td><code>NULL</code></td>
-               <td><strong><code>image/jpg</code></strong></td>
+               <td><code><strong>image/jpg</strong></code></td>
                <td>Fail</td>
        </tr>
        </tbody>
@@ -410,27 +410,27 @@ app_control_destroy(app_control);
                <td>4</td>
                <td><code>http://tizen.org/appcontrol/operation/view</code></td>
                <td><code>file:///usr/share/icons/calendar.png</code></td>
-               <td><strong><code>NULL</code></strong></td>
+               <td><code><strong>NULL</strong></code></td>
                <td>Fail</td>
        </tr>
        <tr>
                <td>5</td>
                <td><code>http://tizen.org/appcontrol/operation/view</code></td>
                <td><code>NULL</code></td>
-               <td><strong><code>image/jpg</code></strong></td>
+               <td><code><strong>image/jpg</strong></code></td>
                <td>Fail</td>
        </tr>
        <tr>
                <td>6</td>
                <td><code>http://tizen.org/appcontrol/operation/view</code></td>
                <td><code>NULL</code></td>
-               <td><strong><code>video/*</code></strong></td>
+               <td><code><strong>video/*</strong></code></td>
                <td>Fail</td>
        </tr>
        <tr>
                <td>7</td>
                <td><code>http://tizen.org/appcontrol/operation/view</code></td>
-               <td><strong><code>http://tizen.org/favorites.png</code></strong></td>
+               <td><code><strong>http://tizen.org/favorites.png</strong></code></td>
                <td><code>image/png</code></td>
                <td>Fail</td>
        </tr>
@@ -470,7 +470,7 @@ app_control_destroy(app_control);
                <td>2</td>
                <td><code>http://tizen.org/appcontrol/operation/view</code></td>
                <td><code>http://www.tizen.org/favorites.png</code></td>
-               <td><strong><code>NULL</code></strong></td>
+               <td><code><strong>NULL</strong></code></td>
                <td>Fail</td>
        </tr>
        <tr>
@@ -490,7 +490,7 @@ app_control_destroy(app_control);
        <tr>
                <td>5</td>
                <td><code>http://tizen.org/appcontrol/operation/view</code></td>
-               <td><strong><code>NULL</code></strong></td>
+               <td><code><strong>NULL</strong></code></td>
                <td><code>image/png</code></td>
                <td>Fail</td>
        </tr>
index 34d09b7..29b3af5 100755 (executable)
@@ -398,18 +398,16 @@ static void
                           <td rowspan="2">systemd</td>
                           <td rowspan="2">system</td>
                           <td><code>tizen.system.event.boot_completed</code></td>
-                          <td><code>N/A</code></td>
-                          <td><code>N/A</code>
-                               </td>
+                          <td>N/A</td>
+                          <td>N/A</td>
                                <td>When the platform has completed booting.
                                </td>
                        <td>You can treat the initial value as <code>false</code> before you receive this event. If the application is already in a boot-completed state before you register an event handler, you receive the event as soon as you register the event handler.</td>
           </tr>
           <tr>
                                <td><code>tizen.system.event.system_shutdown</code></td>
-                          <td><code>N/A</code></td>
-                          <td><code>N/A</code>
-                               </td>
+                          <td>N/A</td>
+                          <td>N/A</td>
                                <td>
                                When the system power-off has been started.
                                </td>
@@ -568,8 +566,8 @@ static void
                                <td>alarm-manager</td>
                           <td>time</td>
                           <td><code>tizen.system.event.time_changed</code></td>
-                          <td><code>N/A</code></td>
-                          <td><code>N/A</code></td>
+                          <td>N/A</td>
+                          <td>N/A</td>
                                <td>
                                When the system time setting has changed.
                        </td>
index bfb866d..7992120 100644 (file)
@@ -222,7 +222,7 @@ printf("vpnsvc_set_session succeeded!\n");
 
 <p>To set the interface parameters:</p>
 <ul>
-<li>Set the MTU configuration for the tunnel interface using the <code>vpnsvc_set_mtu()</code> function, then update the value using the <code>vpnsvc_update_settings()</code> function:
+<li>Set the MTU configuration for the tunnel interface using the <code>vpnsvc_set_mtu()</code> function, and update the value using the <code>vpnsvc_update_settings()</code> function:
 <pre class="prettyprint">
 int ret;
 
index d35b16f..fb01e45 100644 (file)
@@ -152,7 +152,7 @@ func(void)
 <h2 id="get_apps" name="get_apps">Getting Application Runtime Information</h2>
 
 <p>You can get runtime information on running applications.</p>
-<p>For example, to get the memory usage information for each application:</p>
+<p>To get information on, for example, the memory usage for each application:</p>
 
 <pre class="prettyprint">
 void
@@ -166,34 +166,29 @@ print_memory_usage(void)
     unsigned int usage;
 
     ret = runtime_info_get_all_apps_memory_usage(&amp;mem_usage_handle);
-    if (ret != RUNTIME_INFO_ERROR_NONE) {
+    if (ret != RUNTIME_INFO_ERROR_NONE)
         /* Error handling */
-    }
 
     ret = runtime_info_app_usage_get_count(mem_usage_handle, &amp;count);
-    if (ret != RUNTIME_INFO_ERROR_NONE) {
+    if (ret != RUNTIME_INFO_ERROR_NONE)
         /* Error handling */
-    }
 
     for (i = 0; i &lt; count; i++) {
         ret = runtime_info_app_usage_get_appid(mem_usage_handle, i, &amp;appid);
-        if (ret != RUNTIME_INFO_ERROR_NONE) {
+        if (ret != RUNTIME_INFO_ERROR_NONE)
             /* Error handling */
-        }
 
         ret = runtime_info_app_usage_get_usage(mem_usage_handle, i, &amp;usage);
-        if (ret != RUNTIME_INFO_ERROR_NONE) {
+        if (ret != RUNTIME_INFO_ERROR_NONE)
             /* Error handling */
-        }
 
         dlog_print(DLOG_INFO, LOG_TAG, "appid = %s, usage = %u KB\n", appid, usage);
         free(appid);
     }
 
     ret = runtime_info_app_usage_destroy(mem_usage_handle);
-    if (ret != RUNTIME_INFO_ERROR_NONE) {
+    if (ret != RUNTIME_INFO_ERROR_NONE)
         /* Error handling */
-    }
 }
 </pre>
 
index 04e20be..2e8269e 100644 (file)
@@ -656,7 +656,7 @@ func(void)
        <tr>
        <td><code>http://tizen.org/feature/network.bluetooth.audio.call</code></td>
      <td><code>bool</code></td>
-        <td>The platform returns <code>true</code> for this key, if the device supports Bluetooth Handsfree Profile (HFP).</td>
+        <td>The platform returns <code>true</code> for this key, if the device supports Bluetooth Hands-free Profile (HFP).</td>
     </tr>
        <tr>
        <td><code>http://tizen.org/feature/network.bluetooth.audio.controller</code></td>
index cf83310..4334d33 100644 (file)
@@ -312,7 +312,7 @@ case SDL_APP_CONTROL:
 </pre>
 </li>
 <li><code>SDL_APP_LOWBATTERY</code>
-<p>This event is invoked when the application is low on battery. Use it to reduce power consumption, if possible. In Tizen, this event is called in the <code>_tizen_app_low_battery()</code> function.</p>
+<p>This event is invoked when the device is low on battery. Use it to reduce power consumption, if possible. In Tizen, this event is called in the <code>_tizen_app_low_battery()</code> function.</p>
 <p>Get the low battery status from the given event info by calling the <code>app_event_get_low_battery_status()</code> function. The <code>app_event_low_battery_status_e</code> (in <a href="../../../../org.tizen.native.mobile.apireference/group__CAPI__APP__COMMON__MODULE.html#gacd053e5be8bdd4a4e3cc5bb20916af00">mobile</a> and <a href="../../../../org.tizen.native.wearable.apireference/group__CAPI__APP__COMMON__MODULE.html#gacd053e5be8bdd4a4e3cc5bb20916af00">wearable</a> applications) is the enumeration for the battery status: <code>APP_EVENT_LOW_BATTERY_POWER_OFF</code> means that the battery charge is under 1% and <code>APP_EVENT_LOW_BATTERY_CRITICAL_LOW</code> under 5%.</p>
 
 <pre class="prettyprint">
index 08afcbe..94df6ef 100644 (file)
@@ -249,7 +249,7 @@ sensor_listener_set_interval(listener, 200);
 <pre class="prettyprint">
 sensor_listener_set_attribute_int(listener, SENSOR_ATTRIBUTE_PAUSE_POLICY, SENSOR_PAUSE_NONE);
 </pre>
-<p>The above example makes the listener listen for the sensor data regardless of the display state and the power-save mode. However, it does not prevent the device from going to sleep mode. To listen for the sensor data, the device must be awake anyway.</p>
+<p>The above example makes the listener listen for the sensor data regardless of the display state and the power-save mode. However, it does not prevent the device from going to the sleep mode. To listen for the sensor data, the device must be awake anyway.</p>
 </li>
 </ul>
 </li>
index fc571d4..8f288e4 100644 (file)
@@ -576,7 +576,7 @@ result = sync_adapter_unset_callbacks();
                <td><code>int*</code></td>
                <td>Yes</td>
                <td>Unique ID for managing sync jobs.
-                          <p>The ID is generated when a sync job is added. It is required to remove the sync job. The number of ID that can be generated is restricted to a hundred per package.</p></td>
+                          <p>The ID is generated when a sync job is added. It is required to remove the sync job. The number of ID that can be generated is restricted to a hundred per package.</p></td>
        </tr>
        <tr>
                <td>Sync job user data</td>
index 75e12bc..fa30841 100644 (file)
 
 <li><a href="privilege_n.htm">Privilege Information</a>
 
-<p>You can retrieve information about existing permissions granted by a privilege  The information can be delivered to the user as a notification.</p></li>
+<p>You can retrieve information about existing permissions granted by a privilege. The information can be delivered to the user as a notification.</p></li>
 
 <li><a href="requesting_permissions_n.htm">Privacy-related Permissions</a>
 
-<p>You can check current permissions for privacy-related privileges and request user permission to use specifed privileges.</p></li>
+<p>You can check current permissions for privacy-related privileges and request user permission to use specific privileges.</p></li>
 
 <li><a href="yaca_n.htm">Cryptographic Operations</a>
 
index e7de216..5e68d44 100644 (file)
@@ -699,7 +699,7 @@ control.SetProperty( Control::Property::BACKGROUND, map );
                 <td>FLOAT</td>
                 <td>The scale of the radius of the top circle of a conical frustrum.</td>
                 <td>1.0</td>
-                <td>>= 0.0</td>
+                <td>&gt;= 0.0</td>
         </tr>
         <tr>
                 <td><code>PrimitiveVisual::Property::SCALE_BOTTOM_RADIUS</code></td>
@@ -707,7 +707,7 @@ control.SetProperty( Control::Property::BACKGROUND, map );
                 <td>FLOAT</td>
                 <td>The scale of the radius of the bottom circle of a conical frustrum.</td>
                 <td>1.5</td>
-                <td>>= 0.0</td>
+                <td>&gt;= 0.0</td>
         </tr>
         <tr>
                 <td><code>PrimitiveVisual::Property::SCALE_HEIGHT</code></td>
@@ -715,7 +715,7 @@ control.SetProperty( Control::Property::BACKGROUND, map );
                 <td>FLOAT</td>
                 <td>The scale of the height of a conic.</td>
                 <td>3.0</td>
-                <td>> 0.0</td>
+                <td>&gt; 0.0</td>
         </tr>
         <tr>
                 <td><code>PrimitiveVisual::Property::SCALE_RADIUS</code></td>
@@ -723,7 +723,7 @@ control.SetProperty( Control::Property::BACKGROUND, map );
                 <td>FLOAT</td>
                 <td>The scale of the radius of a cylinder.</td>
                 <td>1.0</td>
-                <td>> 0.0</td>
+                <td>&gt; 0.0</td>
         </tr>
         <tr>
                 <td><code>PrimitiveVisual::Property::SCALE_DIMENSIONS</code></td>
@@ -731,7 +731,7 @@ control.SetProperty( Control::Property::BACKGROUND, map );
                 <td>VECTOR3</td>
                 <td>The dimensions of a cuboid. Scales in the same fashion as a 9-patch image.</td>
                 <td><code>Vector3::ONE</code></td>
-                <td>> 0.0 for each</td>
+                <td>&gt; 0.0 for each</td>
         </tr>
         <tr>
                 <td><code>PrimitiveVisual::Property::BEVEL_PERCENTAGE</code></td>
index 2716375..d42708d 100644 (file)
@@ -194,12 +194,12 @@ elm_box_pack_end(box, map);
       </tr>
       <tr>
          <td><code>scroll,drag,start</code></td>
-         <td>Dragging the content around starts.</td>
+         <td>Dragging the content starts.</td>
          <td><code>NULL</code></td>
       </tr>
       <tr>
          <td><code>scroll,drag,stop</code></td>
-         <td>Dragging the content around stops.</td>
+         <td>Dragging the content stops.</td>
          <td><code>NULL</code></td>
       </tr>
       <tr>
index 65f4607..707d9cc 100644 (file)
 <ol><li>To create a new window and give it the <code>NOTIFICATION</code> type, call the <code>elm_win_add()</code> function with the third parameter set to <code>ELM_WIN_NOTIFICATION</code>:
 <pre class="prettyprint">
 #include &lt;Elementary.h&gt;
-#include &lt;efl_util.h&gt;
 #include &lt;dlog.h&gt;
 
 static Evas_Object*
@@ -199,7 +198,6 @@ create_win(const char *name)
 <p>If the window is not of the notification type, the function returns the <code>EFL_UTIL_ERROR_NOT_SUPPORTED_WINDOW_TYPE</code> error.</p>
 <pre class="prettyprint">
 #include &lt;Elementary.h&gt;
-#include &lt;efl_util.h&gt;
 #include &lt;dlog.h&gt;
 
 void