SlideShare a Scribd company logo
Kickstarting
FireFox OS
App Development
A.Mohammed Adam
Activist in FSFTN
Contributor in Mozilla
Yes you can!
• You can start building Firefox os apps right now
if...
•You know HTML basics
•You know basics of JavaScript
•You have some idea with CSS
Contents
1. Intro
2. Organization
3.Tools you'll need
4. Hello,World
5.Tips & Tricks
1. Intro
• A brand new OS for smart phones
• User-interface & Apps are written with HTML,
CSS & JS
• We're interested in building apps which runs in
devices having FirefoxOS
It's already live!
2. Organization of FirefoxOS Apps
To develop any application, we worry
about two things...
(Next Slides Will Tell)
User Interface
Pages, Forms, Buttons, sliders...
& Controls!
Organization
While building FirefoxOS apps, we

Build user interface with HTML & CSS

& Javascript does the programming!
Philosophy

So, FirefoxOs apps are basically Web Apps!

And since HTML/CSS/JavaScripts are standards, these apps
run not only in FirefoxOs devices, but on any device that have
a browser!!! (Yes, on your Android too*)

Don't misunderstand web apps - they run offline, too!

* Some APIs don't work in all browsers.
Let's Start!
3. Tools

Any text editor (to write code)

Firefox browser 37.0+ (to see output!)
Optionally (highly recommended):

FirefoxOs Simulator

Firebug (for debugging)
Text Editor

Any text editor will work.We'll be making following types of
files:

HTML (.html)

JavaScript (.js)

CSS (.css)

You can use Sublime, Notepad++, Netbeans, Eclipse or
even the basic editor which comes with your OS.
Firefox Browser
To see the complete functionality of your app, we'll use
Firefox Browser - the desktop browser we all love.
We'll open the HTML files with our browser.
App Manager

App Manager comes built-in with Firefox37.0+.

App manager can be used to Install Firefox OS simulator or
to send apps to your device.
Simulator
Hello, World!
It's time for a "HelloWorld" app, right now!
Step 1: Create a directory
named hello

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 extention) in the hello directory.
See it in your browser
Open the index.html file with your Firefox Browser.You can
double-click or right-click then open with FirefoxBrowser.
Output
TIPS
But...doesn't look like a mobile app!
Because, we've not taken care of screen size & others.
To test mobile screens with various sizes, press Control +
Shift + M in your Firefox!
Pressing ctrl + shft + M gives a
mobile app look-&-feel!
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.
Create manifest.webapp file in
project directory
We create manifest.webapp file (note the .webapp
extention) in hello directory:
Install app in the simulator!
1. Open App Manager by typing about:app-manager in the
address bar of browser
2. click Start Simulator > Firefox OS 1.4 from the bottom
bar
3. Click Add Packaged App & select the folder which contains
manifest.webapp file you just created.
4. Click update
Bingo! Go to the simulator & fine our app installed.
App in Firefox OS Simulator
We've added a Batman Icon
Too!
More Fun: Add some scripts
We will add a text input box and a button in our simple app.
When user clicks button, an alert box with the text in the input
field will be shown.
Change the index.html file
to add the input elements
Create a file named hello.js
inside your project directory
Open Simulator and click
Update
Congratulations!
You have created your first
FirefoxOs app!
Tips &Tricks
Do we need to use the
Simulator?
Not really.You can test your app using the Firefox Browser. I
can test all the functionalities almost, using the browser &
mobile view.
So each time you update your app you can test by just
refreshing the browser.
Using Frameworks

To give your app a mobile application like look and feel, you can
use many frameworks.

jQuery Mobile is a cool framework, which turns your HTML
stuffs into cool mobile app!

Also handle mobile input events like tap, tap-&-hold, swipe
etc!

Building an app in 6 minutes using jQuery Mobile - you
won't regret this!

Also shows usage of drag & drop interface to build UI!
Responsive Frameworks
Instead of building a framework from scratch, using a framework
that support responsive design would be good idea.
Jquery Mobile is responsive!
Many other responsive frameworks exist, of course.
Building Blocks
Check out Building Blocks to easily apply native look & feel and
UI elements, transitions etc.
Many works are done already for your app!
Publishing your app
Once you've completed your app, you need to upload it in a
server, and share the link.
Firefox Marketplace
You can submit your app in the Firefox Marketplace for more
publicity!
Mozilla Developer Network (MDN)
MDN Will be your one-stop center for docs.You may also check
out:

HTML5

JavaScript

