aboutsummaryrefslogtreecommitdiff
path: root/files/pt-pt/mozilla/firefox_for_android/index.html
blob: 12be7a39c20a66ce74a6662839363260717c3fc3 (plain)
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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
---
title: Firefox para Android
slug: Mozilla/Firefox_for_Android
tags:
  - Firefox
  - Mobile
translation_of: Mozilla/Firefox_for_Android
---
<p>Para cada vez mais pessoas, os dispositivos móveis são o meio principal, ou até o único meio, para aceder à Internet.<a class="link-https" href="https://www.mozilla.org/en-US/mobile/"> Firefox para Android</a> (nome de código Fennec) é um navegador aberto, personalizável, baseado em padrões, tal como a versão Firefox para pc.</p>

<p>Firefox para Android cria a sua interface gráfica a partir de widgets nativos do Android em vez de XUL: isto aumenta de forma significativa o seu desempenho, especialmente o tempo de arranque, e o consumo de memória.</p>

<h2 id="Contribuir_para_o_Firefox_para_Android">Contribuir para o Firefox para Android</h2>

<p>O ponto de partida para informação acertca do projecto Firefox para Android é a <a class="link-https" href="https://wiki.mozilla.org/Mobile">página Wiki do projecto</a>.</p>

<p>Podes ajudar a criar e melhorar Firefox para Android:</p>

<ul>
 <li>Ajude-nos com <a href="https://developer.mozilla.org/en-US/docs/Mozilla/Firefox_for_Android/Compatibility_Testing">testes de compatibilidade</a></li>
 <li>Subscreva a newsletter <a href="https://mail.mozilla.org/listinfo/mobile-firefox-dev">mobile-firefox-dev</a></li>
 <li>Contacte a nossa equipa atrvés do <a href="irc://irc.mozilla.org/#mobile">IRC</a></li>
 <li>Junte-se no nosso <a href="https://wiki.mozilla.org/Mobile/Notes">Encontro de Desenvolvimente da Quarta-Feira</a></li>
 <li>Mantenha-se atualizado com notícias do projeto em <a href="http://planet.firefox.com/mobile/">Planeta Firefox Móvel</a>, <a href="http://fennecnightly.tumblr.com/">Tumblr</a> e <a href="https://twitter.com/FennecNightly">Twitter</a></li>
 <li><a href="https://wiki.mozilla.org/Mobile/Fennec/Android">Desenvolva e personalize no Firefox para Android</a> (Fennec)</li>
</ul>

<h2 id="Programar_para_a_Web_móvel">Programar para a Web móvel</h2>

<p>Nós começamos a criar um guia para <a href="/En/Mobile" title="En/Mobile">desenhar sites da Web para os dispositivos móveis</a>.</p>

<p>Com Firefox para Android, pode aceder a um numero of APIs que expoem as capacidades subjacentes do dispositivo, diminuíndo a distância entre a Web e as aplicações nativas:</p>

<ul>
 <li><a href="/pt-PT/docs/Web/API/API_do_Estado_da_Bateria"><u>Bateria</u></a></li>
 <li><u><a href="/pt-PT/docs/Archive/B2G_OS/API/Camera_API" title="Using the Camera API">Câmara</a></u></li>
 <li><u><a href="/en/API/WebTelephony/Introduction_to_WebTelephony" title="Introduction to WebTelephony">WebTelephony</a></u></li>
 <li><u><a href="/en/API/WebSMS/Introduction_to_WebSMS" title="Introduction to WebSMS">WebSMS</a></u></li>
 <li><u><a href="/pt-PT/docs/Web/API/Geolocation/Utilizacao_da_geolocalizacao" title="Using geolocation">Geoloca</a><a href="/pt-PT/docs/Web/API/Geolocation/Utilizacao_da_geolocalizacao" title="Using geolocation">lização</a></u></li>
 <li><a href="/pt-PT/docs/Web/API/Detetar_orientacao_dispositivo"><u>Orientação</u></a></li>
 <li><a href="https://developer.mozilla.org/en/WebAPI/Web_Activities">Atividades Web</a></li>
</ul>

<p>Para testar o seu site da Web no Firefox para Android, pode instalar o Firefox para Android no seu dispositivo móvel ou pode executá-lo no seu computador utilizando o <a class="link-https" href="https://wiki.mozilla.org/Mobile/Fennec/Android/Emulator">Emulador Android.</a>.</p>

<h2 id="Desenvolver_extras_para_dispositivos_móveis">Desenvolver extras para dispositivos móveis</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">O Firefox no Android tem um identificador de aplicação único que deve ser utilizado em <code>install.rdf</code>. O identificador é <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="Resumo_Rápido">Resumo Rápido</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="Obter_ajuda_com_o_Firefox_para_Android">Obter ajuda com o Firefox para Android</h2>

<p>A documentação e tutoriais para utilizar e a resolução de problemas do Firefox para Android estão disponíveis no <a class="external" href="https://support.mozilla.org/pt-PT/products/mobile" title="http://support.mozilla.org/mobile">site da Web de Apoio da Mozilla</a>.</p>

<h2 id="Install_Firefox_for_Android">Install Firefox for Android</h2>

<p>If you don't already have Firefox installed on your Android device, you can do so at the <a href="https://www.mozilla.org/en-US/firefox/android/">Google Play store</a>. See the SUMO article <a href="https://support.mozilla.org/en-US/kb/install-firefox-android-device-using-google-play">Install Firefox on an Android device using Google Play</a> for detailed instructions.</p>

<h3 id="Alternate_installs">Alternate installs</h3>

<p>There are some unofficial builds and specialized installations for devices which don't officially support Firefox for Android. Here are some helpful links for these (keep in mind they are <strong>not supported by Mozilla</strong> and <strong>you are using them at your own risk!</strong>).</p>

<ul>
 <li><a href="https://support.mozilla.org/en-US/kb/installing-firefox-android-amazon-kindle-fire">Installing Firefox for Android on Amazon Kindle Fire</a></li>
</ul>