Page 1 of 1

Alarm Clock Timer

Posted: Fri Sep 13, 2013 7:39 pm
by osiris1@yahoo.com

Hello. I want to create an alarm clock app that will turn on a TV at a set time. I know I have to obtain an IR transceiver and integrate that into to code, but first things first.

How would I go a setup a Timer event that to trigger some code?


Alarm Clock Timer

Posted: Fri Sep 13, 2013 7:44 pm
by maxkatz

You can use JavaScript to setup a timer. JavaScript is the what you would use to add any app logic.


Alarm Clock Timer

Posted: Sun Sep 15, 2013 5:28 pm
by osiris1@yahoo.com

Ok. Thanks. So I would have to obtain the APIs for whatever Infrared dongle I use, and Appery should be able to access it?


Alarm Clock Timer

Posted: Sun Sep 15, 2013 8:46 pm
by maxkatz

Appery.io doesn't need to access it. Your apps runs in the browser, so any JavaScript you write/add -- you can use in your app.

The only that you would need to do -- is load the JavaScript library into your app when developing: http://docs.appery.io/documentation/u...