SlideShare ist ein Scribd-Unternehmen logo
1 von 58
Web App
Development
Firefox OS
Nagy Gergő
Hungarian Firefox OS Engagement team
Dev Team Lead
gergo.istvan.nagy [at] mozilla [dot] hu
Nyári egyetem
2013.07.24-25.
The Fox has been launched!
- Firefox OS has been officially launched on
2nd July in Spain!
- ZTE Open handset
- Firefox OS has been officially launched on
12nd July in Poland!
- Alcatel One touch fire handset
Operating System
https://mdn.mozillademos.org/files/4605/FirefoxOS.png
Web Applications
+ Web APIs
Development
Application development steps
• edit html and css files to create UI
• implement application logic in javascript
• write manifest for the OS
• open your manifest in the simulator
Manifest files
appcache
open web app
appcache
cache.manifest
open web app
manifest.webapp
Let's write the application!
Hello world!
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Hello NYE13!</title>
</head>
<body>
<h1>Hello Nyári Egyetem 2013!</h1>
</body>
</html>
{
"version": "0.1",
"name": "HelloNYE",
"description": "Firefox OS Open Web App",
"launch_path": "/index.html",
"developer": {
"name": "Gergo Nagy"
},
"icons": {
"60" : "/image/icons/icon-60.png"
}
}
Security model
APIs
• for telephony
• for device handling
• for standard web development
Hosted
Privileged
Certified
App A App B
Cookie A,
IndexedDB A,
Localstorage A
Cookie B,
IndexedDB B,
Localstorage B
Sandboxes
iframes are back
iframe - SMS
iframe - keyboard
Firefox OS –
System iframe
App
App
download
install
get
App may communicate
with the same origin
App may communicate
with services
App
App
installinstall
download
app://identifier/path/withi
n/zipfile/file.html
The identifier is a uuid
generated at install
time.
What is the situation with the camera?
Is there any way to get a photo with my
application?
Application bus
MozActivities
Similar to Intents on Android
var activity = new MozActivity({
name: "pick",
data: {
type: "image/jpeg"
}
});
More about security and app lifcycle:
https://wiki.mozilla.org/Apps/Security
Testing
Testing opportunities:
• Use a real phone
• Use the simulator
The easiest way is the simulator:
• available as simple Firefox Add-on
• manifest file validation
• receipt testing
• remote debugging
• remote console
• push to device
Debug
Remote debugging
https://developer.mozilla.org/en-
US/docs/Tools/Debugger
adb logcat|grep GeckoConsole
What about the stylessheets?
Documentation
https://developer.mozilla.org/en-
US/docs/Web/Apps/FAQs
Marketplace
Publication methods
• Hosted apps
• Packaged apps
About payments check this on MDN:
https://developer.mozilla.org/en-
US/docs/Web/Apps/Publishing/Marketplace_
Payments
Announcements
Apply today!
Partner program for Hungarian
Firefox OS developers
http://itcafe.hu/hir/mozilla_firefox_os_partnerp
rogram.html
Apply today!
Telenor Firefox OS application dev
competition
http://itcafe.hu/hir/firefox_os_app_verseny.ht
ml
Join today!
Google+ group for
Hungarian DevHub
http://goo.gl/FdynYM
Thanks for watching!
Nagy Gergő
Hungarian Firefox OS Engagement team
Dev Team Lead
gergo.istvan.nagy [at] mozilla [dot] hu
Nyári egyetem
2013.07.24-25.
Links
https://github.com/mozilla/r2d2b2g
https://developer.mozilla.org/en-US/docs/WebAPI
https://developer.mozilla.org/en-US/docs/Web/Apps/App_permissions?redirectlocale=en-
US&redirectslug=Apps%2FApp_permissions
https://marketplace.firefox.com/developers/docs/quick_start
https://marketplace.firefox.com/
http://www.mozilla.org/en-US/styleguide/products/firefoxos/icons/
http://buildingfirefoxos.com/
https://air.mozilla.org/ui-testing-of-firefox-os/
http://itcafe.hu/hir/mozilla_firefox_os_kisokos.html
https://github.com/daf182/

Weitere ähnliche Inhalte

Was ist angesagt?

Was ist angesagt? (15)

Mozilla's opportunities and project - women tech talks
Mozilla's opportunities and project - women tech talks   Mozilla's opportunities and project - women tech talks
Mozilla's opportunities and project - women tech talks
 
