DTMF Dialer in ASE

I just wrote a useful little script using some new APIs that will be in version r23.
import android
import time

droid = android.Android()
phone = droid.pickPhone().result.replace('-', '')
phone = phone.replace('+49', '0')
droid.makeToast('Dialing ' + phone + ' in 2 seconds.')
I have a shortcut to this script on my home screen. When I want to place a call on a land line, I can start it up, choose the number I want to dial, and hold it up to the phone.

This script is pretty naive about the format of the phone number. It expects German numbers (the +49) that it's dialing within Germany (the leading 0).

Here's the QR code to add this script to ASE:

No comments:

Post a Comment