{Your name and details}
It's ready, seriously.
WebTelephony, Vibration API, WebSMS, Idle API, Screen Orientation, Settings API, Power Management API, Mobile Connection API, TCP Socket API, Geolocation API, WiFi Information API, Device Storage API, Contacts API, Mouse Lock API, Open WebApps, WebBluetooth, Network Information API, Battery Status API, Alarm API, Browser API, Time⁄Clock API, Web Activities, Push Notifications API, Permissions API, WebFM API, FileHandle API, Network Stats API, WebPayment, IndexedDB, Archive API, Ambient light sensor, Proximity sensor, SystemXHR, ...
window.navigator.vibrate(200);
checkOrientation = function() {
if(window.orientation == 0 || window.orientation == 180) {
// "rotate your device"
}
else {
// "keep playing"
}
}
document.addEventListener("visibilitychange", function() {
if(document.hidden) {
// "app is not visible"
}
else {
// "app is visible"
}
});
Free, easy to use
Notepad, Sublime Text, Eclipse
Browser + dev tools
phaser.io - free, open sourced on GitHub
manifest.webapp
{
"name": "Name of the app",
"description": "Description of the app",
"launch_path": "/",
"icons": {
"128": "/img/icon-128.png"
},
"developer": {
"name": "Enclave Games",
"url": "http://enclavegames.com"
},
"default_locale": "en"
}
var installapp = navigator.mozApps.install(manifestURL);
installapp.onsuccess = function(data) {
// "App was installed"
};
installapp.onerror = function() {
// "App was NOT installed,
// check the installapp.error.name for more info"
}