SlideShare a Scribd company logo
1 of 21
Download to read offline
Mobile Firefox Add-ons

   Small Screen, Big Ideas


           Brian King
    LinuxTag, 12.6.2010, Berlin
Picture by djwudi on Flickr
Platforms


* Maemo / Nokia N900

* Android

Questions about other platforms? See:

https://wiki.mozilla.org/Mobile/Platforms
Firefox Mobile 1.1

  Form assistant improvements, including autocomplete
  Auto update add-ons
  Portrait support on N900
  Context Menu with Open Link in New Tab and Save Image
  Manage site preferences (clearing passwords and others)
  Improved Site Menu
  Save page to PDF
Firefox Mobile 2.0

  Multitouch
  Firefox Sync
  Sharing
  Session Restore
  Electrolysis
  Out-of-process Plugins
  Video optimization
  UI Transitons/Animations
FOCU
  S
Picture by Nukeador
The Good Parts

It's just the same stack you find in Firefox
     XUL
     CSS
     JS
     XPCOM

Nice guidelines help you make you add-on blend-in
   sometimes it's easier to *not* be able to make choices
Mobile Add-ons

 Same process as building desktop Firefox add-ons
   overlays & manifests
   JavaScript & XUL

 Different application structure
     UI is very different
     Very sensitive to slow code
     Desktop != Mobile

 More constraints but also new possibilities
   Performance, screen size, keyboard, user's attention
   Orientation, GPS, camera, permanence, ...
No Phone Needed!

... to get started. However, *required* for QA.

Desktop builds of Fennec are available:
   Major releases
   Nightlies
   Build your own
A Maemo virtual image for developing and running Maemo
applications
Step Back

If you are porting an existing add-on, ask yourself:

   Does your add-on make sense in the mobile context?
   Performance, performance, performance
   How much does the UI need to change?

Dream up new ideas!
Picture by Madhava Enros on Flickr
NOT
MUCH
SPAC
UI Tips

Firefox Mobile has several ways to help make a touch-friendly
UI:

   Make simple lists using <richlistbox>
   Use the existing CSS classes
   Use .show-on-select behaviors to expand/collapse items in
   lists
   Use the right button CSS classes
   Don't make overly complicated preferences
   Choose good defaults so users don't have to think
Performance

It's easy to slow things down.

   Use async operations whenever possible
   File I/O and XHR fetches will be slow
   Initialization code can hurt startup time
   Post-pageload code can hurt UX
Services and Sync

Firefox Sync (formerly Weave deployed as an add-on).

Will eventually be "built-in".

Look for more add-ons built around services.


                   https://services.mozilla.com/
DEMO
TIME!
Jetpack on Mobile

The original Jetpack prototype had a rough port to Fennec.

The new SDK will be built in to Firefox and many of the APIs
should work out-of-the-box. Designed to be application
agnostic.

Follow the bug:
https://bugzilla.mozilla.org/show_bug.cgi?id=534900

More on Jetpack:
https://jetpack.mozillalabs.com/
Resources

 Firefox Mobile: http://www.mozilla.com/mobile/
 UI Guidelines: https://wiki.mozilla.
 org/Mobile/Fennec/Extensions/UserInterface
 Wiki: http://wiki.mozilla.org/Mobile
 Mozilla Developer Center for Mobile: https://developer.
 mozilla.org/En/Mobile
 Mobile listing on Mozilla Add-ons: https://addons.mozilla.
 org/en-US/mobile/

 Contact the Mozilla Mobile team
   #mobile on Mozilla IRC
   mozilla.dev.platforms.mobile on news.mozilla.org
Thanks!

              Get in touch

              @brianking

          www.briks.si/kontakt

More Related Content

Recently uploaded

Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
giselly40
 

Recently uploaded (20)

[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
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...
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
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...
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
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
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 

Featured

How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
ThinkNow
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
Kurio // The Social Media Age(ncy)
 

Featured (20)

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 

Firefox Mobile Add-ons - LinuxTag 2010

  • 1. Mobile Firefox Add-ons Small Screen, Big Ideas Brian King LinuxTag, 12.6.2010, Berlin
  • 2. Picture by djwudi on Flickr
  • 3. Platforms * Maemo / Nokia N900 * Android Questions about other platforms? See: https://wiki.mozilla.org/Mobile/Platforms
  • 4. Firefox Mobile 1.1 Form assistant improvements, including autocomplete Auto update add-ons Portrait support on N900 Context Menu with Open Link in New Tab and Save Image Manage site preferences (clearing passwords and others) Improved Site Menu Save page to PDF
  • 5. Firefox Mobile 2.0 Multitouch Firefox Sync Sharing Session Restore Electrolysis Out-of-process Plugins Video optimization UI Transitons/Animations
  • 8. The Good Parts It's just the same stack you find in Firefox XUL CSS JS XPCOM Nice guidelines help you make you add-on blend-in sometimes it's easier to *not* be able to make choices
  • 9. Mobile Add-ons Same process as building desktop Firefox add-ons overlays & manifests JavaScript & XUL Different application structure UI is very different Very sensitive to slow code Desktop != Mobile More constraints but also new possibilities Performance, screen size, keyboard, user's attention Orientation, GPS, camera, permanence, ...
  • 10. No Phone Needed! ... to get started. However, *required* for QA. Desktop builds of Fennec are available: Major releases Nightlies Build your own A Maemo virtual image for developing and running Maemo applications
  • 11. Step Back If you are porting an existing add-on, ask yourself: Does your add-on make sense in the mobile context? Performance, performance, performance How much does the UI need to change? Dream up new ideas!
  • 12. Picture by Madhava Enros on Flickr
  • 14. UI Tips Firefox Mobile has several ways to help make a touch-friendly UI: Make simple lists using <richlistbox> Use the existing CSS classes Use .show-on-select behaviors to expand/collapse items in lists Use the right button CSS classes Don't make overly complicated preferences Choose good defaults so users don't have to think
  • 15. Performance It's easy to slow things down. Use async operations whenever possible File I/O and XHR fetches will be slow Initialization code can hurt startup time Post-pageload code can hurt UX
  • 16.
  • 17. Services and Sync Firefox Sync (formerly Weave deployed as an add-on). Will eventually be "built-in". Look for more add-ons built around services. https://services.mozilla.com/
  • 19. Jetpack on Mobile The original Jetpack prototype had a rough port to Fennec. The new SDK will be built in to Firefox and many of the APIs should work out-of-the-box. Designed to be application agnostic. Follow the bug: https://bugzilla.mozilla.org/show_bug.cgi?id=534900 More on Jetpack: https://jetpack.mozillalabs.com/
  • 20. Resources Firefox Mobile: http://www.mozilla.com/mobile/ UI Guidelines: https://wiki.mozilla. org/Mobile/Fennec/Extensions/UserInterface Wiki: http://wiki.mozilla.org/Mobile Mozilla Developer Center for Mobile: https://developer. mozilla.org/En/Mobile Mobile listing on Mozilla Add-ons: https://addons.mozilla. org/en-US/mobile/ Contact the Mozilla Mobile team #mobile on Mozilla IRC mozilla.dev.platforms.mobile on news.mozilla.org
  • 21. Thanks! Get in touch @brianking www.briks.si/kontakt