CSS Docs
For Demos: Apps Showdown
Need inspiration?
See some cool apps in action in the Demo Studio.
You may also try the Marketplace from Simulator.
FirefoxOs App Development by Adam

More Related Content

What's hot

DeveloperWeek2018 - Let's Build a Chatbot
DeveloperWeek2018 - Let's Build a ChatbotDeveloperWeek2018 - Let's Build a Chatbot
DeveloperWeek2018 - Let's Build a Chatbot
Tessa Mero
 
Staff training
Staff trainingStaff training
Staff training
studentpress
 
Introduction to Adobe Brackets
Introduction to Adobe BracketsIntroduction to Adobe Brackets
Introduction to Adobe Brackets
Mihai Corlan
 
Windows phone apps
Windows phone appsWindows phone apps
Windows phone apps
Romario Koushik
 
Chatbots
ChatbotsChatbots
Chatbots
Tessa Mero
 
Skip the IDE with PhoneGap Build
Skip the IDE with PhoneGap BuildSkip the IDE with PhoneGap Build
Skip the IDE with PhoneGap Build
Terry Ryan
 
How to place a webapp icon on ios homescreen
How to place a webapp icon on ios homescreen How to place a webapp icon on ios homescreen
How to place a webapp icon on ios homescreen
Thomas Hein
 
How to add your power point
How to add your power pointHow to add your power point
How to add your power pointAlex Fitzgerald
 
Students
StudentsStudents
Students07Deeps
 
eTwinning New Twinspace - How To Add Web Content Page
eTwinning New Twinspace - How To Add Web Content PageeTwinning New Twinspace - How To Add Web Content Page
eTwinning New Twinspace - How To Add Web Content PageOwain Wright
 
Embedding a Video to your Netvibes Dashboard
Embedding a Video to your Netvibes DashboardEmbedding a Video to your Netvibes Dashboard
Embedding a Video to your Netvibes Dashboard
Catherine Hainstock
 
Posting Presentations to Ning
Posting Presentations to NingPosting Presentations to Ning
Posting Presentations to NingOnline
 
EasiShare AWS Setup Guide
EasiShare AWS Setup GuideEasiShare AWS Setup Guide
EasiShare AWS Setup Guide
Inspire-Tech Inc
 
Evaluation question 6
Evaluation question 6Evaluation question 6
Evaluation question 6
seftonmedia
 
Saving postscript file from Computer to Plate (CTP) in Pre-Press Department
Saving postscript file from Computer to Plate (CTP) in Pre-Press Department Saving postscript file from Computer to Plate (CTP) in Pre-Press Department
Saving postscript file from Computer to Plate (CTP) in Pre-Press Department
Jumar "Henson - "Turn idea to reality""
 
Whats New In Visual Studio 2010
Whats New In Visual Studio 2010Whats New In Visual Studio 2010
Whats New In Visual Studio 2010
Daniel Egan
 
Google Drive: How to edit or view documents in offline mode
Google Drive: How to edit or view documents in offline modeGoogle Drive: How to edit or view documents in offline mode
Google Drive: How to edit or view documents in offline mode
Protect and Access
 
Filling Your Design Toolkit: Premium Assets on a Shoestring Budget
Filling Your Design Toolkit: Premium Assets on a Shoestring BudgetFilling Your Design Toolkit: Premium Assets on a Shoestring Budget
Filling Your Design Toolkit: Premium Assets on a Shoestring Budget
Mike Taylor
 
Adobe and Modern Web Development
Adobe and Modern Web DevelopmentAdobe and Modern Web Development
Adobe and Modern Web Development
Terry Ryan
 

What's hot (20)

DeveloperWeek2018 - Let's Build a Chatbot
DeveloperWeek2018 - Let's Build a ChatbotDeveloperWeek2018 - Let's Build a Chatbot
DeveloperWeek2018 - Let's Build a Chatbot
 
Staff training
Staff trainingStaff training
Staff training
 
Introduction to Adobe Brackets
Introduction to Adobe BracketsIntroduction to Adobe Brackets
Introduction to Adobe Brackets
 
Windows phone apps
Windows phone appsWindows phone apps
Windows phone apps
 
Chatbots
ChatbotsChatbots
Chatbots
 
Icon in iphone itouch
Icon in iphone itouchIcon in iphone itouch
Icon in iphone itouch
 
Skip the IDE with PhoneGap Build
Skip the IDE with PhoneGap BuildSkip the IDE with PhoneGap Build
Skip the IDE with PhoneGap Build
 
How to place a webapp icon on ios homescreen
How to place a webapp icon on ios homescreen How to place a webapp icon on ios homescreen
How to place a webapp icon on ios homescreen
 
