I tried to add alarm using Alarm API and when I tried to run the app using Emulator the alarm is not triggered on the given time. Please let me know if the Emulator support alarm API?
Given below the basic code I used.
var appId = tizen.application.getAppContext().appId; var alarm = new tizen.AlarmAbsolute(new Date(2013, 4, 24, 10, 30)); // Time set for April 24th, 2013, 10.30AM tizen.alarm.add(alarm, appId); // Setting the alarm
I added the following privileges in the config file:
Alarm not working in Emulator
I tried to add alarm using Alarm API and when I tried to run the app using Emulator the alarm is not triggered on the given time. Please let me know if the Emulator support alarm API?
Given below the basic code I used.
var appId = tizen.application.getAppContext().appId;
var alarm = new tizen.AlarmAbsolute(new Date(2013, 4, 24, 10, 30)); // Time set for April 24th, 2013, 10.30AM
tizen.alarm.add(alarm, appId); // Setting the alarm
I added the following privileges in the config file:
BY
04 Nov 2024
Tizen Studio
BY
02 Apr 2024
Tizen Studio
BY
30 Oct 2023
Tizen Studio