Firefox per Android

  • Revision slug: Mozilla/Firefox_for_Android
  • Revision title: Firefox for Android
  • Revision id: 353981
  • Created:
  • Creator: 0limits91
  • Is current revision? No
  • Comment

Revision Content

Per molte persone i device mobili sono la fonte primaria, o anche l' unica, per l' accesso al We.

Firefox for Android (nome in codice Fennec) è open, hackable, basata sugli standard web, come Firefox desktop.

Firefox per Android basa  la sua interfaccia utente su quella nativa  di Android widgets, invece di XUL: questo migliora notevolmente le prestazioni, soprattutto in tempo di avvio, e utilizzo della memoria. Per il momento questa versione si rivolge solo a telefoni, mentre la versione tablet utilizza ancora XUL. In futuro, si prevede di sostituire ufficialmente la versione dell' interfaccia utente nativa anche sui tablet.

Contribuire a Firefox per Android.

Il principale punto di partenza per informazioni sulla Firefox per Android è il progetto stesso pagina Wiki del progetto.

Potete aiutarci a creare e migliorare Firefox per Android:

Sviluppare per il web mobile

Abbiamo iniziato a mettere insieme una guida per progettare siti web per dispositivi mobili.

Con Firefox per Android, hai accesso a un certo numero di API che espongono le funzionalità di base del dispositivo per colmare il divario tra il Web e le applicazioni native:

Per testare il vostro sito web su Firefox per Android, è possibile istallarlo su un dispositivo Android eseguirlo sul proprio desktop utilizzando l'emulatore di Android.

Costruire addon per mobile

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.

Firefox on Android has a unique application identifier which must be used in install.rdf. The identifier is {aa3c5121-dab2-40e2-81ca-7ea25febc110}

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.

Introduzione Veloce

  • 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.js file to learn about the internals. Much of the same fundamental functionality exists.
  • Services like nsIPromptService and nsIAlertsService are implemented to use native Android UI.
  • There is a simple JavaScript object, called NativeWindow, that allows you to manipulate parts of the native Android UI.

Informati e ricevi informazioni su Firefox per Android

Documentation and tutorials for using and troubleshooting Firefox for Android are available on the Mozilla Support website.

Revision Source

<p>Per molte persone i device mobili sono la fonte primaria, o anche l' unica, per l' accesso al We.</p>
<p><a class="link-https" href="https://www.mozilla.org/en-US/mobile/">Firefox for Android</a> (<span id="result_box" lang="it"><span>nome in codice</span> <span class="hps">Fennec</span></span>) è open, hackable, basata sugli standard web, <span id="result_box" lang="it"><span>come</span> <span class="hps">Firefox</span> <span class="hps">desktop</span></span>.</p>
<p><span id="result_box" lang="it"><span class="hps">Firefox per</span> <span class="hps">Android</span> basa&nbsp; <span class="hps">la sua interfaccia</span> <span class="hps">utente su quella nativa&nbsp; di</span> <span class="hps">Android</span> <span class="hps">widgets</span><span>, invece di</span> <span class="hps">XUL</span><span>:</span> <span class="hps">questo</span> <span class="hps">migliora</span> <span class="hps">notevolmente</span> <span class="hps">le prestazioni</span><span>,</span> <span class="hps">soprattutto</span> <span class="hps">in tempo</span> <span class="hps">di avvio</span><span>,</span> <span class="hps">e utilizzo della memoria</span><span>.</span> <span class="hps">Per il momento</span> <span class="hps">questa versione</span> <span class="hps">si rivolge</span> <span class="hps">solo a</span> <span class="hps">telefoni</span><span>,</span> <span class="hps">mentre la versione</span> <span class="hps">tablet</span> <span class="hps">utilizza ancora</span> <span class="hps">XUL</span><span>.</span> <span class="hps">In futuro</span><span>,</span> <span class="hps">si prevede di</span> <span class="hps">sostituire</span> <span class="hps">ufficialmente la</span> <span class="hps">versione dell' interfaccia utente nativa</span> anche <span class="hps">sui tablet</span><span class="hps">.</span></span></p>
<h2 id="Contribuire_a_Firefox_per_Android."><span class="short_text" id="result_box" lang="it"><span class="hps">Contribuire</span> <span class="hps">a Firefox</span> <span class="hps">per Android.</span></span></h2>
<p><span id="result_box" lang="it"><span class="hps">Il</span> <span class="hps">principale punto di partenza</span> <span class="hps">per informazioni sulla</span> <span class="hps">Firefox per</span> <span class="hps">Android</span> <span class="hps">è il</span> <span class="hps">progetto stesso</span></span> <a class="link-https" href="https://wiki.mozilla.org/Mobile">pagina Wiki del progetto</a>.</p>
<p><span id="result_box" lang="it"><span class="hps">Potete</span> <span class="hps">aiutarci a</span> <span class="hps">creare e migliorare</span> <span class="hps">Firefox per</span> <span class="hps">Android</span></span>:</p>
<ul>
  <li>aiutaci <a class="link-https" href="https://wiki.mozilla.org/Mobile/Testdrivers_Program">con il testing dell' applicazione</a>
    <ul>
      <li>testare i principali siti web per una maggiore compatibilità con gecko - guarda <a href="https://developer-new.mozilla.org/en-US/docs/Mozilla/Firefox_for_Android/Compatibility_Testing" title="https://developer-new.mozilla.org/en-US/docs/Mozilla/Firefox_for_Android/Compatibility_Testing">qui</a> per maggiori informazioni</li>
    </ul>
  </li>
  <li>contatta il tim tramite&nbsp; <a class="link-irc" href="irc://irc.mozilla.org/#mobile">IRC</a> o entrate nel nostro <a class="link-https" href="https://wiki.mozilla.org/Mobile/Notes">Wednesday development meeting</a></li>
  <li>rimani aggiornato sulle notizie del progetto <a class="external" href="http://planet.firefox.com/mobile/">planet firefox</a> e <a class="link-https" href="https://twitter.com/#!/mozmobile" title="https://twitter.com/#!/mozmobile">Twitter</a></li>
  <li><a href="https://wiki.mozilla.org/Mobile/Fennec/Android" title="https://wiki.mozilla.org/Mobile/Fennec/Android">build and hack on Firefox for Android</a> (Fennec)</li>