How to add your power point
How to add your power pointHow to add your power point
How to add your power point
 
Students
StudentsStudents
Students
 
eTwinning New Twinspace - How To Add Web Content Page
eTwinning New Twinspace - How To Add Web Content PageeTwinning New Twinspace - How To Add Web Content Page
eTwinning New Twinspace - How To Add Web Content Page
 
Embedding a Video to your Netvibes Dashboard
Embedding a Video to your Netvibes DashboardEmbedding a Video to your Netvibes Dashboard
Embedding a Video to your Netvibes Dashboard
 
Posting Presentations to Ning
Posting Presentations to NingPosting Presentations to Ning
Posting Presentations to Ning
 
EasiShare AWS Setup Guide
EasiShare AWS Setup GuideEasiShare AWS Setup Guide
EasiShare AWS Setup Guide
 
Evaluation question 6
Evaluation question 6Evaluation question 6
Evaluation question 6
 
Saving postscript file from Computer to Plate (CTP) in Pre-Press Department
Saving postscript file from Computer to Plate (CTP) in Pre-Press Department Saving postscript file from Computer to Plate (CTP) in Pre-Press Department
Saving postscript file from Computer to Plate (CTP) in Pre-Press Department
 
Whats New In Visual Studio 2010
Whats New In Visual Studio 2010Whats New In Visual Studio 2010
Whats New In Visual Studio 2010
 
Google Drive: How to edit or view documents in offline mode
Google Drive: How to edit or view documents in offline modeGoogle Drive: How to edit or view documents in offline mode
Google Drive: How to edit or view documents in offline mode
 
Filling Your Design Toolkit: Premium Assets on a Shoestring Budget
Filling Your Design Toolkit: Premium Assets on a Shoestring BudgetFilling Your Design Toolkit: Premium Assets on a Shoestring Budget
Filling Your Design Toolkit: Premium Assets on a Shoestring Budget
 
Adobe and Modern Web Development
Adobe and Modern Web DevelopmentAdobe and Modern Web Development
Adobe and Modern Web Development
 

Viewers also liked

New Framework for Improving Bigdata Analaysis Using Mobile Agent
New Framework for Improving Bigdata Analaysis Using Mobile AgentNew Framework for Improving Bigdata Analaysis Using Mobile Agent
New Framework for Improving Bigdata Analaysis Using Mobile Agent
Mohammed Adam
 
Internet Surveillance
Internet Surveillance Internet Surveillance
Internet Surveillance
Mohammed Adam
 
Basic commands of linux By Adam
Basic commands of linux By Adam Basic commands of linux By Adam
Basic commands of linux By Adam
Mohammed Adam
 
Mozilla Tamil Localization
Mozilla Tamil LocalizationMozilla Tamil Localization
Mozilla Tamil Localization
Mohammed Adam
 
Blogging ( How to Create a Blog)
Blogging ( How to Create a Blog)Blogging ( How to Create a Blog)
Blogging ( How to Create a Blog)
Mohammed Adam
 
FSA recognition System
FSA recognition System FSA recognition System
FSA recognition System
Mohammed Adam
 
Cloudcomputing By Adam
Cloudcomputing By Adam Cloudcomputing By Adam
Cloudcomputing By Adam
Mohammed Adam
 
Linux distro and its features by adam
Linux distro and its features by adamLinux distro and its features by adam
Linux distro and its features by adam
Mohammed Adam
 
Creation of Own Cloud
Creation of Own Cloud Creation of Own Cloud
Creation of Own Cloud
Mohammed Adam
 

Viewers also liked (9)

New Framework for Improving Bigdata Analaysis Using Mobile Agent
New Framework for Improving Bigdata Analaysis Using Mobile AgentNew Framework for Improving Bigdata Analaysis Using Mobile Agent
New Framework for Improving Bigdata Analaysis Using Mobile Agent
 
Internet Surveillance
Internet Surveillance Internet Surveillance
Internet Surveillance
 
Basic commands of linux By Adam
Basic commands of linux By Adam Basic commands of linux By Adam
Basic commands of linux By Adam
 
Mozilla Tamil Localization
Mozilla Tamil LocalizationMozilla Tamil Localization
Mozilla Tamil Localization
 
Blogging ( How to Create a Blog)
Blogging ( How to Create a Blog)Blogging ( How to Create a Blog)
Blogging ( How to Create a Blog)
 
FSA recognition System
FSA recognition System FSA recognition System
FSA recognition System
 
