Firefox for Android

  • Revision slug: Mozilla/Firefox_for_Android
  • Revision title: Firefox for Android
  • Revision id: 5779
  • Created:
  • Creator: wbamberg
  • Is current revision? No
  • Comment 1 words removed

Revision Content

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.

Help create 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:

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:

To test your web site on Firefox for Android, you can install it on an Android device or run it on your desktop using the Android Emulator.

Build mobile add-ons

Just as on the desktop, you can extend and modify Firefox for Android by creating add-ons.

  • To create traditional add-ons, see the Fennec Extensions guide. Since the native version of Firefox for Android does not use XUL, you can't use XUL overlays to build a user interface. Instead, use the Native Window object to create native Android user interface components.

  • Alternatively, you can use the Add-on SDK to create add-ons which work on both the mobile and the desktop versions of Firefox.

Revision Source

<p>For more and more people mobile devices are the primary way, or even the only way, to access the Web.</p>
<p><a class="link-https" href="https://www.mozilla.org/en-US/mobile/">Firefox for Android</a> (codenamed Fennec) is an open, hackable, standards-based browser, just like the desktop Firefox.</p>
<p>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.</p>
<h2>Help create Firefox for Android</h2>
<p>The main starting point for information about the Firefox for Android project itself is the <a class="link-https" href="https://wiki.mozilla.org/Mobile">project Wiki page</a>.</p>
<p>You can help us to create and improve Firefox for Android:</p>
<ul> <li>help us <a class="link-https" href="https://wiki.mozilla.org/Mobile/Testdrivers_Program">with testing</a></li> <li>contact the team over <a class="link-irc" href="irc://irc.mozilla.org/#mobile">IRC</a> or join in our <a class="link-https" href="https://wiki.mozilla.org/Mobile/Notes">Wednesday development meeting</a></li> <li>keep up to date with project news on <a class="external" href="http://planet.firefox.com/mobile/">planet firefox</a> and <a class="link-https" href="https://twitter.com/#!/mozmobile" title="https://twitter.com/#!/mozmobile">Twitter</a></li>
</ul>
<h2>Develop for the mobile web</h2>
<p>We've started putting together a guide to <a href="/En/Mobile" title="En/Mobile">designing web sites for mobile devices</a>.</p>
<p>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:</p>
<ul> <li><a class="external" href="http://hacks.mozilla.org/2012/02/using-the-battery-api-part-of-webapi/" title="http://hacks.mozilla.org/2012/02/using-the-battery-api-part-of-webapi/">Battery</a></li> <li><a href="/en/DOM/Using_the_Camera_API" title="Using the Camera API">Camera</a></li> <li><a href="/en/API/WebTelephony/Introduction_to_WebTelephony" title="Introduction to WebTelephony">WebTelephony</a></li> <li><a href="/en/API/WebSMS/Introduction_to_WebSMS" title="Introduction to WebSMS">WebSMS</a></li> <li><a href="/En/Using_geolocation" title="Using geolocation">Geolocation</a></li> <li><a href="/en/Detecting_device_orientation" title="https://developer.mozilla.org/en/detecting_device_orientation">Orientation</a></li>
</ul>
<p>To test your web site on Firefox for Android, you can <a class="link-https" href="https://www.mozilla.org/en-US/mobile/">install it on an Android device</a> or <a class="link-https" href="https://wiki.mozilla.org/Mobile/Fennec/Android/Emulator">run it on your desktop using the Android Emulator</a>.</p>
<h2>Build mobile add-ons</h2>
<p>Just as on the desktop, you can extend and modify Firefox for Android by creating add-ons.</p>
<ul> <li> <p>To create traditional add-ons, see the <a class="link-https" href="https://wiki.mozilla.org/Mobile/Fennec/Extensions">Fennec Extensions guide</a>. Since the native version of Firefox for Android does not use XUL, you can't use XUL overlays to build a user interface. Instead, use the <a class="external" href="http://starkravingfinkle.org/blog/2011/11/firefox-android-add-ons-in-a-native-world/">Native Window</a> object to create native Android user interface components.</p> </li> <li> <p>Alternatively, you can use the <a class="link-https" href="https://addons.mozilla.org/en-US/developers/docs/sdk/latest/dev-guide/tutorials/mobile.html">Add-on SDK</a> to create add-ons which work on both the mobile and the desktop versions of Firefox.</p> </li>
</ul>
Revert to this revision