java - Get My location using Kivy or CLI? -


i creating app android using kivy (python) send location email. kivy not able gps not directly supported. have thought next step, need help.

  1. is there cli command can give me location. run command using os.system(commad), basic method running commands in python.

  2. is there executable available, jar file, or javascript file, can run code , gives me current position using gps.

  3. any readymade code of kivy or java, can test on phone.

kivy uses python-for-android compile apks you. provides pyjnius wrap android/java api calls. lets access things location api. plyer project cross platform layer uses pyjnius android part. there gps example in plyer can compile , use on android if have kivy , buildozer set properly. or can read the source code of gps android part of plyer make calls via pyjnius.


Comments

Popular posts from this blog

apache - Remove .php and add trailing slash in url using htaccess not loading css -

javascript - jQuery show full size image on click -