2

I have some problem and I'll list them here:

  1. Emulator for iPhone and Android, how can I build an app for iPhone/Android using kivy but I have not emulators open source to see how my app works and performs? Do I have to always download the app to my phone to check it?
  2. How do I show a map using kivy and show my current location constantly (while moving) just like google maps and waze? How do I use the phone location service without a phone emulator how's that work?

Does Kivy capable of that?

from kivy.app import App
from plyer import gps


class MainApp(App):
    def on_start(self):
        gps.configure(on_location=self.on_gps_location)
        gps.start()

    def on_gps_location(self, **kwargs):
        print(kwargs)


MainApp().run()

This is a code I found on youtube but it raises an exception

Exception has occurred: NotImplementedError
exception: no description
  File "C:\Users\talns\Application\main.py", line 7, in on_start
    gps.configure(on_location=self.on_gps_location)
  File "C:\Users\talns\Application\main.py", line 14, in <module>
    MainApp().run()
  • If you like suffering then use python for android. If you like your life you should use android studio it has built in "plug and play style" emulator and support for real phones with a good debugger for both. To use iOS you must own a mac. emulators of iOS runs only on macs. If you are new to mobile application PLEASE DON'T USE PYTHON. Try with standard, supported and wasy to use tools and then when you learned use something of more "creative" and painful – Volzy Nov 01 '22 at 15:44

0 Answers0