Languages

Menu
Sites
Language
How to unlock the screen and show the app in Native?

Hi,

Even if the device is locked, the alarm would show on the screen when the alarm is ringing. I want to do something similar in my app. How can I achieve this? How can I unlock the screen and show in Native app?

Thank-you,

Sri

View Selected Answer

Responses

3 Replies
daniel kim

Hi,

I've searched Api refernce to find such functionality. but I couldn't find it. I would suggest you to make a sound when your applicaion wake up. then user will unlock the screen and can see your application. 

Regards.

Mark as answer
colin Rao

I think the alarm ringing window is a notification window. 

Possible efl_util_set_notification_window_level() can help you. Search "efl util" in IDE help doc for details

int     efl_util_set_notification_window_level (Evas_Object *window, efl_util_notification_level_e level)

You can set window level as,

EFL_UTIL_NOTIFICATION_LEVEL_1
EFL_UTIL_NOTIFICATION_LEVEL_2
EFL_UTIL_NOTIFICATION_LEVEL_3

 

Palitsyna

Hello,

just FYI, you can for more information about efl_util_set_notification_window_level in documentation:

Dev Guide: https://developer.tizen.org/dev-guide/native/2.3.0/org.tizen.mobile.native.appprogramming/html/guide/ui/efl_util.htm

Tutorial: https://developer.tizen.org/development/tutorials/native-application/ui/efl-util?langredirect=1?langredirect=1

 

Regards,

Svetlana Palitsyna