【问题标题】:MIT's App Inventor can't receive phone calls or show the calling number ... Is it possible?MIT App Inventor 无法接听电话或显示来电号码……有可能吗?
【发布时间】:2019-08-31 15:41:18
【问题描述】:

在麻省理工学院的应用程序发明者中可以做很多事情,但是,对于如何接收电话/短信甚至显示来电号码都没有明确的方法......这可能吗?

【问题讨论】:

    标签: android app-inventor


    【解决方案1】:

    你不能用 App Inventor 接电话,有PhoneCall 组件,但你只能Use this component to dial the phone and make a call.

    Texting组件,可以收发短信,也可以显示发送电话号码:When a message arrives, the MessageReceived event is raised and provides the sending number and message.


    请参阅reference documentation 了解更多信息。

    【讨论】:

      【解决方案2】:

      http://ai2.appinventor.mit.edu/reference/components/social.html:

      PhoneCallStarted(号码状态,短信 phoneNumber) 指示电话呼叫已开始的事件。如果 status 为 1,则来电正在振铃;如果状态为 2,则拨出电话。 phoneNumber 是传入/传出电话号码。使用这个块 将添加需要额外批准的危险权限 如果您的应用已提交到 Google Play 商店。

      【讨论】:

        猜你喜欢
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 2017-04-11
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        相关资源
        最近更新 更多