qpython
qpython copied to clipboard
startLocating starting to give java.lang.NullPointerException
import androidhelper dro=androidhelper.Android() dro.startLocating()
gives : java.lang.NullPointerException
I tried 2 different phones and I also tried Qpython2 and Qpython3 I am using Android 7.0 A few months ago this code worked
I have the same problem, not with startLocating() method but contactsGet(attributes), contactsGetIds(), contactsGetAttributes(), contactsGetById(id)
I have the same problem on nexus 5x running android 8.1.0
Activate permission to use the GPS in android settings for Qpython !