Example #1
0
import sys
 
from android import Android
droid = Android()
 
droid.webViewShow('/sdcard/com.hipipal.qpyplus/projects3/SEAS/webgui/gui.html')


# Complete one iteration for each event
while True: 
    event = droid.eventWait().result
    
    #if event['name'] == 'ttsaction':
    droid.ttsSpeech(event["data"])