Mobile/AddonsTrainingWeek/SpeakerNotesB: Difference between revisions

no edit summary
No edit summary
 
Line 1: Line 1:
==Links Mentioned in Presentation==
==User Interface Considerations==
presentation published [https://docs.google.com/present/view?id=amkjrkbt96p_73cc23j6pw here]


* Shareaholic [http://mixergy.com/shareaholic-jay-meattle-interview/].
* UI is very different. Read about the [https://wiki.mozilla.org/Mobile/Fennec/Extensions/UserInterface mobile UI guidelines].
** Shareaholic is an award winning service that allows you to quickly share, bookmark, and e-mail web pages via a very wide array of your favorite web 2.0 social networking & bookmarking sites.
** You will not be able to assume the desktop XUL overlays will "just work".
** Dialogs and Preferences are handled very differently.
** Screen size becomes very important and a limiting factor. Work on your [https://wiki.mozilla.org/Mobile/Fennec/Extensions/Layout layout].
** Maintaining "touch-friendly" widgets is critical.
** Simplify everything.
* Guidelines
** Minimize your UI
** Delay initialization
** Blend into the application
** Support touch and panning
** Support portrait and landscape
** Read the [https://wiki.mozilla.org/Mobile/Fennec/Extensions/BestPractices best practices] document for more pointers.
 
==Common How-tos==
presentation published [https://docs.google.com/present/view?id=amkjrkbt96p_72ccbktcgp here]
 
* Different XUL structure
** No TabBrowser
** No main menu - [https://wiki.mozilla.org/Mobile/Fennec/Extensions/UserInterface/Site_Menu Site Menu] provides some space for commands
** [https://wiki.mozilla.org/Mobile/Fennec/Extensions/UserInterface/Context_Menu Context Menu] uses an extensible, but restrictive design
* [https://wiki.mozilla.org/Mobile/Fennec/Extensions/Electrolysis Multi-process]
** No direct DOM access
** No DOM event bubbling
** Move DOM sensitive into frame scripts
** Learn how to use IPC messaging
canmove, Confirmed users, Bureaucrats and Sysops emeriti
2,798

edits