Project moved to: https://gitlab.com/bitspice/playbook-deskclock/tree/master
A simple desk clock for the Blackberry Playbook. Optimized for the Playbook screen, but CSS can be modified to better fit other tablets.
- In
script.js
, modify the following values.var NEWS_API_KEY = "<<NEWS_API_KEY>>"; // https://newsapi.org/register var DARK_SKY_API_KEY = "<<DARK_SKY_API_KEY>>"; // https://darksky.net/dev/register var POSITION_LAT = 43.7524089; // Default location for weather, fallback var POSITION_LON = -79.2567648; // if browser is not able to get location
- Host the website somewhere
- Download OragamiBrowser from Blackberry World, navigate to website
- In the OragamiBrowser menu, turn on "Keep screen on"
- Your desk clock is ready to go. Time, date, news and weather should refresh automatically.
Note, the API keys included in this project are the limited free tiers and are not guaranteed to work.
- Dark Sky Weather API - Gets the current weather
- News API - Gets current news articles