I am a Designer, Developer, Red Hatter, Mozillian et al.Soumya Deb, at Mobile Developer Summit — Bangalore, 2013
{
"name": "My App",
"description": "My elevator pitch goes here",
"launch_path": "/",
"icons": { "128": "/img/icon-128.png" },
"developer": {
"name": "Your name or organization",
"url": "http://your-homepage-here.org"
}
}
Soumya Deb, at Mobile Developer Summit — Bangalore, 2013
var manifestURL = "http://your.app/webapp.manifest",
installer = navigator.mozApps.install(manifestURL);
installer.onsuccess = function(data) {
// App is installed
};
installer.onerror = function() {
// App installation failed...
// Check installapp.error.name for details
};
Soumya Deb, at Mobile Developer Summit — Bangalore, 2013
The Manifest file also lists permissions.