Fred, this is a good email detailing the possible options. János, is your end objective running apps that are based on the HTML5 standards (WebApps - online / offline) or is there a different reason why you would like to package the Gecko runtime along with your application? Is there any other need - like containerization / process isolation etc. that you are looking at?
Thank you On Tue, Feb 10, 2015 at 2:36 AM, Fred Wenzel <fwen...@mozilla.com> wrote: > János, > > I don't know of any concrete plans to create self-contained APKs including > a bundled version of Gecko, though you do have a few options. > > As you know, keeping running against Firefox for Android is option 1. It > has the caveat of requiring Firefox for Android as a separate entity, but > it also keeps your package size relatively small. > > Second option is using Apache Cordova / Adobe PhoneGap[1], which will -- > mind you -- not run your app on Gecko, but it *will* be a self-contained > package (relying on Android's built-in WebView). There is also CrossWalk[2] > which is similar to Cordova (partially API compatible, I believe) and > bundles another Webview that's also not Gecko (it's Chromium) but that too > will be self-contained, and you can write the same code and compile it for > Firefox OS and Android that way. > > Finally, there's a project called GeckoView[3], which aims to bring a > Gecko-based Webview to Android, and that can be (conceivably) used to power > Cordova on Android. I remember such attempts to be underway, but I am > fairly certain no stable public release of this (Cordova + Geckoview) has > been made. > > While none of these options are turn-key, I hope this gives you a better > overview of which directions you might want to push in. > > [1] http://mozilla-cordova.github.io/ > [2] https://crosswalk-project.org/ > [3] > > http://starkravingfinkle.org/blog/2013/10/geckoview-embedding-gecko-in-your-android-application/ > > > On Sun, Feb 8, 2015 at 3:53 PM, János Fehér <aries.mindwo...@gmail.com> > wrote: > > > Hi, > > > > I'm wondering if there is a way to create packaged apps for Android (and > > iOS, if possible) packaged with a headless Firefox? My team would like to > > create apps and it would be very convenient for the end users if we would > > be able to create a self-contained app with the dependencies. Is this > > possible now or do you plan to release such version of the APK Factory > > Library? > > > > Thank you, > > Janos > > _______________________________________________ > > dev-webapps mailing list > > dev-webapps@lists.mozilla.org > > https://lists.mozilla.org/listinfo/dev-webapps > > > _______________________________________________ > dev-webapps mailing list > dev-webapps@lists.mozilla.org > https://lists.mozilla.org/listinfo/dev-webapps > _______________________________________________ dev-webapps mailing list dev-webapps@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-webapps