How to code to android phone

I want to write a Phyton code to android phone that can use some of the android sensors, like location. Does anyone know how to do so?

I have moved this to #users since it’s not a question related to developing Python itself.

You can use kivy. It allows you to create cross-platform apps and supports Android.
I’m not sure that it supports all sensors, but I believe that the majority of them.

1 Like

If GUI is not required, termux with termux-api should also be useful.

1 Like