The package includes an application and a service. I launch the service using the javascript code below in the main.js in the application.
tizen.application.launchAppControl(
new tizen.ApplicationControl("http://tizen.org/appcontrol/operation/service"),
"mypackage.myservice",
function() {console.log("Launch Service succeeded"); },
function(e) {console.log("fail " + e.message"); });
However, the service didn’t start. In simulator, the error message is “an attempt is made to reference a node in a context where it does not exist”. On the real device (Gear S2), the error message is “given package is not found”.
Service Application error
Hi,
I am trying to create a service application using the guide here: https://developer.tizen.org/development/guides/web-application/tizen-features/service-application. I am using Tizen SDK 2.3.1 with partner certificate. Below is what my config.xml looks like.
The package includes an application and a service. I launch the service using the javascript code below in the main.js in the application.
However, the service didn’t start. In simulator, the error message is “an attempt is made to reference a node in a context where it does not exist”. On the real device (Gear S2), the error message is “given package is not found”.
Can anybody tell me what’s wrong here?
Thanks a lot.
Jinghai
BY
16 Apr 2025
Tizen Studio
BY
04 Nov 2024
Tizen Studio
BY
02 Apr 2024
Tizen Studio