From: Cho Woong Suk Date: Tue, 30 Aug 2016 06:00:07 +0000 (+0900) Subject: fix sample code. use web sample instead of native for web event X-Git-Tag: tizen_3.0/TD_SYNC/20161201~50 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=fb6263cfab845f488f24c776a01c166347b0cf5c;p=sdk%2Fonline-doc.git fix sample code. use web sample instead of native for web event Change-Id: Ie0769f6c8599ce96c6ac2e2221ba92e16511caa2 Signed-off-by: Cho Woong Suk --- 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.