Can a telephony.Phone object be instantiated through the sdk?

前端 未结 6 1610
我在风中等你
我在风中等你 2020-12-04 18:43

I am trying to get a phone object so that I can call and conference two numbers from within my application.

I have tried using the static PhoneFactory.makeDefa

6条回答
  •  隐瞒了意图╮
    2020-12-04 19:20

    I am trying to get a phone object so that I can call and conference two numbers from within my application.

    That is not possible from the SDK.

    I have tried using the static PhoneFactory.makeDefaultPhones((Context)this) but have not had any luck.

    That is not in the SDK. Please do not go past the bounds of the SDK.

    Error - Caused by java.lang.RuntimeException: PhoneFactory.getDefaultPhone must be called from Looper thread

    That is because you are trying to do the thing-you're-not-supposed-to-be-doing from a background thread.

提交回复
热议问题