Alarm API

Hello, I’m using the Alarm API to schedule some actions for my webapp…

According to tizen documentation to launch an application I should do the following (example):

tizen.alarm.add(alarm, ‘tizen.internet’);

The problem is, it works only if the application is closed, if the application is open it get closed (or maybe hidden) and the action I set to run starts running with the app closed (hidden)… Does any one have a solution?

Thanks!

Hi,
You can add the following line in your config.xml file:

<tizen:setting background-support="enable" encryption="disable" hwkey-event="enable"/>

You can also develop a native service app and implement launching app using Alarm API there. Then multi-package the service app with your web app.