Attached are screenshots of the library structure and Javascript that I had copied.Text field - "V"
msg = entry().field("V");
i = intent("android.intent.action.SENDTO");
i.data("smsto:"+entry().field("N"));
i.extra("sms_body" , msg);
i.send();
It gives the reference error: "intent" is not defined (field.js#3)
I tried using system.intent but the error remains same.
So after searching how to define intent I tried the following
intent i = intent("android.intent.action.SENDTO");
Now the error changes to - missing ; before statement
Can you suggest what can be done next.
--
You received this message because you are subscribed to a topic in the Google Groups "mementodatabase" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/mementodatabase/a6zv3nK42B0/unsubscribe.
To unsubscribe from this group and all its topics, send an email to mementodatabase+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
msg = "your device" entry().field("DeviceID") is in state "entry().field("State");
i = intent("android.intent.action.SENDTO");
i.data("smsto:"+entry().field("N"));
i.extra("sms_body" , msg);
i.send();
The required things are just custom text in BOLD marked areas. Thank you
--
You received this message because you are subscribed to the Google Groups "mementodatabase" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mementodataba...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mementodatabase/2da6ecf8-fc97-4d0d-8006-214c15c31c27n%40googlegroups.com.