2

For SMS, I have pulled the sqlite file and put it under the corresponding directory of the simulator on PC, but it didn't read. Is it because Mozilla hasn't provided the function of SMS on the simulator? What if I build the emulator myself, can it read the sms.sqlite I got from the phone? Or if the only way to read the sms is to decompress the code?

As for call logs, I have no idea where it is stored, is it mingled in the activity.sqlite?

I'm kind of lost in the Firefox OS, thanks for your help!

mate64
  • 9,876
  • 17
  • 64
  • 96
Jane
  • 31
  • 3
  • 1
    It might help to read the source of the [SMS app](https://github.com/mozilla-b2g/gaia/blob/master/apps/sms/index.html) that ships on device. It's plain HTML5 but uses APIs like [WebSMS](https://developer.mozilla.org/en-US/docs/Web/API/WebSMS_API) and maybe [WebTelephony](https://developer.mozilla.org/en-US/docs/Web/API/Web_Telephony_API). – kumar303 Aug 04 '15 at 14:01

2 Answers2

0

Powerful and dangerous APIs are not available to third-party apps.

Only internal apps can access the WebSMS API and Web Telephony API on , because they are intended for system-level apps and default apps created by Mozilla/operators/OEMs.

Check the Permissions Table for Internal (Certified) Apps (MDN).

mate64
  • 9,876
  • 17
  • 64
  • 96
0

I'm developing an app to fetch SMS and other data from Firefox OS device. You can see the source code here.

Nino
  • 1
  • 1
    Link-only answers are highly discouraged here because the links may become dead in the future. I suggest you edit your answer with quotes from the sources you cite. – Anirudh Sharma Oct 19 '15 at 10:58