SlideShare a Scribd company logo
Apps Development
for Firefox OS &
Introduction to Web
APIs
Rashik Ishrak Nahian
rashik@nahian.me
WHAT IS
FIREFOX
OS ?
Firefox OS is actually
Firefox Browser .
That works as the
system for
smartphones. What
you feel & what you
is pure web
Architecture
Apps development for Firefox OS & introduction to WebAPIs
How to develop apps for Firefox OS ?
if( HTML && CSS && JS)
{
start building Firefox OS Apps
}
else
{
you need to start learning those three items
above
}
So, your application is actually
a webpage?
Yes it is!
Webpage with access to your phone's
Hardware on demand.
Will it run only in internet ??
NO!!! It will run offline too. It will run
in Android too..
What do we need to start?
1. Any text editor
2. Firefox browser
3. Firefox OS Simulator Add On
4. WebIDE
To develop any application,
we worry about two things...
User Interface
& Controls!
Logic
programming,
loops, working
with data etc...
While building FirefoxOS apps, We
Build user interface with HTML &
CSS
& Javascript does the
programming!
Apps development for Firefox OS & introduction to WebAPIs
Step 1: Create a directory
 Create a directory named hello
anywhere in your computer.
 This will be the base directory - we
put all files of our app here.
Step 2: Create file named
index.html
Create a file index.html (it
doesn't need to be index.html,
it could be any name with .html
extension) in the hello
directory.
Apps development for Firefox OS & introduction to WebAPIs
One more
step to turn
this into an
app!
Step 3: Create Manifest file
All Firefox OS apps need a manifest file .The manifest file tells
the app's name, description, permissions it requires and some other
basic settings.
Manifest file can have any name, but it should have .webapp
extension.
Should be kept in the application root directory.
A simple JSON File . JSON== JavaScript Object Notation
Apps development for Firefox OS & introduction to WebAPIs
Step 3: icon.png
Apps development for Firefox OS & introduction to WebAPIs
How to run/test? I don't have
device!
Run your app in Firefox OS
Simulator
Open the WebIDE from:
Click Open Menu > Developer
>WebIDE
•Click on Open App > Open Packaged App > Select the app
directory
•Click Select Run time> Choose the simulator you want to
run
•The simulator will start
•Press PLAY Button to start
your app
Add some Style
More Fun: Add some scripts
You have created your first FirefoxOs app!
What We need in Apps
But, what JavaScript usually...
Apps development for Firefox OS & introduction to WebAPIs
There are JavaScript APIs!
•For making phone calls
•For sending SMS
•For reading sensors
•For manipulating files
•For ....
API
Application Programming Interface
Screen Orientation
Device Orientation
Device Storage API
Geolocation
Enables your app to request the user's
current location and listen for location
changes.
Ambient Light Sensor API
Provides access to the ambient light
sensor, which lets your app detect the
ambient light level in the vicinity of the
device.
Battery Status API
Provides information about the battery's charge
level and whether or not the device is currently
plugged in and charging.
Pointer Lock API
Lets apps lock access to the mouse and gain
access to movement deltas rather than absolute
coordinates; this is great for gaming.
Apps development for Firefox OS & introduction to WebAPIs

More Related Content

PPT
08 10-2013 gtu projects - develop final sem gtu project in i phone
PDF
Apple's Latest Toys for Developers 2016
PPTX
StackLabs-DataDriven Labs - iPhone App Development Training in Mohali
PPTX
Firefox OS Intro, Inside OUT
PDF
Pdx Se Intro To Se
PPTX
Online i os
PPTX
Mobile Application testing- All you want to know to get started!!
PDF
iTunes App Store Submission Process
08 10-2013 gtu projects - develop final sem gtu project in i phone
Apple's Latest Toys for Developers 2016
StackLabs-DataDriven Labs - iPhone App Development Training in Mohali
Firefox OS Intro, Inside OUT
Pdx Se Intro To Se
Online i os
Mobile Application testing- All you want to know to get started!!
iTunes App Store Submission Process

What's hot (20)

PDF
Automated UI Testing Frameworks
PPTX
I os application with android background
PPT
Beta testing guidelines for developer
PPTX
Deeper into Windows 10 Development
PDF
HSc Information Technology Practical List
PPTX
Android technology by Sunada
PPTX
Cooking assistant
PPTX
Role of java in android app development
PDF
EasiShare AWS Setup Guide
PPTX
Android Overview
PPT
Using Selenium to Test Native Apps (Wait, you can do that?)
PPTX
Code Camp - Presentation - Windows 10 - (Cortana)
PDF
iPhone University Developer Program
PDF
Testing Native iOS Apps with Appium
PPTX
Getting Started with Mobile Test Automation & Appium
PPTX
Mobile automation testing with selenium and appium
PDF
Appium@Work at PAYBACK
PDF
Appium basics
PPTX
My ITSS Project Presentation
PPT
Would You Consider Internet Explorer for Your Website Design?
Automated UI Testing Frameworks
I os application with android background
Beta testing guidelines for developer
Deeper into Windows 10 Development
HSc Information Technology Practical List
Android technology by Sunada
Cooking assistant
Role of java in android app development
EasiShare AWS Setup Guide
Android Overview
Using Selenium to Test Native Apps (Wait, you can do that?)
Code Camp - Presentation - Windows 10 - (Cortana)
iPhone University Developer Program
Testing Native iOS Apps with Appium
Getting Started with Mobile Test Automation & Appium
Mobile automation testing with selenium and appium
Appium@Work at PAYBACK
Appium basics
My ITSS Project Presentation
Would You Consider Internet Explorer for Your Website Design?
Ad

