是否可以在 qpython 中拨打电话

is it possible to make calls in qpython

我正在制作一个类似 alexa 的人工 intelligence/virtual 助手,并且已经添加了发送文本的功能,但不知道如何打电话。我发现 post 是关于如何在收到通知时发出通知,但没有实际发送通知的能力。这在 qpython 中甚至可能吗?谢谢

示例代码:

response = input("enter command: ")   
if response[1] == "call":  
   *call function* (response[2])

结果:

enter command: call 123456789    
calling 123456789

您可以使用此代码拨打电话。 插入带有国家代码的 phone 号码作为响应的输入

from androidhelper import Android
droid = Android()
response=input ("Enter phone number here:")
droid.phoneCallNumber (response)