Can we develop an androïd app with python?

Can we develop an androïd app with python?

When you choose to develop an app for Android, you have a very wide choice in the language you can use. Natively, Android supports the Java and C ++ languages, which are the languages ​​in which the system is written. In recent years, it has also directly accepted the Kotlin language, developed by the company that created the Android Studio development environment. In addition to these languages, there are others possible through the use of specific tools. Python is one of them.

There are frameworks that have been designed to allow a developer to write an application in the language they want, then transform that code into a language that the target platform understands. With these frameworks, new languages ​​can thus be used to create an application on Android. This is the case of Dart with the Flutter framework or of JavaScript with React Native. This is also possible in Python. The BeeWare project was created for this specific purpose: to allow a developer to create an application in Python language that will run on Android. This framework groups together tools that interpret Python code on an Android device and make the widgets and capabilities of the device available in this language. BeeWare uses a transcompiler that transforms Python code into portable Python code. Then, it translates this code into portable Java code that can be interpreted by the Android virtual machine. 

To find more information on the project , visit the website: https://beeware.org/.

There is also another solution to write an Android application in Python: the Kivy framework. With this framework, you can develop an application that works on most operating systems, including Android. It uses the Python language for all your application logic code and combines it with its own language, the Kv language to describe interfaces. 

You can find more information about the project by visiting its official website: https://kivy.org/#home/.


Saliha Beddek

0
0

Laisser un commentaire