+ 21
How can I convert python code into android .apk?
Except kivy and django.
12 Respostas
+ 12
You cannot just convert any Python code to run on Android. However, there are several technologies that allow you to write Python code for Android.
https://wiki.python.org/moin/Android
Just be aware that you won't be able to access native UI components with Python. Although, you can do a lot with OpenGL ES. If you have an app already written in Python and need to access native UI components then I would suggest manually translating your program logic into Android style Java.
+ 8
Use kivy cross-platform for developing android applications, it is well documented with some demo examples. Using kivy we can also create a package for Windows..
Django is a framework in python suited for developing Web Applications
pyqt, wxpython etc.. are suited for GUI.. I love inbuilt module in python named tkinter for GUI..
+ 5
use Euro Python
+ 4
there is way out.... thanks to python community.... try to use kivy.... thats it
+ 3
can you understand me if i am speaking a language that you don't understand?
it is ,somehow, same goes here, Android understands Java (its native language). Python is not but can be understood by using translators or tools. after all for best performance and productivity use Java (using Pythons has many cons).
+ 2
yes. if your python's code is write with pyqt. there is many tools for Qt about it...
+ 1
Euro Python is a conference?
+ 1
May be buildozer might help you.
0
Use Euro Python
0
How do you use beware?
- 1
go to the github url this project is devoloped by google not maintaining
https://github.com/damonkohler/sl4a
- 4
android has java as native language. but you can write android application in C# with visual studio and Xamarin. when python will be compatible .NET, you will be able to build android application with python code