Languages

Menu
Sites
Language
How to prevent the wearable gear to leave app when screen turns off
Hello everybody, I am currently developping a wearable web application and the problem I am confronted to is the following one : When the watch turns off the screen, after a few minutes (1 or 2, ...) it automatically leaves my app to launch the watchface app. What I want is to keep running my app when the screen is off ( tizen.application.launch(myapp.appInfo.id) doesn't help me because it means the app already has been left). Has anybody a solution please ? Thank you
Edited by: pascal ruffie on 15 May, 2019
View Selected Answer

Responses

4 Replies
GEUNSOO KIM

I cannot sure this will help your situation or not, but check "tizen::background-category" element and "background-support" attribute in "tizen::setting" element in config.xml.

good luck.

 

pascal ruffie
Hello
Thanks for your reply. I already did what you advised me and unfortunately that doesn't work (I only have access to the backgrounds rights but I would like to have also to foreground).
Any other idea ?

 

pascal ruffie

Hello,

Thanks for your reply. I already did what you advised me and unfortunately that doesn't work ( I only have access to the backgrounds rigths but I would like to have also to foreground).

Any other idea ?

Mark as answer
pascal ruffie

Ok I found an acceptable solution with the screen states.