Python Download Android

0 views
Skip to first unread message

Angeles Bartholomew

unread,
Jan 18, 2024, 9:00:55 AM1/18/24
to siobelunghan

I would like to develop a (rather simple) android app to be distributed via Play Store. I would like to do so completely in python. However, the online research hasn't quite enlightened me: most comments are either outdated (>1 year old, and I feel there might be better integration of python since then) or they talk about running python in android (e.g. here).

To answer your first question: yes it is feasible to develop an android application in pure python, in order to achieve this I suggest you use BeeWare, which is just a suite of python tools, that work together very well and they enable you to develop platform native applications in python.

python download android


DOWNLOADhttps://t.co/vYLCEvygOm



and to answer your second question: a good environment can be anything you are comfortable with be it a text editor and a command line, or an IDE, if you're looking for a good python IDE I would suggest you try Pycharm, it has a community edition which is free, and it has a similar environment as android studio, due to to the fact that were made by the same company.

This integrates with the Android build system, it provides a Python API for all android features. To quote the site "The complete Android API and user interface toolkit are directly at your disposal."

On the other hand, Chaquopy is a much more precise in its mapping of the python API to Android. It also allows you to mix in Java, useful if you want to use existing code from other resources. If you have strict design targets, and predominantly want to target Android this is a much better resource.

Imagine building and running python applications, whether it's a command-line tool developed to fetch your favorite curated articles from the Internet, or starting a web server that runs right in the palm of your hand, all with just an Android mobile device and open source tools. This would change how you view your mobile device entirely, changing it from a device that merely lets you consume content to a device that helps you be creative.

I tried really hard, but I just don't get it -- would GDNative enable us to use Python scripts, which in turn utilize other, third-party Python libraries, in cross-platform development? To flesh out my question: I'm thinking of developing a molecular structure viewer as Godot VR application for smartphone-based HMDs. Retrieving and parsing molecular structure date (e.g. from PDB, ) isn't too difficult, but I would, of course, prefer to use existing libraries for this purpose. So I was wondering if it was possible to use, say: BioPython ( _Biopython_Structural_Bioinformatics_FAQ) for the intended Android application?

Though, I suppose the best way to know for sure would be to make a simple project using a pure python library and see what happens when you export. I do not think it will work, but testing with a simple project would be the best way to know for sure.

Other than that, the first question is Give my app permission to trigger a factory reset while the last question is How is AOSP build process optimizing my system app's native libraries?. It looks like it's all the newest android-source questions.

python-for-android is a packaging tool for Python apps on Android. You cancreate your own Python distribution including the modules anddependencies you want, and bundle it in an APK or AAB along with your own code.

See ourdocumentationfor more information about the python-for-android development andrelease model, but don't worry about the details. You just need tomake a pull request, we'll take care of the rest.

In 2015 these tools were rewritten to provide a new, easier-to-use andeasier-to-extend interface. If you'd like to browse the old toolchain, itsstatus is recorded for posterity at -for-android/tree/old_toolchain.

In the last quarter of 2018 the python recipes were changed. Thenew recipe for python3 (3.7.1) had a new build system which wasapplied to the ancient python recipe, allowing us to bump the python2version number to 2.7.15. This change unified the build process forboth python recipes, and probably solved various issues detected over theyears. These unified python recipes require a minimum target api level of 21,Android 5.0 - Lollipop. If you need to build targeting anapi level below 21, you should use an older version of python-for-android(

df19127ead
Reply all
Reply to author
Forward
0 new messages