-
Notifications
You must be signed in to change notification settings - Fork 224
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to keep application Tizen Wearable in foreground #128
Comments
Hello, |
Hello, Thank you for your answer ! I don't really understand how to implement it. The service must listen to the event when the screen goes to sleep and must wake up the application? Sorry i don't know Tizen well yet... |
Hello, I just implemented the following code for launch service app :
I would like to stop the service but I can't find a way to stop ... I tried :
But not working... |
Hello, AppControl.SendTerminateRequest() is for handling sub-applications of app-group feature. |
Hello, Unfortunately the minimum version of API is 6 for this method... Isn't there another solution to keep the application in the foreground ? Some apps like Strava for example stay in the foreground all the time. Thank you for your answers. |
Hello, The application cannot terminate another application(running in the foreground) directly by policies. The following code is a sample for handling the termination request:
The following code is a sample for sending the launch request with "TERM" ExtraData of AppControl:
|
Hello, Indeed it is a solution, thank you very much for your help ! However, we always notice that the application is closed and then opens when the screen turns on. What we don't see on apps like Strava or Endomondo (sports apps)... |
Hello. However, we always notice that the application is closed and then opens when the screen turns on. What we don't see on apps like Strava or Endomondo (sports apps)... Do you use Galaxy Gear? I recommend a workaround that uses Display API. If you use Display.StateChanged, you can get the information about display state. |
Hello,
I'm sorry if this is bad place to ask this question. Do you have a solution to keep a Tizen Wearable C# application in foreground when the screen goes to sleep ?
I would like to develop an activity tracker for sport and therefore always have the application visible but not necessarily the screen on.
Thank you for your answers.
The text was updated successfully, but these errors were encountered: