【问题标题】:Twilio mms from an Android phone within Canada using Unity3D使用 Unity3D 从加拿大境内的 Android 手机发送 Twilio mms
【发布时间】:2015-07-28 19:36:30
【问题描述】:

目标平台:三星 S6 - Android

开发基础:Unity3D使用C#

意图

将应用内拍摄的图片 (MMS) 发送到加拿大境内的任何所需电话号码。这个应用程序应该预加载到单个三星 S6。

问题

  • 我无法在您的 SDK 中找到任何 Unity 示例,但是我想知道是否有人知道 Unity 示例用于我的预期用途。但是计划使用这些scripts as first of reference
  • 虽然用于发送彩信的 Android 电话号码可以与 Twilio 相关联,但接收方与 Twilio 的关联没有,因为在拍摄照片之前我们不会知道发送方电话号码- 因此这是一个问题吗?
  • 我从 API call 看到这一点

        // Send a new outgoing MMS by POSTing to the Messages resource */
    client.SendMessage(
        "YYY-YYY-YYYY", // From number, must be an SMS-enabled Twilio number
        person.Key,     // To number, if using Sandbox see note above
        // message content
        string.Format("Hey {0}, Monkey Party at 6PM. Bring Bananas!", person.Value),
        // media url of the image
        new string[] {"https://demo.twilio.com/owl.png" }
    );
    

    第四个也是最后一个参数是一个 URL 链接。图片的链接可以来自任何服务器还是应该只来自 twilio 的服务器?

非常感谢您抽出宝贵时间。非常感谢。

【问题讨论】:

    标签: c# android unity3d twilio mms


    【解决方案1】:

    Here you are。据我所知,这就像一个魅力。

    【讨论】:

    • 谢谢@Alex,我更喜欢坚持使用 twilio,如果在那个范围内无法正常工作 - 那么我会尝试使用该库。我不得不说,确实如此。
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2022-11-22
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多