qpython-android / qpython

QPython is an Android Python engine primarily designed for Python and AI learners. It offers a range of impressive features to enhance Python programming experience.
https://www.qpython.org
1.03k stars 191 forks source link

QSL4A trying to vibrate phone doesn't seem to work #188

Open Jachdich opened 4 years ago

Jachdich commented 4 years ago

This is my exact code:

import androidhelper import time droid = androidhelper.Android() droid.vibrate(1000) time.sleep(1)

And absolutely nothing happens. No vibration and no error message. As far as I can work out from the docs this is the correct way of doing this.

Thanks to anyone in advance!