Hi folks,

This is intended for GeckoView embedders, but is relevant to all Fennec developers.

I just landed Bug 948465 [1], which lands the resource://android substitution pointing to the APK root. This means you can use the URI resource://android/package-name.txt to extract the package name (but don't do this); and you can access packaged assets (in the style of [2]) at resource://android/assets/FILENAME.

I haven't tested this in a GeckoView consumer; feedback appreciated!

Nick

[1] https://bugzilla.mozilla.org/show_bug.cgi?id=948465

[2] http://www.ncalexander.net/blog/2014/07/02/adding-assets-to-the-fennec-apk-file/
_______________________________________________
mobile-firefox-dev mailing list
[email protected]
https://mail.mozilla.org/listinfo/mobile-firefox-dev

Reply via email to