This is a meta bug to track the bugs for completing phase 1 of an instant app prototype. The product scope for this prototype is: In Marketplace, when a user selects a listed app, the detail view of the app shows an "open" button, instead of "install". When the user clicks the "open" button, a loading screen is shown (either by system app or by marketplace- tbd) until the app is ready to open directly and "instantly" afterwards. (Note: the app install happens in the background and depending on technical difficulty, the app can either be pinned to the homescreen or can be hidden). Only non-paid apps are in scope.
Bug 1057348 has been marked as a duplicate of this bug and it is definitely similar, but I want to make sure the detail from that bug is not lost. This instant app concept sounds like it is focusing on downloading and installing packaged apps in the background and giving the impression that they are just being opened. Bug 1057348 was more about hosted app listings in the Marketplace actually navigating straight to a URL rather than going through the installation process, which would also make the Marketplace useful on other platforms which do not support the (currently proprietary) Open Web Apps installation API. The idea proposed in that bug is to navigate straight to live hosted apps and provide "installation" or "bookmarking to the homescreen" as an optional extra step if the user decides they want to keep the app. This is similar to the way EverythingMe apps are currently used in Firefox OS. It's worth considering how this feature might be effected if in the future we move away from our current proprietary packaged apps and towards a standardised hosted package solution like the W3C TAG is proposing . Another future consideration might be the use of W3C Manifests  as a progressive enhancement to a web page so that you can navigate straight to a web app and if a manifest is present then its metadata can be used to provide a more app-like experience, by specifying a display mode with less browser chrome for example. 1. http://w3ctag.github.io/packaging-on-the-web/ 2. http://w3c.github.io/manifest/
Changing this into the overall Meta for the followup prototype phases.
Summary: [Meta] Instant App Prototype Phase 1 → [Meta] Instant App Prototype
Created attachment 8522220 [details] [diff] [review] marketplace.patch Replaces Marketplace app with the custom version from Kevin Ngo.
Created attachment 8522254 [details] [diff] [review] gaia.patch
Attachment #8522218 - Attachment is obsolete: true
You need to log in before you can comment on or make changes to this bug.