qpythonqpython3

is it possible to make calls in qpython


im making an alexa like artificial intelligence/virtual assistant and have already added the ability to send texts, but cant figure out how to call. i found a post on how to make a notification when you get one, but not the ability to actally send them. is this even possible in qpython? thanks

example code:

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

outcome:

enter command: call 123456789    
calling 123456789

Solution

  • You can make a call with this code. Insert phone number with country code as input of response

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