Cloudcomputing By Adam
Cloudcomputing By Adam Cloudcomputing By Adam
Cloudcomputing By Adam
 
Linux distro and its features by adam
Linux distro and its features by adamLinux distro and its features by adam
Linux distro and its features by adam
 
Creation of Own Cloud
Creation of Own Cloud Creation of Own Cloud
Creation of Own Cloud
 

Similar to FirefoxOs App Development by Adam

Apps development for Firefox OS & introduction to WebAPIs
Apps development for Firefox OS & introduction to WebAPIsApps development for Firefox OS & introduction to WebAPIs
Apps development for Firefox OS & introduction to WebAPIs
Rashik Ishrak Nahian
 
wexarts.org iPhone Project: Developer Documentation
wexarts.org iPhone Project: Developer Documentationwexarts.org iPhone Project: Developer Documentation
wexarts.org iPhone Project: Developer Documentationtutorialsruby
 
<img src="../i/r_14.png" />
<img src="../i/r_14.png" /><img src="../i/r_14.png" />
<img src="../i/r_14.png" />tutorialsruby
 
iPhone application development training day 1
iPhone application development training day 1iPhone application development training day 1
iPhone application development training day 1Shyamala Prayaga
 
Adobe phonegap-workshop-2013
Adobe phonegap-workshop-2013Adobe phonegap-workshop-2013
Adobe phonegap-workshop-2013Haig Armen
 
Starting mobile development
Starting mobile developmentStarting mobile development
Starting mobile development
Mihai Corlan
 
