[英]How do I configure my Android phone to send images to Twilio via MMS?
Using my Android phone, I want to share an image via MMS to a Twilio phone number and be able to extract the images via code. 我想使用Android手机通过彩信与Twilio电话号码共享图像,并能够通过代码提取图像。
I have set up a Function App to capture the message, as per my question here 我已经建立了一个功能应用捕获的消息,按照我的问题在这里
I am surprised however to find that the message contains the following values 但是我很惊讶地发现消息包含以下值
NumMedia = 0
Body =
"You+have+a+new+MMS+Picture+or+Video+Message.+To+view+your+message%2C+go+to+http%3A%2F%2Ftelstra.com%2Fmmsview etc
I was hoping that NumMedia would be 1 and that I would be able to iterate through a collection of images to extract. 我希望NumMedia为1,并希望能够遍历要提取的图像集合。
I guess the issue is that I am not sending the mms via the Twilio API. 我想问题是我没有通过Twilio API发送彩信。 Instead I am sending it via my phone directly.
相反,我是通过手机直接发送的。
How can I extract the pictures that I share via text message? 如何提取通过短信共享的图片? Does it depend on my phone carrier?
是否取决于我的电话运营商?
[Update] I have no experience as an Android developer so I am preferring a no-code solution. [更新]我没有作为Android开发人员的经验,所以我更喜欢无代码解决方案。
There is a Twilio support link that mention a Twilio URL, however I am receiving a Telstra URL 有一个Twilio支持链接提到了一个Twilio URL,但是我收到的是Telstra URL
The phone is a Samsung Galaxy J1 mini 手机是三星Galaxy J1 mini
Twilio advises this is because my Twilio number is not MMS capable. Twilio建议这是因为我的Twilio号码不支持MMS。 I need to try it with an MMS Capable number.
我需要使用支持MMS的号码进行尝试。 This will need to be an international number at the moment.
目前,这将是一个国际号码。
How to check if a Twilio number can send MMS messages 如何检查Twilio号码是否可以发送彩信
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.