For more and more people mobile devices are the primary way, or even the only way, to access the Web. Firefox for Android (codenamed Fennec) is an open, hackable, standards-based browser, just like the desktop Firefox.
Firefox for Android constructs its user interface from native Android widgets instead of XUL: this greatly improves performance, especially startup time, and memory consumption. For the time being this version is aimed only at phones, and the tablet version still uses XUL. In the future, we expect to officially support the native UI version on tablets as well.
Contribute to Firefox for Android
The main starting point for information about the Firefox for Android project itself is the project Wiki page.
You can help us to create and improve Firefox for Android:
- help us with testing
- test top sites for mobile gecko compatibility - see here for more information
- contact the team over IRC or join in our Wednesday development meeting
- keep up to date with project news on planet firefox and Twitter
- build and hack on Firefox for Android (Fennec)
Develop for the mobile web
We've started putting together a guide to designing web sites for mobile devices.
With Firefox for Android, you've got access a number of APIs that expose the underlying capabilities of the device, closing the gap between the Web and native applications:
Build mobile add-ons
Firefox for Android supports add-ons using the exact same extension system used by all other Gecko-based applications. We did not invent a new add-on system. This means that building an add-on for Firefox on Android is the same process that would be used for desktop Firefox. Add-ons that work with desktop Firefox do not automatically work in Firefox on Android. The user interfaces are just too different.
install.rdf. The identifier is
Both classic restart-required and newer restartless add-on approaches are supported. Using the restartless approach is preferred whenever possible because the user experience is far superior to forcing an application restart when installing or removing an add-on.
- There is no visible XUL in the UI, so using overlays to try to add or change UI is useless.
- Internal code and objects, like
gBrowser, do not exist. Look at the Firefox on Android
browser.jsfile to learn about the internals. Much of the same fundamental functionality exists.
- Services like
nsIAlertsServiceare implemented to use native Android UI.
NativeWindow, that allows you to manipulate parts of the native Android UI.
Get help with Firefox for Android
Documentation and tutorials for using and troubleshooting Firefox for Android are available on the Mozilla Support website.