From fb6263cfab845f488f24c776a01c166347b0cf5c Mon Sep 17 00:00:00 2001 From: Cho Woong Suk Date: Tue, 30 Aug 2016 15:00:07 +0900 Subject: [PATCH] fix sample code. use web sample instead of native for web event Change-Id: Ie0769f6c8599ce96c6ac2e2221ba92e16511caa2 Signed-off-by: Cho Woong Suk --- org.tizen.tutorials/html/web/details/event_handling_w.htm | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/org.tizen.tutorials/html/web/details/event_handling_w.htm b/org.tizen.tutorials/html/web/details/event_handling_w.htm index 8890b9e..4015239 100644 --- a/org.tizen.tutorials/html/web/details/event_handling_w.htm +++ b/org.tizen.tutorials/html/web/details/event_handling_w.htm @@ -91,10 +91,8 @@ document.addEventListener("rotarydetent", function(ev)

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:

-bool support;
-int ret;
-
-ret = system_info_get_platform_bool("http://tizen.org/feature/screen.always_on.high_color", &support);
+/* Check whether high color mode is supported or not*/
+var isHighColorMode = tizen.systeminfo.getCapability("http://tizen.org/feature/screen.always_on.high_color");
 

The following table describes the ambient mode events.

-- 2.7.4