Jasa install windows
Jasa install windowsJasa install windows
Jasa install windows
 
Microsoft Office 365
Microsoft Office 365Microsoft Office 365
Microsoft Office 365
 
.NET Core 3.0 + Windows 10 で WPF 開発
.NET Core 3.0 + Windows 10 で WPF 開発.NET Core 3.0 + Windows 10 で WPF 開発
.NET Core 3.0 + Windows 10 で WPF 開発
 
Martin Splitt "Progressive web apps with Polymer"
Martin Splitt "Progressive web apps with Polymer"Martin Splitt "Progressive web apps with Polymer"
Martin Splitt "Progressive web apps with Polymer"
 
Php On Windows
Php On WindowsPhp On Windows
Php On Windows
 
Episode 1 mozilla contribution
Episode 1 mozilla contributionEpisode 1 mozilla contribution
Episode 1 mozilla contribution
 
Windows Phone App Studio for Begineers @ Christ College Bangalore
Windows Phone App Studio for Begineers @ Christ College BangaloreWindows Phone App Studio for Begineers @ Christ College Bangalore
Windows Phone App Studio for Begineers @ Christ College Bangalore
 
Mobile Web Compatibility @ Code Camp Cluj
Mobile Web Compatibility @ Code Camp ClujMobile Web Compatibility @ Code Camp Cluj
Mobile Web Compatibility @ Code Camp Cluj
 
Building Facebook Apps with Popfly, Silverlight, and ASP.NET
Building Facebook Apps with Popfly, Silverlight, and ASP.NETBuilding Facebook Apps with Popfly, Silverlight, and ASP.NET
Building Facebook Apps with Popfly, Silverlight, and ASP.NET
 
20150423 Android Taipei : 祖克伯F8的奇幻之旅
20150423 Android Taipei : 祖克伯F8的奇幻之旅20150423 Android Taipei : 祖克伯F8的奇幻之旅
20150423 Android Taipei : 祖克伯F8的奇幻之旅
 
Phing
PhingPhing
Phing
 
How Can PHP Web Development Benefits to My Business?
How Can PHP Web Development Benefits to My Business?How Can PHP Web Development Benefits to My Business?
How Can PHP Web Development Benefits to My Business?
 
20160803 devrel
20160803 devrel20160803 devrel
20160803 devrel
 
Desenvolvimento de jogos para Windows Phone 8 com Mono Game
Desenvolvimento de jogos para Windows Phone 8 com Mono GameDesenvolvimento de jogos para Windows Phone 8 com Mono Game
Desenvolvimento de jogos para Windows Phone 8 com Mono Game
 

Andere mochten auch

[COSCUP 2013] Audio Competing
[COSCUP 2013] Audio Competing[COSCUP 2013] Audio Competing
[COSCUP 2013] Audio Competing
Alive Kuo
 

Andere mochten auch (7)

[COSCUP 2013] Audio Competing
[COSCUP 2013] Audio Competing[COSCUP 2013] Audio Competing
[COSCUP 2013] Audio Competing
 
[Coscup 2012] JavascriptMVC
[Coscup 2012] JavascriptMVC[Coscup 2012] JavascriptMVC
[Coscup 2012] JavascriptMVC
 
FXOS Window management 101
FXOS Window management 101FXOS Window management 101
FXOS Window management 101
 
JavascriptMVC: Another choice of web framework
JavascriptMVC: Another choice of web frameworkJavascriptMVC: Another choice of web framework
JavascriptMVC: Another choice of web framework
 
FirefoxOS Window Management
FirefoxOS Window ManagementFirefoxOS Window Management
FirefoxOS Window Management
 
Firefox OS Window management 201
Firefox OS Window management 201Firefox OS Window management 201
Firefox OS Window management 201
 
Study: The Future of VR, AR and Self-Driving Cars
Study: The Future of VR, AR and Self-Driving CarsStudy: The Future of VR, AR and Self-Driving Cars
Study: The Future of VR, AR and Self-Driving Cars
 

Ähnlich wie #FirefoxOS Web App development@CID Nyári Egyetem 2013

Adobe phonegap-workshop-2013
Adobe phonegap-workshop-2013Adobe phonegap-workshop-2013
Adobe phonegap-workshop-2013
Haig Armen
 
Firefox operating system
Firefox operating systemFirefox operating system
Firefox operating system
Nishant Mehare
 

