uniclau / alarmplugin Goto Github PK
View Code? Open in Web Editor NEWCordova plugin to wake up Android devices
Cordova plugin to wake up Android devices
I used this and have no success can you please provide some sample app. Thanks
i Want to play a sound when alarm has been fired what function i will be used
I would like to test this plugin could you tell me what is the format of alarmDate please.,
Hi,
I can't get this to work.
Here is my code:
setAlarm = function(){
var alarmDate = new Date().getTime();
console.log("current time: "+alarmDate);
alarmDate = alarmDate + 2000;
console.log("in two seconds: "+alarmDate);
console.log("setting the local notification at "+alarmDate);
navigator.plugins.alarm.set(alarmDate,
function(){
// SUCCESS
console.log("alarm triggered at "+alarmDate);
},
function(){
// ERROR
console.log("Error triggering the alarm "+alarmDate);
})
};
On the android logcat I've got the error in the subject or, if I grep for "Web Console" I have the "Error triggering the alarm" message.
any idea what's wrong with my code? Looks pretty straightforward to me
That's it.
Calling the alarm makes the Home button in my Note 3 stop working and the lockscreen disappears. Even after clicking the lock button doesn't work at all.
The only way to turn on the lockscreen and button usability is to restart the phone.
Hi, is your plug in iOS compatible? Would it work on iPhone for example even for demo/development purposes?
And also, ( assuming it would work for iPhone as a development build ), would it be iOS compliant as well ? - that is it cal pass Apple's app review/submission guidelines.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.