On 06/16/2014 03:24 AM, Athanasios Anastasiou wrote: > Hello everyone > > Is there a best practice way of retrieving a QR-code from another firefox OS > app? > > Android uses intents and it is possible to launch a specific QR-Reader or let > the user select from the installed apps that can handle this sort of activity. > > I was happy to spot the Firefox OS - Web Activities API, but they are > 'ring-fenced' :( and the allowed ones do not include QR-code reading.
What do you mean by 'ring-fenced'? Any app can implement its own activities, and expose them to any other app. We don't whitelist anything. > Is there a way to query installed applications for the ones that can handle > QR reading? There are quite a few of them on the marketplace but none > actively advertises its ability as an activity handler. (Is there one that > does?) No. The whole point of activities is to not have such a strong coupling. > Finally, since firefoxOS apps can be installed as stand-alone(ish) on > Android, can i use an Android intent's URI to launch an Android Intent and > retrieve its result within my code from firefox OS? I don't think our intent <-> activities support on android allows that yet, but I may be wrong. Fabrice -- Fabrice Desré b2g team Mozilla Corporation _______________________________________________ dev-webapps mailing list dev-webapps@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-webapps