</ul>
<h2 id="Sviluppare_per_il_web_mobile">Sviluppare per il web mobile</h2>
<p><span class="short_text" id="result_box" lang="it"><span class="hps">Abbiamo</span> <span class="hps">iniziato a mettere</span> <span class="hps">insieme una guida</span> <span class="hps">per</span></span> <a href="/En/Mobile" title="En/Mobile">progettare siti web per dispositivi mobili</a>.</p>
<p><span id="result_box" lang="it"><span class="hps">Con Firefox</span> <span class="hps">per Android,</span> <span class="hps">hai</span> <span class="hps">accesso a un</span> <span class="hps">certo numero</span> <span class="hps">di API</span> <span class="hps">che espongono</span> <span class="hps">le funzionalità</span> <span class="hps">di base</span> <span class="hps">del dispositivo</span> per <span class="hps">colmare il divario tra</span> <span class="hps">il Web e</span> <span class="hps">le applicazioni native</span><span>:</span></span></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/">Batteria</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">Telefonia Web</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">Geolocalizzazione</a></li>
  <li><a href="/en/Detecting_device_orientation" title="https://developer.mozilla.org/en/detecting_device_orientation">Orientatamento</a></li>
</ul>
<p><span id="result_box" lang="it"><span class="hps">Per testare</span> <span class="hps">il vostro sito web</span> <span class="hps">su Firefox</span> <span class="hps">per Android,</span> <span class="hps">è possibile </span></span><a class="link-https" href="https://www.mozilla.org/en-US/mobile/">istallarlo su un dispositivo Android&nbsp;</a> o&nbsp; <a class="link-https" href="https://wiki.mozilla.org/Mobile/Fennec/Android/Emulator"><span id="result_box" lang="it"><span class="hps">eseguirlo sul proprio</span> <span class="hps">desktop utilizzando</span> <span class="hps">l'emulatore di</span> <span class="hps">Android</span></span></a>.</p>
<h2 id="Costruire_addon_per_mobile">Costruire addon per mobile</h2>
<p><a href="/en/Extensions/Mobile" title="en/Extensions/Firefox_on_Android">Firefox for Android supports add-ons</a> using the exact same <a href="/en/Extensions" title="en/Extensions">extension system</a> 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 <a href="/en/Building_an_Extension" title="en/Building_an_Extension">same process</a> that would be used for desktop Firefox. Add-ons that work with desktop Firefox <strong>do not</strong> automatically work in Firefox on Android. The user interfaces are just too different.</p>
<div class="note">
  Firefox on Android has a unique application identifier which must be used in <code>install.rdf</code>. The identifier is <code>{aa3c5121-dab2-40e2-81ca-7ea25febc110}</code></div>
<p>Both classic restart-required and newer <a href="/en/Extensions/Bootstrapped_extensions" title="en/Extensions/Bootstrapped_extensions">restartless</a> 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.</p>
<h3 id="Introduzione_Veloce"><span class="short_text" id="result_box" lang="it"><span class="hps">Introduzione Veloce</span></span></h3>
<ul>
  <li>There is no visible XUL in the UI, so using overlays to try to add or change UI is useless.</li>
  <li>Internal code and objects, like <code>gBrowser</code>, do not exist. Look at the Firefox on Android <a class="external" href="http://mxr.mozilla.org/mozilla-central/source/mobile/android/chrome/content/browser.js" title="http://mxr.mozilla.org/mozilla-central/source/mobile/android/chrome/content/browser.js"><code>browser.js</code></a> file to learn about the internals. Much of the same fundamental functionality exists.</li>
  <li>Services like <code>nsIPromptService</code> and <code>nsIAlertsService</code> are implemented to use native Android UI.</li>
  <li>There is a simple JavaScript object, called <a href="/en/Extensions/Mobile/API/NativeWindow" title="en/Extensions/Mobile/NativeWindow"><code>NativeWindow</code></a>, that allows you to manipulate parts of the native Android UI.</li>
</ul>
<h2 id="Informati_e_ricevi_informazioni_su_Firefox_per_Android">Informati e ricevi informazioni su Firefox per Android</h2>
<p>Documentation and tutorials for using and troubleshooting Firefox for Android are available on the <a class="external" href="http://support.mozilla.org/mobile" title="http://support.mozilla.org/mobile">Mozilla Support website</a>.</p>
Revert to this revision