SummerOfCode/2013/FirefoxOSSampleApps: Difference between revisions

Jump to navigation Jump to search
Line 72: Line 72:


== Contact Exporter ==
== Contact Exporter ==
https://www.evernote.com/shard/s4/sh/8a01212a-9d45-4051-867e-c670cf753c1d/b0245d29c7eb758d78b27b80bceded91/deep/0/Firefox%20OS%20Simulator.png
This application exports the device address book to a vCard file on the SD Card.
=== Implementation ===
This app uses jQuery Mobile to build its UI. It has a **vcard.js** library that can convert from mozContact to vCard string and an **app.js** file that has the application logic.
=== Usage of WebAPI ===
This applications uses the [https://developer.mozilla.org/en-US/docs/WebAPI/Contacts Contacts API] to fetch all entries from the address book and uses the [https://developer.mozilla.org/en-US/docs/WebAPI/Device_Storage Device Storage API] to write the vCard file to the SD Card.


= Contacts =
= Contacts =
Confirmed users
36

edits

Navigation menu