X
X
xxxfdd2021-01-06 23:15:01
Kivy
xxxfdd, 2021-01-06 23:15:01

Who can give a link to the info where you use Kivy to determine the location of your phone's GPS?

using Kivy library Detect my phone's position how to do it

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
MinTnt, 2021-01-07
@MinTnt

https://stackoverflow.com/questions/16917149/how-t... #Identical question
https://github.com/kivy/plyer #plyer application that also has GPS function
Response code:

import android
droid = android.Android()
loc = droid.readLocation()
lattitude = loc.result['network']['latitude']
longitude = loc.result['network']['longitude']
print(lattitude, longitude )

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question