Page 1 of 1

SMS

Posted: Fri Jan 09, 2015 10:59 am
by Jonker Louerns

Hi

I want to populate an sms with data from an object I created in the appery storage. Can you please help me? This is what I put in to the button event and then nothing happens:

window.open("sms:" + Apperyio.storage.musical_instruments.get() + "?body=aravvfv", "_system");
console.log("window clicked");

Regards
Jonker


SMS

Posted: Fri Jan 09, 2015 11:00 am
by Jonker Louerns

Sorry this is what I typed:

window.open("sms:" + Apperyio.Site.Simnumber.get() + "?body=aravvfv", "_system");
console.log("window clicked");


SMS

Posted: Fri Jan 09, 2015 11:47 am
by Ihor Didevych

Hi Jonker,

window.open() is function for open new window.
You should create a link and in href attribute place "sms:" + Apperyio.storage.musical_instruments.get() + "?body=aravvfv"