语言

Menu
Sites
Language
Time 5 seconds after locked screen in Tizen Device.

After pressing on the lock screen button on the device, a time of 5 seconds a system sound effect occurs, indicating that the screen was locked. 

When making a game, we are showing a time counter that appearing to the user (eg, 30 seconds descending), every second, the weather changes (29, 28 ...). If the lock button is pressed, the screen turns off, but the time remains on display until the a  sound effect play of the system occur. So to unlock the device, the time was discounted more than 5 seconds the user should see. 

How can we treat the life cycle to prevent this count of the time? This is normal? 

The events we are using are: 
http://stackoverflow.com/questions/20614452/detect-tizen-web-app-going-to-background 

It is possible that this behavior of the device is temporary until a new Tizen version to be available?

编辑者为: Douglas Frari 15 10月, 2014

响应

1 回复
Shafiqul Islam

Hello Douglas Frari,
I think you should test your app with tizen latest version 2.4. I have tested a counter app in Tizen 2.4 and nothing abnormal occurred. When I press the lock screen button the screen turns off immediately with the system lock sound. No 5 seconds delay occurred. At the same time my running app goes into background so when I unlock the phone no time was decreased. It starts from the counting time where the app went into pause state during locking screen.

The abnormal behavior that you faced might be due to Tizen unstable version. Would you kindly tell me in which version did you test your app? If you have any further query then feel free to ask me.