+ 1
How to make a python code as apk for android? If its possible how to install it?
For example If I want to make an app just showing "hello world" for my android phone .It should be like any other android apps which we can install,uninstall or share with others. Here is a line of code. So how to install this as an android app? import kivy from kivy.app import App from kivy.uix.button import Button class MyApp(App): def build(self): return Button(text='Hello World') if __name__ == '__main__': MyApp().run()
1 Respuesta
+ 1
You can't just convert 1 line Python code to android package so look at https://www.kivy.org
see this to convert to apk https://kivy.org/doc/stable/guide/packaging-android.html