droid.notify('testTimer.py', 'doStuff() has been called')
droid.vibrate(500)

def createLog(path):
    logging.basicConfig(filename=path, level=logging.INFO, format=
        '%(asctime)s %(message)s')
DELAY = 600
droid = android.Android()
logpath = '/mnt/sdcard/testTimer.py.log'
createLog(logpath)
timer = threading.Timer(DELAY, doStuff)
logging.info('timer starting now')
timer.start()
logging.info('doStuff() will be called by timer...Delay=%d' % DELAY)
Making an android Python service to run in suspend state