[system] fix tutorials of device and system-information apis
authorTaeyoung Kim <ty317.kim@samsung.com>
Mon, 28 Dec 2015 07:26:11 +0000 (16:26 +0900)
committerTaeyoung Kim <ty317.kim@samsung.com>
Mon, 28 Dec 2015 07:26:11 +0000 (16:26 +0900)
- For the device_display_get_max_brightness() function, it can be changed
  by internal operations. Thus "always returns as 100" is removed

- The key format of the system information is similar with URLs.
  Thus the keys are modified

Change-Id: I4b5584aa12328e0a14304e8f109781975dccd299
Signed-off-by: Taeyoung Kim <ty317.kim@samsung.com>
org.tizen.tutorials/html/native/system/device_tutorial_n.htm
org.tizen.tutorials/html/native/system/sysinfo_tutorial_n.htm

index 01de71d..5635fae 100644 (file)
@@ -129,7 +129,7 @@ error = device_display_get_numbers(&amp;num);
                </li>
                
                <li>Get the maximum brightness with the <span style="font-family: Courier New,Courier,monospace;">device_display_get_max_brightness()</span> function.
-               <p>The function returns the maximum brightness value that can be set, which is always 100.</p>
+               <p>The function returns the maximum brightness value that can be set.</p>
 
 <pre class="prettyprint">
 int error, max;
index 32c1b8b..201494d 100644 (file)
@@ -70,7 +70,7 @@ func(void)
 &nbsp;&nbsp;&nbsp;char *value;
 &nbsp;&nbsp;&nbsp;int ret;
 
-&nbsp;&nbsp;&nbsp;ret = system_info_get_platform_string(&quot;tizen.org/system/model_name&quot;, &amp;value);
+&nbsp;&nbsp;&nbsp;ret = system_info_get_platform_string(&quot;http://tizen.org/system/model_name&quot;, &amp;value);
 &nbsp;&nbsp;&nbsp;if (ret != SYSTEM_INFO_ERROR_NONE) 
 &nbsp;&nbsp;&nbsp;{
 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;// Error handling
@@ -103,7 +103,7 @@ func(void)
 &nbsp;&nbsp;&nbsp;bool value;
 &nbsp;&nbsp;&nbsp;int ret;
 
-&nbsp;&nbsp;&nbsp;ret = system_info_get_platform_bool(&quot;tizen.org/feature/camera&quot;, &amp;value);
+&nbsp;&nbsp;&nbsp;ret = system_info_get_platform_bool(&quot;http://tizen.org/feature/camera&quot;, &amp;value);
 &nbsp;&nbsp;&nbsp;if (ret != SYSTEM_INFO_ERROR_NONE) 
 &nbsp;&nbsp;&nbsp;{
 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;// Error handling