Could someone explain how to use the Timer.schedule - that is used for scheduling tasks - in Python?
Note t开发者_StackOverflowhat Python's time.sleep will not work in Android.
time.sleep does work on the Android Scripting Environment (at least for the last 5 releases or so). I've just tested it on the interpreter console.
On the other hand, some dialogs (like makeToast, for instance) won't hold the script execution while they're being displayed. Perhaps that's why you may be feeling time.sleep doesn't work.
加载中,请稍侯......
精彩评论