Firebase crashlytics integration in iOS swift (dSYM File Required Problem Res...
Firebase crashlytics integration in iOS swift (dSYM File Required Problem Res...Firebase crashlytics integration in iOS swift (dSYM File Required Problem Res...
Firebase crashlytics integration in iOS swift (dSYM File Required Problem Res...
InnovationM
 
Ios - Introduction to swift programming
Ios - Introduction to swift programmingIos - Introduction to swift programming
Ios - Introduction to swift programming
Vibrant Technologies & Computers
 
Life cycle of iPhone application
Life cycle of iPhone applicationLife cycle of iPhone application
Life cycle of iPhone applicationSiva Prasad K V
 
Life Cycle of an iPhone App
Life Cycle of an iPhone AppLife Cycle of an iPhone App
Life Cycle of an iPhone App
John McKerrell
 
Step-by-Step Guide to Developing a Successful iOS App.pdf
Step-by-Step Guide to Developing a Successful iOS App.pdfStep-by-Step Guide to Developing a Successful iOS App.pdf
Step-by-Step Guide to Developing a Successful iOS App.pdf
Bytes Technolab Inc.
 
Hybrid mobile app
Hybrid mobile appHybrid mobile app
Hybrid mobile app
Palani Kumar
 
Best iOS Application Development Tools.pdf
Best iOS Application Development Tools.pdfBest iOS Application Development Tools.pdf
Best iOS Application Development Tools.pdf
FuGenx Technologies
 
Step-by-Step Guide to Developing a Successful iOS App.docx
Step-by-Step Guide to Developing a Successful iOS App.docxStep-by-Step Guide to Developing a Successful iOS App.docx
Step-by-Step Guide to Developing a Successful iOS App.docx
Bytes Technolab Inc.
 
Firefox OS Application Development
Firefox OS Application DevelopmentFirefox OS Application Development
Firefox OS Application Development
Anam Ahmed
 
Mobile App Development Tools For Building Apps
Mobile App Development Tools For Building AppsMobile App Development Tools For Building Apps
Mobile App Development Tools For Building Apps
XongoLab Technologies LLP
 
Web browser extensions development
Web browser extensions developmentWeb browser extensions development
Web browser extensions development
dragoslargu
 
Progressive Web Application by Citytech
Progressive Web Application by CitytechProgressive Web Application by Citytech
Progressive Web Application by Citytech
Ritwik Das
 
Top mobile app development frameworks to consider in 2021
Top mobile app development frameworks to consider in 2021Top mobile app development frameworks to consider in 2021
Top mobile app development frameworks to consider in 2021
Katy Slemon
 

Similar to FirefoxOs App Development by Adam (20)

Apps development for Firefox OS & introduction to WebAPIs
Apps development for Firefox OS & introduction to WebAPIsApps development for Firefox OS & introduction to WebAPIs
Apps development for Firefox OS & introduction to WebAPIs
 
wexarts.org iPhone Project: Developer Documentation
wexarts.org iPhone Project: Developer Documentationwexarts.org iPhone Project: Developer Documentation
wexarts.org iPhone Project: Developer Documentation
 
<img src="../i/r_14.png" />
<img src="../i/r_14.png" /><img src="../i/r_14.png" />
<img src="../i/r_14.png" />
 
iPhone application development training day 1
iPhone application development training day 1iPhone application development training day 1
iPhone application development training day 1
 
Adobe phonegap-workshop-2013
Adobe phonegap-workshop-2013Adobe phonegap-workshop-2013
Adobe phonegap-workshop-2013
 
Starting mobile development
Starting mobile developmentStarting mobile development
Starting mobile development
 
Firebase crashlytics integration in iOS swift (dSYM File Required Problem Res...
Firebase crashlytics integration in iOS swift (dSYM File Required Problem Res...Firebase crashlytics integration in iOS swift (dSYM File Required Problem Res...
Firebase crashlytics integration in iOS swift (dSYM File Required Problem Res...
 
Ios - Introduction to swift programming
Ios - Introduction to swift programmingIos - Introduction to swift programming
Ios - Introduction to swift programming
 
Life cycle of iPhone application
Life cycle of iPhone applicationLife cycle of iPhone application
Life cycle of iPhone application
 
Life Cycle of an iPhone App
Life Cycle of an iPhone AppLife Cycle of an iPhone App
Life Cycle of an iPhone App
 
Step-by-Step Guide to Developing a Successful iOS App.pdf
Step-by-Step Guide to Developing a Successful iOS App.pdfStep-by-Step Guide to Developing a Successful iOS App.pdf
Step-by-Step Guide to Developing a Successful iOS App.pdf
 
Hybrid Mobile App
Hybrid Mobile AppHybrid Mobile App
Hybrid Mobile App
 
Hybrid mobile app
Hybrid mobile appHybrid mobile app
Hybrid mobile app
 
Best iOS Application Development Tools.pdf
Best iOS Application Development Tools.pdfBest iOS Application Development Tools.pdf
Best iOS Application Development Tools.pdf
 
Step-by-Step Guide to Developing a Successful iOS App.docx
Step-by-Step Guide to Developing a Successful iOS App.docxStep-by-Step Guide to Developing a Successful iOS App.docx
Step-by-Step Guide to Developing a Successful iOS App.docx
 
Firefox OS Application Development
Firefox OS Application DevelopmentFirefox OS Application Development
Firefox OS Application Development
 
Mobile App Development Tools For Building Apps
Mobile App Development Tools For Building AppsMobile App Development Tools For Building Apps
Mobile App Development Tools For Building Apps
 
Web browser extensions development
Web browser extensions developmentWeb browser extensions development
Web browser extensions development
 
Progressive Web Application by Citytech
Progressive Web Application by CitytechProgressive Web Application by Citytech
Progressive Web Application by Citytech
 
Top mobile app development frameworks to consider in 2021
Top mobile app development frameworks to consider in 2021Top mobile app development frameworks to consider in 2021
Top mobile app development frameworks to consider in 2021
 

More from Mohammed Adam

Android Penetration Testing - Day 3
Android Penetration Testing - Day 3Android Penetration Testing - Day 3
Android Penetration Testing - Day 3
Mohammed Adam
 
Android Penetration testing - Day 2
 Android Penetration testing - Day 2 Android Penetration testing - Day 2
Android Penetration testing - Day 2
Mohammed Adam
 
Android Penetration Testing - Day 1
Android Penetration Testing - Day 1Android Penetration Testing - Day 1
Android Penetration Testing - Day 1
Mohammed Adam
 
Wireless Penetration Testing
Wireless Penetration TestingWireless Penetration Testing
Wireless Penetration Testing
Mohammed Adam
 
Network Penetration Testing
Network Penetration TestingNetwork Penetration Testing
Network Penetration Testing
Mohammed Adam
 
Basic Foundation For Cybersecurity
Basic Foundation For CybersecurityBasic Foundation For Cybersecurity
Basic Foundation For Cybersecurity
Mohammed Adam
 
Golden Ticket Attack - AD - Domain Persistence
Golden Ticket Attack - AD - Domain PersistenceGolden Ticket Attack - AD - Domain Persistence
Golden Ticket Attack - AD - Domain Persistence
Mohammed Adam
 
Evading Antivirus software for fun and profit
Evading Antivirus software for fun and profitEvading Antivirus software for fun and profit
Evading Antivirus software for fun and profit
Mohammed Adam
 
Introduction to Network Fundamentals
Introduction to Network FundamentalsIntroduction to Network Fundamentals
Introduction to Network Fundamentals
Mohammed Adam
 
Breaking out of crypto authentication
Breaking out of crypto authenticationBreaking out of crypto authentication
Breaking out of crypto authentication
Mohammed Adam
 
Cybersecurity Awareness Session by Adam
Cybersecurity Awareness Session by AdamCybersecurity Awareness Session by Adam
Cybersecurity Awareness Session by Adam
Mohammed Adam
 
Career Guidance on Cybersecurity by Mohammed Adam
Career Guidance on Cybersecurity by Mohammed AdamCareer Guidance on Cybersecurity by Mohammed Adam
Career Guidance on Cybersecurity by Mohammed Adam
Mohammed Adam
 
Introduction to null villupuram community
Introduction to null villupuram communityIntroduction to null villupuram community
Introduction to null villupuram community
Mohammed Adam
 
Internet security
Internet securityInternet security
Internet security
Mohammed Adam
 
BugBounty Roadmap with Mohammed Adam
BugBounty Roadmap with Mohammed AdamBugBounty Roadmap with Mohammed Adam
BugBounty Roadmap with Mohammed Adam
Mohammed Adam
 
Webinar On Ethical Hacking & Cybersecurity - Day2
Webinar On Ethical Hacking & Cybersecurity - Day2Webinar On Ethical Hacking & Cybersecurity - Day2
Webinar On Ethical Hacking & Cybersecurity - Day2
Mohammed Adam
 
OSINT - Open Soure Intelligence - Webinar on CyberSecurity
OSINT - Open Soure Intelligence - Webinar on CyberSecurityOSINT - Open Soure Intelligence - Webinar on CyberSecurity
OSINT - Open Soure Intelligence - Webinar on CyberSecurity
Mohammed Adam
 
Android Application Penetration Testing - Mohammed Adam
Android Application Penetration Testing - Mohammed AdamAndroid Application Penetration Testing - Mohammed Adam
Android Application Penetration Testing - Mohammed Adam
Mohammed Adam
 
Vulnerability assessment & Penetration testing Basics
Vulnerability assessment & Penetration testing Basics Vulnerability assessment & Penetration testing Basics
Vulnerability assessment & Penetration testing Basics
Mohammed Adam
 
What is SSL ? The Secure Sockets Layer (SSL) Protocol
What is SSL ? The Secure Sockets Layer (SSL) ProtocolWhat is SSL ? The Secure Sockets Layer (SSL) Protocol
What is SSL ? The Secure Sockets Layer (SSL) Protocol
Mohammed Adam
 

More from Mohammed Adam (20)

Android Penetration Testing - Day 3
Android Penetration Testing - Day 3Android Penetration Testing - Day 3
Android Penetration Testing - Day 3
 
Android Penetration testing - Day 2
 Android Penetration testing - Day 2 Android Penetration testing - Day 2
Android Penetration testing - Day 2
 
Android Penetration Testing - Day 1
Android Penetration Testing - Day 1Android Penetration Testing - Day 1
Android Penetration Testing - Day 1
 
Wireless Penetration Testing
Wireless Penetration TestingWireless Penetration Testing
Wireless Penetration Testing
 
Network Penetration Testing
Network Penetration TestingNetwork Penetration Testing
Network Penetration Testing
 
Basic Foundation For Cybersecurity
Basic Foundation For CybersecurityBasic Foundation For Cybersecurity
Basic Foundation For Cybersecurity
 
Golden Ticket Attack - AD - Domain Persistence
Golden Ticket Attack - AD - Domain PersistenceGolden Ticket Attack - AD - Domain Persistence
Golden Ticket Attack - AD - Domain Persistence
 
Evading Antivirus software for fun and profit
Evading Antivirus software for fun and profitEvading Antivirus software for fun and profit
Evading Antivirus software for fun and profit
 
Introduction to Network Fundamentals
Introduction to Network FundamentalsIntroduction to Network Fundamentals
Introduction to Network Fundamentals
 
Breaking out of crypto authentication
Breaking out of crypto authenticationBreaking out of crypto authentication
Breaking out of crypto authentication
 
Cybersecurity Awareness Session by Adam
Cybersecurity Awareness Session by AdamCybersecurity Awareness Session by Adam
Cybersecurity Awareness Session by Adam
 
Career Guidance on Cybersecurity by Mohammed Adam
Career Guidance on Cybersecurity by Mohammed AdamCareer Guidance on Cybersecurity by Mohammed Adam
Career Guidance on Cybersecurity by Mohammed Adam
 
Introduction to null villupuram community
Introduction to null villupuram communityIntroduction to null villupuram community
Introduction to null villupuram community
 
Internet security
Internet securityInternet security
Internet security
 
BugBounty Roadmap with Mohammed Adam
BugBounty Roadmap with Mohammed AdamBugBounty Roadmap with Mohammed Adam
BugBounty Roadmap with Mohammed Adam
 
Webinar On Ethical Hacking & Cybersecurity - Day2
Webinar On Ethical Hacking & Cybersecurity - Day2Webinar On Ethical Hacking & Cybersecurity - Day2
Webinar On Ethical Hacking & Cybersecurity - Day2
 
OSINT - Open Soure Intelligence - Webinar on CyberSecurity
OSINT - Open Soure Intelligence - Webinar on CyberSecurityOSINT - Open Soure Intelligence - Webinar on CyberSecurity
OSINT - Open Soure Intelligence - Webinar on CyberSecurity
 
Android Application Penetration Testing - Mohammed Adam
Android Application Penetration Testing - Mohammed AdamAndroid Application Penetration Testing - Mohammed Adam
Android Application Penetration Testing - Mohammed Adam
 
Vulnerability assessment & Penetration testing Basics
Vulnerability assessment & Penetration testing Basics Vulnerability assessment & Penetration testing Basics
Vulnerability assessment & Penetration testing Basics
 
What is SSL ? The Secure Sockets Layer (SSL) Protocol
What is SSL ? The Secure Sockets Layer (SSL) ProtocolWhat is SSL ? The Secure Sockets Layer (SSL) Protocol
What is SSL ? The Secure Sockets Layer (SSL) Protocol
 

Recently uploaded

Essentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with ParametersEssentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with Parameters
Safe Software
 
The Future of Platform Engineering
The Future of Platform EngineeringThe Future of Platform Engineering
The Future of Platform Engineering
Jemma Hussein Allen
 
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdfFIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance
 
Accelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish CachingAccelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish Caching
Thijs Feryn
 
GraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge GraphGraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge Graph
Guy Korland
 
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdfSmart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
91mobiles
 
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
Sri Ambati
 
Mission to Decommission: Importance of Decommissioning Products to Increase E...
Mission to Decommission: Importance of Decommissioning Products to Increase E...Mission to Decommission: Importance of Decommissioning Products to Increase E...
Mission to Decommission: Importance of Decommissioning Products to Increase E...
Product School
 
UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4
DianaGray10
 
PCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase TeamPCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase Team
ControlCase
 
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Albert Hoitingh
 
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdfFIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance
 
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdfFIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance
 
Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........
Alison B. Lowndes
 
Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...
Product School
 
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
Product School
 
Neuro-symbolic is not enough, we need neuro-*semantic*
Neuro-symbolic is not enough, we need neuro-*semantic*Neuro-symbolic is not enough, we need neuro-*semantic*
Neuro-symbolic is not enough, we need neuro-*semantic*
Frank van Harmelen
 
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdfFIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance
 
Leading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdfLeading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdf
OnBoard
 
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Jeffrey Haguewood
 

Recently uploaded (20)

Essentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with ParametersEssentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with Parameters
 
The Future of Platform Engineering
The Future of Platform EngineeringThe Future of Platform Engineering
The Future of Platform Engineering
 
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdfFIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
 
Accelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish CachingAccelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish Caching
 
GraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge GraphGraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge Graph
 
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdfSmart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
 
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
 
Mission to Decommission: Importance of Decommissioning Products to Increase E...
Mission to Decommission: Importance of Decommissioning Products to Increase E...Mission to Decommission: Importance of Decommissioning Products to Increase E...
Mission to Decommission: Importance of Decommissioning Products to Increase E...
 
UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4
 
PCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase TeamPCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase Team
 
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
 
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdfFIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
 
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdfFIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
 
Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........
 
Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...
 
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
 
Neuro-symbolic is not enough, we need neuro-*semantic*
Neuro-symbolic is not enough, we need neuro-*semantic*Neuro-symbolic is not enough, we need neuro-*semantic*
Neuro-symbolic is not enough, we need neuro-*semantic*
 
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdfFIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
 
Leading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdfLeading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdf
 
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
 

FirefoxOs App Development by Adam

  • 1. Kickstarting FireFox OS App Development A.Mohammed Adam Activist in FSFTN Contributor in Mozilla
  • 2.
  • 3. Yes you can! • You can start building Firefox os apps right now if... •You know HTML basics •You know basics of JavaScript •You have some idea with CSS
  • 4. Contents 1. Intro 2. Organization 3.Tools you'll need 4. Hello,World 5.Tips & Tricks
  • 5. 1. Intro • A brand new OS for smart phones • User-interface & Apps are written with HTML, CSS & JS • We're interested in building apps which runs in devices having FirefoxOS
  • 7. 2. Organization of FirefoxOS Apps To develop any application, we worry about two things... (Next Slides Will Tell)
  • 8. User Interface Pages, Forms, Buttons, sliders...
  • 10. Organization While building FirefoxOS apps, we  Build user interface with HTML & CSS  & Javascript does the programming!
  • 11. Philosophy  So, FirefoxOs apps are basically Web Apps!  And since HTML/CSS/JavaScripts are standards, these apps run not only in FirefoxOs devices, but on any device that have a browser!!! (Yes, on your Android too*)  Don't misunderstand web apps - they run offline, too!  * Some APIs don't work in all browsers.
  • 13. 3. Tools  Any text editor (to write code)  Firefox browser 37.0+ (to see output!) Optionally (highly recommended):  FirefoxOs Simulator  Firebug (for debugging)
  • 14. Text Editor  Any text editor will work.We'll be making following types of files:  HTML (.html)  JavaScript (.js)  CSS (.css)  You can use Sublime, Notepad++, Netbeans, Eclipse or even the basic editor which comes with your OS.
  • 15. Firefox Browser To see the complete functionality of your app, we'll use Firefox Browser - the desktop browser we all love. We'll open the HTML files with our browser.
  • 16. App Manager  App Manager comes built-in with Firefox37.0+.  App manager can be used to Install Firefox OS simulator or to send apps to your device.
  • 18. Hello, World! It's time for a "HelloWorld" app, right now!
  • 19. Step 1: Create a directory named hello  Create a directory named hello anywhere in your computer.  This will be the base directory - we put all files of our app here.
  • 20. 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 extention) in the hello directory.
  • 21. See it in your browser Open the index.html file with your Firefox Browser.You can double-click or right-click then open with FirefoxBrowser.
  • 23. TIPS But...doesn't look like a mobile app! Because, we've not taken care of screen size & others. To test mobile screens with various sizes, press Control + Shift + M in your Firefox!
  • 24. Pressing ctrl + shft + M gives a mobile app look-&-feel!
  • 25. 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.
  • 26. Create manifest.webapp file in project directory We create manifest.webapp file (note the .webapp extention) in hello directory:
  • 27. Install app in the simulator! 1. Open App Manager by typing about:app-manager in the address bar of browser 2. click Start Simulator > Firefox OS 1.4 from the bottom bar 3. Click Add Packaged App & select the folder which contains manifest.webapp file you just created. 4. Click update Bingo! Go to the simulator & fine our app installed.
  • 28. App in Firefox OS Simulator
  • 29. We've added a Batman Icon Too!
  • 30. More Fun: Add some scripts We will add a text input box and a button in our simple app. When user clicks button, an alert box with the text in the input field will be shown.
  • 31. Change the index.html file to add the input elements
  • 32. Create a file named hello.js inside your project directory
  • 33. Open Simulator and click Update
  • 34. Congratulations! You have created your first FirefoxOs app!
  • 36. Do we need to use the Simulator? Not really.You can test your app using the Firefox Browser. I can test all the functionalities almost, using the browser & mobile view. So each time you update your app you can test by just refreshing the browser.
  • 37. Using Frameworks  To give your app a mobile application like look and feel, you can use many frameworks.  jQuery Mobile is a cool framework, which turns your HTML stuffs into cool mobile app!  Also handle mobile input events like tap, tap-&-hold, swipe etc!  Building an app in 6 minutes using jQuery Mobile - you won't regret this!  Also shows usage of drag & drop interface to build UI!
  • 38. Responsive Frameworks Instead of building a framework from scratch, using a framework that support responsive design would be good idea. Jquery Mobile is responsive! Many other responsive frameworks exist, of course.
  • 39. Building Blocks Check out Building Blocks to easily apply native look & feel and UI elements, transitions etc. Many works are done already for your app!
  • 40. Publishing your app Once you've completed your app, you need to upload it in a server, and share the link. Firefox Marketplace You can submit your app in the Firefox Marketplace for more publicity!
  • 41. Mozilla Developer Network (MDN) MDN Will be your one-stop center for docs.You may also check out:  HTML5  JavaScript  CSS Docs
  • 42. For Demos: Apps Showdown Need inspiration? See some cool apps in action in the Demo Studio. You may also try the Marketplace from Simulator.