SIM - dcobbley/capstone-e GitHub Wiki

Made this wiki to help figure out the SIM card in order to try and grab contacts off of the card and push to the external SD card.

https://developer.mozilla.org/en-US/docs/Web/API/MozIccManager

https://developer.mozilla.org/en-US/docs/Web/API/MozMobileICCInfo/iccid

https://developer.mozilla.org/en-US/docs/Web/API/MozMobileConnection

https://github.com/mozilla-b2g/gaia/blob/9dfedd7d35da00fa9b08dcffc3ab4f47da54e4f0/apps/settings/js/icc.js

https://github.com/mozilla-b2g/gaia/blob/master/shared/js/contacts/import/utilities/import_sim_contacts.js

Two things to figure out. What permissions do I need, and what function to call to get the SIM card contacts.