See More

# SOME DESCRIPTIVE TITLE. # Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python en Español # package. # FIRST AUTHOR , 2024. # #, fuzzy msgid "" msgstr "" "Project-Id-Version: Python en Español 3.13\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2026-02-26 18:44-0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language: es\n" "Language-Team: es \n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" "Generated-By: Babel 2.18.0\n" #: ../Doc/using/android.rst:5 msgid "Using Python on Android" msgstr "" #: ../Doc/using/android.rst:7 msgid "" "Python on Android is unlike Python on desktop platforms. On a desktop " "platform, Python is generally installed as a system resource that can be " "used by any user of that computer. Users then interact with Python by " "running a :program:`python` executable and entering commands at an " "interactive prompt, or by running a Python script." msgstr "" #: ../Doc/using/android.rst:13 msgid "" "On Android, there is no concept of installing as a system resource. The only " "unit of software distribution is an \"app\". There is also no console where " "you could run a :program:`python` executable, or interact with a Python REPL." msgstr "" #: ../Doc/using/android.rst:17 msgid "" "As a result, the only way you can use Python on Android is in embedded mode " "– that is, by writing a native Android application, embedding a Python " "interpreter using ``libpython``, and invoking Python code using the :ref:" "`Python embedding API `. The full Python interpreter, the " "standard library, and all your Python code is then packaged into your app " "for its own private use." msgstr "" #: ../Doc/using/android.rst:23 msgid "" "The Python standard library has some notable omissions and restrictions on " "Android. See the :ref:`API availability guide ` for " "details." msgstr "" #: ../Doc/using/android.rst:28 msgid "Adding Python to an Android app" msgstr "" #: ../Doc/using/android.rst:30 msgid "" "Most app developers should use one of the following tools, which will " "provide a much easier experience:" msgstr "" #: ../Doc/using/android.rst:33 msgid "" "`Briefcase `__, from the BeeWare project" msgstr "" #: ../Doc/using/android.rst:34 msgid "`Buildozer `__, from the Kivy project" msgstr "" #: ../Doc/using/android.rst:35 msgid "`Chaquopy `__" msgstr "" #: ../Doc/using/android.rst:36 msgid "" "`pyqtdeploy `__" msgstr "" #: ../Doc/using/android.rst:37 msgid "`Termux `__" msgstr "" #: ../Doc/using/android.rst:39 msgid "" "If you're sure you want to do all of this manually, read on. You can use " "the :source:`testbed app ` as a guide; each step below " "contains a link to the relevant file." msgstr "" #: ../Doc/using/android.rst:43 msgid "First, acquire a build of Python for Android:" msgstr "" #: ../Doc/using/android.rst:45 msgid "" "The easiest way is to download an Android release from `python.org `__. The ``prefix`` directory mentioned " "below is at the top level of the package." msgstr "" #: ../Doc/using/android.rst:49 #, python-brace-format msgid "" "Or if you want to build it yourself, follow the instructions in :source:" "`Android/README.md`. The ``prefix`` directory will be created under :samp:" "`cross-build/{HOST}`." msgstr "" #: ../Doc/using/android.rst:53 msgid "" "Add code to your :source:`build.gradle ` file to copy the following items into your project. All except your " "own Python code can be copied from ``prefix/lib``:" msgstr "" #: ../Doc/using/android.rst:57 msgid "In your JNI libraries:" msgstr "" #: ../Doc/using/android.rst:59 msgid "``libpython*.*.so``" msgstr "" #: ../Doc/using/android.rst:60 msgid "``lib*_python.so`` (external libraries such as OpenSSL)" msgstr "" #: ../Doc/using/android.rst:62 msgid "In your assets:" msgstr "" #: ../Doc/using/android.rst:64 msgid "``python*.*`` (the Python standard library)" msgstr "" #: ../Doc/using/android.rst:65 msgid "``python*.*/site-packages`` (your own Python code)" msgstr "" #: ../Doc/using/android.rst:67 msgid "" "Add code to your app to :source:`extract the assets to the filesystem " "`." msgstr "" #: ../Doc/using/android.rst:70 msgid "" "Add code to your app to :source:`start Python in embedded mode `. This will need to be C code called " "via JNI." msgstr "" #: ../Doc/using/android.rst:75 msgid "Building a Python package for Android" msgstr "" #: ../Doc/using/android.rst:77 msgid "" "Python packages can be built for Android as wheels and released on PyPI. The " "recommended tool for doing this is `cibuildwheel `__, which automates all the details of " "setting up a cross-compilation environment, building the wheel, and testing " "it on an emulator." msgstr ""