1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
---
title: Firefox para Android
slug: Mozilla/Firefox_para_Android
tags:
- Android
- Fennec
- Firefox
- Mobile
translation_of: Mozilla/Firefox_for_Android
---
<p>Para mais e mais pessoas, os <span id="result_box" lang="pt"><span class="hps">dispositivos móveis</span> <span class="hps">são a principal forma</span><span>,</span> <span class="hps">ou mesmo</span> <span class="hps">a única maneira</span><span>,</span> <span class="hps">para</span> <span class="hps">acessar a web.</span> </span><a class="link-https" href="https://www.mozilla.org/en-US/mobile/"> Firefox para Android </a><span id="result_box" lang="pt"><span class="alt-edited">(codinome Fennec) é um navegador aberta, hackeável, baseada em padrões</span></span>, tal como a versão Firefox para desktop.</p>
<p>Firefox para Android <span id="result_box" lang="pt"><span class="alt-edited">constrói a sua interface do usuario a parti de widgets nativos do Android em vez da XUL: isso melhora muito o desempenho, especialmente o tempo de incialização, e o consumo de memória.</span></span></p>
<h2 id="Contribuindo_com_o_Firefox_para_Android">Contribuindo com o Firefox para Android</h2>
<p><span id="result_box" lang="pt"><span class="hps">O principal</span> <span class="hps">ponto de partida</span> <span class="hps">para obter informações sobre</span> <span class="hps">o projeto Firefox para Android em si</span></span> é a <a class="link-https" href="https://wiki.mozilla.org/Mobile/Get_Involved">página "<span id="result_box" lang="pt"><span>Envolva-se</span></span>"</a>.</p>
<p><span id="result_box" lang="pt"><span class="hps">Você pode</span> <span class="hps">ajudar a criar</span> <span class="hps">e melhorar</span> o <span class="hps">Firefox</span> <span class="hps">para</span> <span class="hps">Android:</span> </span></p>
<ul>
<li>Ajude-nos com o <a href="https://developer.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">teste de compatibilidade</a></li>
<li>Inscreva-se para a <a href="https://mail.mozilla.org/listinfo/mobile-firefox-dev">lista de discursão mobile-firefox-dev</a></li>
<li><span id="result_box" lang="pt"><span class="hps alt-edited">Contate a equipe</span> </span>através do <a class="link-irc" href="irc://irc.mozilla.org/#mobile">IRC</a></li>
<li><span id="result_box" lang="pt"><span class="hps">Junte-se</span> <span class="hps">a nossa</span> </span><a class="link-https" href="https://wiki.mozilla.org/Mobile/Notes">reunião de desenvolvimento de Quarta-feira</a></li>
<li><span id="result_box" lang="pt"><span class="hps">Mantenha-se atualizado</span> <span class="hps">com as notícias</span> <span class="hps">do projeto no</span></span> <a class="external" href="http://planet.firefox.com/mobile/">Planet Firefox Mobile</a>, <a href="http://fennecnightly.tumblr.com/">Tumblr</a> e <a class="link-https" href="https://twitter.com/FennecNightly" 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">Construa e hackei o Firefox para Android</a> (Fennec)</li>
</ul>
<h2 id="Desenvolver_para_a_web_movel">Desenvolver para a web movel</h2>
<p>Nós começamos a montar um guia para a <a href="/En/Mobile" title="En/Mobile">criação de websites para dispositivos móveis</a>.</p>
<p><span id="result_box" lang="pt"><span class="hps">Com o Firefox</span> <span class="hps">para</span> <span class="hps">Android</span><span>, você tem</span> <span class="hps">acesso</span> a <span class="hps">uma série de</span> <span class="hps">APIs</span> <span class="hps">que expõem</span> <span id="result_box" lang="pt"><span class="hps alt-edited">as capacidades</span> <span class="hps">ocultas do</span> <span class="hps">dispositivo,</span></span><span> diminuíndo a distância</span><span class="hps"> entre a</span> <span class="hps">Web</span> <span class="hps">e</span> <span class="hps">aplicações nativas</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/">Bateria</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">WebTelefonia</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">Geolocalização</a></li>
<li><a href="/en/Detecting_device_orientation" title="https://developer.mozilla.org/en/detecting_device_orientation">Orientação</a></li>
<li><a href="/en/WebAPI/Web_Activities" title="Web Activities">Web Activities</a></li>
</ul>
<p><span id="result_box" lang="pt"><span class="hps">Para testar</span> <span class="hps">seu site</span> <span class="hps">no Firefox</span> <span class="hps">para</span> <span class="hps">Android</span></span>, você pode <a class="link-https" href="https://www.mozilla.org/en-US/mobile/">instalá-lo em um dispositivo Android</a> ou <a class="link-https" href="https://wiki.mozilla.org/Mobile/Fennec/Android/Emulator">executá-lo no seu desktop usando o Emulador Android</a>.</p>
<h2 id="Constua_complementos_móveis">Constua <span class="short_text" id="result_box" lang="pt"><span class="hps alt-edited">complementos </span></span>móveis</h2>
<p><a href="/en/Extensions/Mobile" title="en/Extensions/Firefox_on_Android">Firefox para Android suporta complementos</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="Descrição_rápida"><span class="short_text" id="result_box" lang="pt"><span class="hps">Descrição rápida</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="Obtenha_ajuda_para_o_Firefox_para_Android"><span class="short_text" id="result_box" lang="pt"><span class="hps">Obtenha ajuda</span> <span class="hps alt-edited">para o Firefox</span> <span class="hps">para</span> <span class="hps">Android</span></span></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>
|