My app added a sharing contact and I enabled it. I can share a picture to my app, but I can't send a message to my app because the contact does not show up in the 'ok glass, send message to ...' list.
Is there some way to allow my app to be a 'real contact that I can send a message to? If not, what is the easiest way to send a message to my app?
Short Message Service (SMS) & Text Messaging (Texting) are the same thing. It is a means of sending short messages to and from mobile phones. SMS was originally defined as part of the GSM series of standards in 1985 as a means of sending messages of up to 160 characters, to and from GSM mobile handsets.
You can create a timeline item and add a reply menu item to that timeline. You should be able to have your app fetch that timeline item after receiving a notification with the timeline ID. From that timeline ID you can fetch the attachments including the audio file and the transcription.
Here is an example of the body for the new timeline item:
{
"text": "Hello world",
"menuItems": [
{ "action": "REPLY" }]
}
To see an example response take a look at the Timeline Reference page.
What you could do is create Twilio account to create a number that you can txt message to. You could then have your application interact with the body of the text message.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With