Kazé
{
"name": "Mon application",
"description": "Une description courte de l'application",
"launch_path": "/",
"icons": { "128": "/img/icone-128.png" },
"developer": {
"name": "Votre nom ou organisation",
"url": "http://votre-site-web.org"
},
"default_locale": "fr"
}
https://developer.mozilla.org/fr/docs/Applications/Manifeste
var b = navigator.battery;
if (b) {
var level = Math.round(b.level * 100) + "%",
charging = (b.charging) ? "" : "not ",
chargeTime = parseInt(b.chargingTime / 60, 10),
dischargeTime = parseInt(b.dischargingTime/60,10);
b.addEventListener("levelchange", show);
b.addEventListener("chargingchange", show);
b.addEventListener("chargingtimechange", show);
b.addEventListener("dischargingtimechange", show);
}
var getphoto = new MozActivity({
name: "pick",
data: {
type: ["image/png",
"image/jpg",
"image/jpeg"]
}
});
var call = new MozActivity({
name: "dial",
data: {
number: "+3280033800"
}
});
Geeksphone
Template des slides : github.com/codepo8/mozilla-presentation-templates
Photo by Yortw