Where can I get a Firefox OS phone?
Fireweb the new LG mobile phone with Firefox OS.
Operating System: Firefox OS v1.1
Display: 4 (480 x 320)
Camera: 5 MP with flash
Internal memory: 2GB
Battery: 1,540 mAh\
Connections: Bluetooth, Wi-Fi, 3G
Weight: 122.50 g
Movie demonstration on Youtube: http://www.youtube.com/watch?v=t_7sTP7IRn4 .
First Time Firefox OS – Hello World
-Firefox OS Simulator
Below, all steps necessary to install the emulator of OS will be presented.
2. Through the Firefox, access the following link.
https://addons.mozilla.org/en-US/firefox/addon/firefox-os-simulator
3. This will bring up the following Add-On page as shown below:
4. Click on the green Add to Firefox button. This will start downloading the Firefox OS Simulator add-on as shown. It might take a while on slow connections, so be patient. A downloading progress window will be presented, as depicted below.
What is Firefox OS?
Hello World Firefox OS
To build an application for the Firefox OS at least four files are needed: 1 HTML file, 1 CSS file, 1 JavaScript file and a manifest.webapp file.
For this first example, lets keep things simple. We want to simply display a Hello World at the top of a picture, that just opens a message when clicked.
HTML (index.html)
- <!doctype html>
- <html>
- <head>
- <meta charset=“UTF-8”>
- <title>Hello World Firefox OS</title>
- </head>
- <body>
- <article class=“content”>
- <h1>HELLO WORLD Firefox OS</h1>
- <img id=“picture” width=“100%” src=“imagem.png” alt=“Click me”>
- </article>
- <script src=“script.js”></script>
- </body>
- </html>
Javascript (script.js)
- ( function() {
- var $picture = document.getElementById(‘picture’);
- $picture.onclick = function() {
- alert(‘http://infptavares.blogspot.pt’)
- };
- })();
Manifest (manifest.webapp)
- {
- “version”: “1.0”,
- “name”: “Hello World”,
- “launch_path”: “index.html”,
- “description”: “Hello World”,
- “icons”: {
- “16”: “/icons/16.png”,
- “22”: “/icons/22.png”,
- “32”: “/icons/32.png”,
- “48”: “/icons/48.png”,
- “64”: “/icons/64.png”,
- “128”: “/icons/128.png”
- },
- “developer”: {
- “name”: “Pedro Tavares”,
- “url”: “http://infptavares.blogspot.pt”
- },
- “installs_allowed_from”: [“*”],
- “default_locale”: “en”
- }
-Add the application into simulator
Pedro Tavares is a professional in the field of information security working as an Ethical Hacker/Pentester, Malware Researcher and also a Security Evangelist. He is also a founding member at CSIRT.UBI and Editor-in-Chief of the security computer blog seguranca-informatica.pt.
In recent years he has invested in the field of information security, exploring and analyzing a wide range of topics, such as pentesting (Kali Linux), malware, exploitation, hacking, IoT and security in Active Directory networks. He is also Freelance Writer (Infosec. Resources Institute and Cyber Defense Magazine) and developer of the 0xSI_f33d – a feed that compiles phishing and malware campaigns targeting Portuguese citizens.
Read more here.