1 Star 0 Fork 0

qpython-android/qpython.org

加入 Gitee
与超过 1400万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
qpython3.rst 3.18 KB
一键复制 编辑 原始数据 按行查看 历史
River 提交于 2020-02-03 17:41 +08:00 . Update description

# About QPython 3L QPython is the Python engine for android. It contains some amazing features such as Python interpreter, runtime environment, editor and QPYI and integrated SL4A. 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. QPython 3x is mainly for experienced Python users, and it provides some advanced technical features.

This is the QPython 3L, it is the only Python interpreter which works under android 4.0 in google play.

# 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 versions here: https://www.qpython.org/en/qpython_3x_featues.html

Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
HTML
1
https://gitee.com/qpython-android/qpython.org.git
git@gitee.com:qpython-android/qpython.org.git
qpython-android
qpython.org
qpython.org
master

搜索帮助