Hi lorenzo!

You can actually call WebActivity for SMS feature, here is a code snippet:

var sendSMS = document.querySelector("#send-sms");
    if (sendSMS) {
        sendSMS.onclick = function () {
            new MozActivity({
                name: "new", // Possible compose-sms in future versions
                data: {
                    type: "websms/sms",
                    number: "+46777888999"
                }
            });
        };
    }

But it will not explicitly send an sms, meaning the user should press "send" 
before it get sent. Unlike the Certified api version of SMS, It will 
automatically send an sms on behalf of the user.

If you are interested to learn more about WebActivities and perhaps more about 
other WebAPIs you can visit MDN: https://developer.mozilla.org/en-US/docs/WebAPI

Or check out the Firefox OS Boilerplate for more WebAPI/WebActivity sample 
code: https://github.com/robnyman/Firefox-OS-Boilerplate-App

Hope that helps! :)

—
Sent from Mailbox

On Wed, Sep 3, 2014 at 11:04 PM, Lorenzo Veneri <[email protected]>
wrote:

> Hi.
> i'm new in this forum and i'm new to develop for firefox OS, but i have some 
> ideas for amazing application but i see on documentation that i need to 
> create a certified app.
> It is possible?
> _______________________________________________
> dev-b2g mailing list
> [email protected]
> https://lists.mozilla.org/listinfo/dev-b2g
_______________________________________________
dev-b2g mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-b2g

Reply via email to