0% found this document useful (0 votes)
25 views

Andriod App For Python Programming

Uploaded by

art factory
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
25 views

Andriod App For Python Programming

Uploaded by

art factory
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

Mobile App

1. Android 3 - IDE for Python 3

Pydroid 3 is the most easy to use and powerful educational Python 3 IDE for Android.

Features:
- Offline Python 3.7 interpreter: no Internet is required to run Python programs.
- Pip package manager and a custom repository for prebuilt wheel packages for enhanced
scientific libraries, such as numpy, scipy, matplotlib, scikit-learn and jupyter.
- OpenCV is now available (on devices with Camera2 API support). *
- Tensorflow is also available. *
- Examples available out-of-the-box for quicker learning.
- Complete Tkinter support for GUI.
- Full-featured Terminal Emulator, with a readline support (available in pip).
- Built-in C, C++ and even Fortran compiler designed specially for Pydroid 3. It lets Pydroid 3
build any library from pip, even if it is using native code. You can also build & install
dependencies from a command line.
- Cython support.
- PDB debugger with breakpoints and watches.
- Kivy graphical library with a shiny new SDL2 backend.
- PyQt5 support available in Quick Install repository along with matplotlib PyQt5 support with
no extra code required.
- Matplotlib Kivy support available in Quick Install repository.
- pygame_sdl2 support (SDL2-based pygame implementation).

Editor features:
- Code prediction, auto indentation and real time code analysis just like in any real IDE. *
- Extended keyboard bar with all symbols you need to program in Python.
- Syntax highlighting & themes.
- Tabs.
- Enhanced code navigation with interactive assignment/definition gotos.
- One click share on Pastebin.

* Features marked by asterisk are available in Premium version only.

Quick manual.
Pydroid 3 requires at least 200MB free internal memory. 220MB+ is recommended. More if you
are using heavy libraries such as scipy.
To run debug place breakpoint(s) clicking on the line number.
Kivy is detected with “import kivy”, “from kivy“ or "#Pydroid run kivy”.
PyQt5 is detected with “import PyQt5”, “from PyQt5“ or "#Pydroid run qt”.
The same for sdl2, tkinter and pygame.
There is a special mode "#Pydroid run terminal" to ensure your program runs in terminal mode
(this is useful with matplotlib that automatically runs in GUI mode)

Why are some libraries premium-only?


These libraries were extremely hard to port, so we had to ask another developer to do that.
Under agreement, his forks of these libraries are provided to the premium users only. If you
would like to develop free forks of these libraries - contact us.

Take a part in development of Pydroid 3 by reporting bugs or providing feature requests to us.
We appreciate that.

As Pydroid 3 main goal is to help user learn Python 3 programming language, our first priority is
porting scientific libraries (so system-related libraries are ported only when they are used as
dependencies of some other educational package).

Legal information.
Some binaries in Pydroid 3 APK are licensed under (L)GPL, email us for the source code.
GPL pure Python libraries bundled with Pydroid 3 are considered to be coming in the source
code form already.
Pydroid 3 doesn’t bundle any GPL-licensed native modules to avoid automatic import of them.
The famous example of such library is GNU readline, that can be installed using pip.
Samples available in the application are free for educational usage with one exception: they, or
their derivative works, cannot be used in any competing products (in any way). If you are
unsure, whether your app is affected by this restriction, always ask for a permission via email.
Android is a trademark of Google Inc.

Link to Download

https://play.google.com/store/apps/details?id=ru.iiec.pydroid3&hl=en_IN
2. QPython 3L – Python for Android

# About QPython 3L
QPython is the Python engine for android. It contains some amazing features such as Python
interpreter, runtime environment, editor, QPYI and SL4A library. It makes it easy for you to use
Python on Android. And it's FREE.

QPython already has millions of users worldwide and it is also an open source project.

For different usage scenarios, QPython has two branches, namely QPython Ox and 3x.

QPython Ox is mainly aimed at programming learners, and it provides more friendly features
for beginners.

This is the QPython 3L, it is mainly for experienced Python users, and it provides some
advanced technical features.

# Amazing Features
- Offline Python 3 interpreter: no Internet is required to run Python programs
- It supports running multiple types of projects, including: console program, SL4A program,
webapp program
- Convenient QR code reader for transferring codes to your phone
- QPYPI and a custom repository for prebuilt wheel packages for enhanced scientific libraries,
such as numpy, scipy, matplotlib, scikit-learn etc
- Easy-to-use editor
- INTEGRATED & EXTENDED SCRIPT LAYER FOR ANDROID LIBRARY (SL4A): IT LETS YOU DRIVE
THE ANDROID WORK WITH PYTHON
- Good documentation and customer support

# SL4A Features
With SL4A features, you can use Python programming to control Android work:

- Android Apps API, such as: Application, Activity, Intent & startActivity, SendBroadcast,
PackageVersion, System, Toast, Notify, Settings, Preferences, GUI
- Android Resources Manager, such as: Contact, Location, Phone, Sms, ToneGenerator,
WakeLock, WifiLock, Clipboard, NetworkStatus, MediaPlayer
- Third App Integrations, such as: Barcode, Browser, SpeechRecongition, SendEmail,
TextToSpeech
- Hardwared Manager: Carmer, Sensor, Ringer & Media Volume, Screen Brightness, Battery,
Bluetooth, SignalStrength, WebCam, Vibrate, NFC, USB

[ API Documentation Link ]


https://github.com/qpython-android/qpysl4a/blob/master/README.md

[ API Samples ]
https://github.com/qpython-android/qpysl4a/issues/1

[ IMPORTANT NOTE ]
IT MAY REQUIRE THE BLUETOOTH / LOCATION / READ_SMS / SEND_SMS / CALL_PHONE AND
OTHER PERMISSIONS, SO THAT YOU CAN PROGRAM ITH THESE FEATURES. QPYTHON WILL NOT
USE THESE PERMISSIONS IN BACKGROUND.

IF YOU GET EXCEPTION IN RUNTIME WHILE USING SL4A API, PLEASE CHECK WHETHER THE
RELEVANT PERMISSIONS IN THE SYSTEM SETTINGS ARE ENABLED.

# How To Get Professional Customer Support


Please follow the guide to get support https://github.com/qpython-
android/qpython/blob/master/README.md

[ QPython community ]
https://www.facebook.com/groups/qpython

[ FAQ ]
A: Why can't I use the SMS API of SL4A
Q: Because Google Play and some app stores have strict requirements on the permissions of
apps, in QPython 3x, we use x to distinguish branches with different permissions or appstores.
For example, L means LIMITED and S means SENSITIVE.
Sometimes you cannot use the corresponding SL4A APIs because the version you installed does
not have the corresponding permissions, so you can consider replace what you have installed
with the right one.

You can find other branches here:


https://github.com/qpython-android/qpython3/releases

Link to Download

https://play.google.com/store/apps/details?id=org.qpython.qpy3&hl=en_IN

You might also like