Ähnlich wie #FirefoxOS Web App development@CID Nyári Egyetem 2013 (20)

Firefox OS App Development
Firefox OS App DevelopmentFirefox OS App Development
Firefox OS App Development
 
F irefox
F irefoxF irefox
F irefox
 
Apache Flex and the imperfect Web
Apache Flex and the imperfect WebApache Flex and the imperfect Web
Apache Flex and the imperfect Web
 
Adobe phonegap-workshop-2013
Adobe phonegap-workshop-2013Adobe phonegap-workshop-2013
Adobe phonegap-workshop-2013
 
Firefox OS
Firefox OSFirefox OS
Firefox OS
 
Firefox OS
Firefox OSFirefox OS
Firefox OS
 
Firefox smart phone os
Firefox smart phone osFirefox smart phone os
Firefox smart phone os
 
AN INTRODUCTION TO APACHE FLEX
AN INTRODUCTION TO APACHE FLEXAN INTRODUCTION TO APACHE FLEX
AN INTRODUCTION TO APACHE FLEX
 
Firefox OS - Hive Pilani 2015
Firefox OS - Hive Pilani 2015Firefox OS - Hive Pilani 2015
Firefox OS - Hive Pilani 2015
 
Firefox os
Firefox osFirefox os
Firefox os
 
Mobile Websites und (Web)-Apps mit jQuery Mobile
Mobile Websites und (Web)-Apps mit jQuery MobileMobile Websites und (Web)-Apps mit jQuery Mobile
Mobile Websites und (Web)-Apps mit jQuery Mobile
 
Firefox operating system
Firefox operating systemFirefox operating system
Firefox operating system
 
FirefoxOs App Development by Adam
FirefoxOs App Development by Adam FirefoxOs App Development by Adam
FirefoxOs App Development by Adam
 
What is Firefox OS
What is Firefox OSWhat is Firefox OS
What is Firefox OS
 
Adobe Flex
Adobe FlexAdobe Flex
Adobe Flex
 
Best Practices in Mobile Development: Building Your First jQuery Mobile App
Best Practices in Mobile Development: Building Your First jQuery Mobile AppBest Practices in Mobile Development: Building Your First jQuery Mobile App
Best Practices in Mobile Development: Building Your First jQuery Mobile App
 
Phonegap android angualr material design
Phonegap android angualr material designPhonegap android angualr material design
Phonegap android angualr material design
 
Ti.conf titanium on firefoxos
Ti.conf titanium on firefoxosTi.conf titanium on firefoxos
Ti.conf titanium on firefoxos
 
Html5 workshop part 1
Html5 workshop part 1Html5 workshop part 1
Html5 workshop part 1
 
Industry trend of HTML5 in 2012 (2012년 HTML5 총정리)
Industry trend of HTML5 in 2012 (2012년 HTML5 총정리)Industry trend of HTML5 in 2012 (2012년 HTML5 총정리)
Industry trend of HTML5 in 2012 (2012년 HTML5 총정리)
 

Mehr von daf182 (6)

Firefox OS 2014 update
Firefox OS 2014 updateFirefox OS 2014 update
Firefox OS 2014 update
 
firefox os szeged sfd 2013
firefox os szeged sfd 2013firefox os szeged sfd 2013
firefox os szeged sfd 2013
 
Firefox OS informatika pont neked Gamf
Firefox OS informatika pont neked GamfFirefox OS informatika pont neked Gamf
Firefox OS informatika pont neked Gamf
 
Firefox OS Szakmai Esti Mesek ELTE IK
Firefox OS Szakmai Esti Mesek ELTE IKFirefox OS Szakmai Esti Mesek ELTE IK
Firefox OS Szakmai Esti Mesek ELTE IK
 
FirefoxOS előadás - Fennec-hun-release-party-Budapest
FirefoxOS előadás - Fennec-hun-release-party-BudapestFirefoxOS előadás - Fennec-hun-release-party-Budapest
FirefoxOS előadás - Fennec-hun-release-party-Budapest
 
#FirefoxOS js-meetup
#FirefoxOS js-meetup#FirefoxOS js-meetup
#FirefoxOS js-meetup
 

Kürzlich hochgeladen

Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 

Kürzlich hochgeladen (20)

Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
 
Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 

#FirefoxOS Web App development@CID Nyári Egyetem 2013