Mobile/Archive/Contextual Actions

From MozillaWiki
Jump to: navigation, search

Summary

Firefox Mobile could integrate with the phones applications so that one could initiate a phone call from the browser or add an appointment - even if the data is not in a microformat. This function would be especially useful since it eliminates memory load and switching between applications for pretty common tasks.

Performance

It was already tried to integrate a solution for calling telephone numbers via turning them into "links" which could be tapped to call the number. This was discarded due to performance issues since analyzing the page took too much power. If the call/adding date would be triggered via the context menu, one could possibly get around the performance problems that occurred in previous attempts to integrate this function.

Data

Date Patters

Little endian forms (dd|mm|yyyy) are most common:

  • 16/11/2003 or 16.11.2003
  • Sunday 16 November 2003
  • 3 November 2003
  • 12 Nov 2003

Big endian forms (yyyy|mm|dd) are used mainly in asia and as ISO-8601

  • 2002 September 13
  • 2003-Nov-11, Sunday
  • 2003-11-16

Middle endian forms used in UK, USA

  • Sunday, November 16, 2003
  • November 16, 2003
  • 11.16.03

The Middle endian format (11.16.03) poses a problem since it can be not distinguished from a little endian form as long as the day does not exceed the number 12. "04.05.2009" can be read as 4th of May (little endian) or 5th of April (middle endian). This could be solved by assuming the middle endian pattern if the page is in english.

Current Status

Mockups

Next Steps

Related Bugs

bug 566225

Designs

For App integration

CallNumber.png
ContextualActionsDates1.png



Goals/Use Cases

Provide possibilities to connect to the native phone, addressbook and calendar application of the used phone.

Non Goals

Expert-Features without utility for common users.