11. Web APIS ...
Web APIS everywhere
Thursday, 20 December 12
12. Web APIS
Extending the capabilities of the web.
Mobi
le Co
nnect
ion
Contacts
y
Telephon
Settings
s
Payment
Browser
We
bS
MS Pow
ns er M
Permissio ana
gem
FM ent
Ra s
dio Web Activitie
Thursday, 20 December 12
15. // Telephony object
var tel = navigator.mozTelephony;
// Check if the phone is muted (read/write property)
console.log(tel.muted);
// Check if the speaker is enabled (read/write property)
console.log(tel.speakerEnabled);
Thursday, 20 December 12
16. // Place a call
var cal = tel.dial(“123456789”);
Thursday, 20 December 12
30. Open Web Apps API
{
"version": "1.0",
"name": "MozillaBall",
"description": "Exciting Open Web development action!",
"icons": {
"16": "/img/icon-16.png",
"48": "/img/icon-48.png",
"128": "/img/icon-128.png"
},
"developer": {
"name": "Mozilla Labs",
"url": "http://mozillalabs.com"
},
"installs_allowed_from": ["*"],
"appcache_path": "/cache.manifest",
"locales": {
"es": {
"description": "¡Acción abierta emocionante del desarrollo del Web!",
"developer": {
"url": "http://es.mozillalabs.com/"
}
},
"it": {
"description": "Azione aperta emozionante di sviluppo di fotoricettore!",
"developer": {
"url": "http://it.mozillalabs.com/"
}
}
},
"default_locale": "en"
}
Thursday, 20 December 12
31. Con las manos en la masa
Nightly B2G R2D2B2G
Thursday, 20 December 12
32. A colaborar se ha dicho!
https://github.com/mozilla-b2g/gaia
irc.mozilla.org #b2g, #gaia, #webapi
https://lists.mozilla.org/listinfo/dev-gaia
Thursday, 20 December 12
33. Muchas gracias!
twitter://mepartoconmigo github://arcturus
Thursday, 20 December 12