Your phone is aware ofyour surroundings...Take advantage!
Camera is only availablefor certiﬁed apps...
Hey I need animage!Sure, I can provideyou with one!
Web activities(like Android intents)
I NEED AN ADULT!
Offline• Web is built for connectivity :-(• Two types of assets:• Application assets• Server data
Caching assets• ZIP up your app• Lose ﬂexibility of the web• But very easy!• Use appcache• Browser feature• Example implementation in demo-app
Caching resources• AJAX calls• Cache results in indexedDBor local storage• Read from cache if request fails• In demo-app see the http service
The app manifest ﬁle• Has name, description, version• Deﬁne permissions (calling, storage)• Appcache location (can be in html as well)• Web activity provider (I provide images!)https://marketplace.ﬁrefox.com/developers/docs/manifests