语言

Menu
Sites
Language
How to Launch the ServiceApp automatically at start-up?

I Development Hybrid Applictaion for Tizen phone (background service app, and front-view app, Communicate to MessagePort) so, I tested with Tizen-example source but something wrong... when I running with example source of HybridServiceApp, HybridWebApp, working very well, but if HybridWebApp is terminated from tesk manager, HybridServiceApp is terminated too... and restart Tizen-OS, Service app is not running automatically.... I just Check to serviceapp manifest.xml -> Miscellaneous Options -> check Launch the application automatically at start-up and Restart the application automatically after abnormal exit Am I do a right thing? please help

查看选择的答案

响应

3 回复
Alex Dem

Hi
Yes, to automatically launch ServiceApp at start-up you should set these options in manifest file of your ServiceApp.
Alexey.

규민 고
i tried this way but not working... As we know in the case of android interface, device turns on by receiving parameters. So we insert a code which recognizes those parameters to activate service program. And here's my question;Is the taizen requires other methods to activate those service programs? I mean, more than simply giving optional parameters and so on...
Mark as answer
Alex Dem

Нi,
Strange, it should works. I worked with Multi-project Native App and I was able to restart service or launch service on start-up. For Hybrid should be the same, here is about hybrid apps:
https://developer.tizen.org/dev-guide/2.2.1/org.tizen.web.appprogramming/html/sample_descriptions/multiprocess_hybrid_package.htm
Alexey.