I've created an application which communicates between tizen and android. My widget has to start after install, in order to do this you are able to use autoLaunchAppId in the sap service xml file. However when i try to do this it will not work, the widget doesn't even start. I watched the tutorial provided by tizen but it still doesn't work , below is my sapservice.xml on android and tizen side.
Tizen side:
<resources> <application name="Guard"> <serviceProfile name="guard" id="/system/guard" role="consumer" version="2.0" serviceLimit="ANY" serviceTimeout="10" autoLaunchAppId="J1maNaJcXd.Guard"> <supportedTransports> <transport type="TRANSPORT_BT"/> <transport type="TRANSPORT_WIFI"/> </supportedTransports> <serviceChannel id="104" dataRate="high" priority="low" reliability="enable"/> </serviceProfile> </application> </resources>
Also here is my application id in my config source file tizen side:
<tizen:application id="J1maNaJcXd.Guard" package="J1maNaJcXd" required_version="2.2"/>
Android side:
<resources> <application name="GuardSmartWatch"> <serviceProfile name="guard" id="/system/guard" role="provider" serviceImpl="nl.tizin.guard.smartwatch.SAPServiceProvider" version="2.0" autoLaunchAppId="J1maNaJcXd.Guard" serviceLimit="ONE_PEERAGENT" serviceTimeout="30"> <supportedTransports> <transport type="TRANSPORT_WIFI"/> <transport type="TRANSPORT_BT"/> </supportedTransports> <serviceChannel id="104" dataRate="high" priority="low" reliability="enable" /> </serviceProfile> </application> </resources>
I was wondering if somebody knows what i am doing wrong. Another question i have is if it's possible to autolaunch a WATCH_CLOCK and set it as GearFace after install.