Similar to Apps development for Firefox OS & introduction to WebAPIs (20)

PPT
FirefoxOs App Development by Adam
ODP
Firefox OS Application Development
PPT
Ios - Introduction to swift programming
PPTX
Hybrid mobile app
PPTX
Hybrid Mobile App
PDF
Webapi
PDF
<img src="../i/r_14.png" />
PDF
wexarts.org iPhone Project: Developer Documentation
KEY
Life Cycle of an iPhone App
PDF
Appium - Reality check on the world’s leading Open Source Framework for Mobil...
PDF
Roy15
PDF
Presen4 1
PDF
Roy15
PDF
Roy15
PDF
Roy15
PDF
Fixing the mobile web - Internet World Romania
PDF
The future is hybrid
PDF
iOS Application Development Step by Step to develop an iOS App.pdf
PPTX
FirefoxOS app making for beginners
KEY
Life cycle of iPhone application
FirefoxOs App Development by Adam
Firefox OS Application Development
Ios - Introduction to swift programming
Hybrid mobile app
Hybrid Mobile App
Webapi
<img src="../i/r_14.png" />
wexarts.org iPhone Project: Developer Documentation
Life Cycle of an iPhone App
Appium - Reality check on the world’s leading Open Source Framework for Mobil...
Roy15
Presen4 1
Roy15
Roy15
Roy15
Fixing the mobile web - Internet World Romania
The future is hybrid
iOS Application Development Step by Step to develop an iOS App.pdf
FirefoxOS app making for beginners
Life cycle of iPhone application
Ad

More from Rashik Ishrak Nahian (6)

PPTX
NASA Space Apps Challange Bangladesh
PPTX
Dijkstra's Algorithm
PPTX
Get involved with mozilla [CMD]
PPTX
Get involved with Mozilla
PPTX
FSA Slide Template
NASA Space Apps Challange Bangladesh
Dijkstra's Algorithm
Get involved with mozilla [CMD]
Get involved with Mozilla
FSA Slide Template

Recently uploaded (20)

PPTX
Introduction to Artificial Intelligence
PDF
Wondershare Filmora 15 Crack With Activation Key [2025
PPTX
VVF-Customer-Presentation2025-Ver1.9.pptx
PDF
Adobe Premiere Pro 2025 (v24.5.0.057) Crack free
PDF
wealthsignaloriginal-com-DS-text-... (1).pdf
PDF
Design an Analysis of Algorithms II-SECS-1021-03
PDF
Adobe Illustrator 28.6 Crack My Vision of Vector Design
PDF
Audit Checklist Design Aligning with ISO, IATF, and Industry Standards — Omne...
PPTX
ai tools demonstartion for schools and inter college
PDF
Claude Code: Everyone is a 10x Developer - A Comprehensive AI-Powered CLI Tool
PPTX
Transform Your Business with a Software ERP System
PPTX
CHAPTER 2 - PM Management and IT Context
PDF
Why TechBuilder is the Future of Pickup and Delivery App Development (1).pdf
PDF
How Creative Agencies Leverage Project Management Software.pdf
PDF
Which alternative to Crystal Reports is best for small or large businesses.pdf
PDF
Design an Analysis of Algorithms I-SECS-1021-03
PPTX
Operating system designcfffgfgggggggvggggggggg
PPTX
Reimagine Home Health with the Power of Agentic AI​
PDF
Upgrade and Innovation Strategies for SAP ERP Customers
PDF
System and Network Administraation Chapter 3
Introduction to Artificial Intelligence
Wondershare Filmora 15 Crack With Activation Key [2025
VVF-Customer-Presentation2025-Ver1.9.pptx
Adobe Premiere Pro 2025 (v24.5.0.057) Crack free
wealthsignaloriginal-com-DS-text-... (1).pdf
Design an Analysis of Algorithms II-SECS-1021-03
Adobe Illustrator 28.6 Crack My Vision of Vector Design
Audit Checklist Design Aligning with ISO, IATF, and Industry Standards — Omne...
ai tools demonstartion for schools and inter college
Claude Code: Everyone is a 10x Developer - A Comprehensive AI-Powered CLI Tool
Transform Your Business with a Software ERP System
CHAPTER 2 - PM Management and IT Context
Why TechBuilder is the Future of Pickup and Delivery App Development (1).pdf
How Creative Agencies Leverage Project Management Software.pdf
Which alternative to Crystal Reports is best for small or large businesses.pdf
Design an Analysis of Algorithms I-SECS-1021-03
Operating system designcfffgfgggggggvggggggggg
Reimagine Home Health with the Power of Agentic AI​
Upgrade and Innovation Strategies for SAP ERP Customers
System and Network Administraation Chapter 3

Apps development for Firefox OS & introduction to WebAPIs

Editor's Notes

  • #3: Probably you already know about Firefox OS, note that it's not Firefox the browser... it's a brand new OS for mobile platforms
  • #8: Probably you already know about Firefox OS, note that it's not Firefox the browser... it's a brand new OS for mobile platforms
  • #9: Probably you already know about Firefox OS, note that it's not Firefox the browser... it's a brand new OS for mobile platforms
  • #10: Probably you already know about Firefox OS, note that it's not Firefox the browser... it's a brand new OS for mobile platforms
  • #11: Probably you already know about Firefox OS, note that it's not Firefox the browser... it's a brand new OS for mobile platforms
  • #14: Probably you already know about Firefox OS, note that it's not Firefox the browser... it's a brand new OS for mobile platforms