Labs/Apps/MyApps: Difference between revisions

Jump to navigation Jump to search
m
no edit summary
No edit summary
mNo edit summary
Line 1: Line 1:
'''myapps.mozillalabs.com''' is an HTML5 implementation of an Open Web App repository.  It is a client-side trusted collection of the manifests that the user has installed.
'''myapps.mozillalabs.com''' is an HTML5 implementation of an Open Web App repository.  It is a client-side trusted collection of the manifests that the user has installed.


App stores or specific applications can interact with the repository using cross-document messaging by including the Javascript from '''https://myapps.mozillalabs.com/jsapi/include.js''' and use the '''AppClient''' object that is exposed.  In the '''myapps.mozillalabs.com''' case, we expose four functions:
App stores or specific applications can interact with the repository using cross-document messaging by including the Javascript from https://myapps.mozillalabs.com/jsapi/include.js and use the '''AppClient''' object that is exposed.  In the '''myapps.mozillalabs.com''' case, we expose four functions:


* '''install({ manifest: <manifest object> , [  authorization_url: <url> ], [ session: <session> ], [ signature: <sig> ], callback: <function> }):'''
* '''install({ manifest: <manifest object> , [  authorization_url: <url> ], [ session: <session> ], [ signature: <sig> ], callback: <function> }):'''
348

edits

Navigation menu