Languages

Menu
Sites
Language
how to show popup/notification when S2 screen is locked

안녕하세요 타이젠을 공부하는 대학생입니다.

GearS2 어플리케이션을 만들어 보려고 하는데요, 

Dimmde 또는 Lock된 상태에서 notification이라던가 Elementary Object(예를 들어 Label)을 띄우는 방법이 있을지 궁금해서 문의드립니다.
 

Hi, I'm undergraduate studing Tizen native Programming.

I want to make GearS2 Native application.

I wonder how to show notification or Elementary Object(e.g Label) when S2 Screen is dimmed or locked.

thanks in advance.

Responses

4 Replies
daniel kim

안녕하세요.

아래와 같이 rich notification sdk를 이용하여 Gear S2쪽으로 notification을 보내는 방법이 있으니 참조하시면 될것 같습니다.

    http://developer.samsung.com/galaxy#rich-notification

 

 

 

Jean Yang

Normally, if you want to show notification or other things when the screen is dimmed or locked for a embeded system, you need to unlock the screen temporarily to show your notifications or messages, then lock it again when the timer for this presentation expire.

For tizen, we need to check if it is follow this principle and provided more convient API.

Leo Liao

As Jean said, you should turn on your screen when you show you special notifications, then turn off the screen when the timer for your notification expired.

Below are reference to power API where you can find the turn on/off APIs.

https://developer.tizen.org/dev-guide/2.4/org.tizen.web.apireference/html/device_api/wearable/tizen/power.html

Here is another article introduce how to keep the screen awake when some app is running. Just for your reference.

https://developer.tizen.org/community/tip-tech/keeping-screen-awake-until-pressing-hold-button

BeomChan Park

thanks for all :)