# 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
# Giới thiệu về QPython 3L
QPython là công cụ Python cho android. Nó chứa một số tính năng tuyệt vời như trình thông dịch Python, môi trường thời gian chạy, trình soạn thảo, thư viện QPYI và SL4A. Nó giúp bạn dễ dàng sử dụng Python trên Android. Và nó MIỄN PHÍ.
QPython đã có hàng triệu người dùng trên toàn thế giới và đây cũng là một dự án nguồn mở.
Đối với các kịch bản sử dụng khác nhau, QPython có hai nhánh là QPython Ox và 3x.
QPython Ox chủ yếu nhắm đến người học lập trình và nó cung cấp các tính năng thân thiện hơn cho người mới bắt đầu.
Đây là QPython 3L, nó chủ yếu dành cho người dùng Python có kinh nghiệm và nó cung cấp một số tính năng kỹ thuật nâng cao.
# Tính năng tuyệt vời
- Trình thông dịch Python 3 ngoại tuyến: không cần Internet để chạy các chương trình Python
- Nó hỗ trợ chạy nhiều loại dự án, bao gồm: chương trình console, chương trình SL4A, chương trình webapp
- Trình đọc mã QR tiện lợi để chuyển mã sang điện thoại của bạn
- QPYPI và kho lưu trữ tùy chỉnh cho các gói bánh xe dựng sẵn cho các thư viện khoa học nâng cao, chẳng hạn như numpy, scipy, matplotlib, scikit-learn, v.v.
- Trình chỉnh sửa dễ sử dụng
- LAYER TUYỆT VỜI VÀ HẾT HẠN CHO THƯ VIỆN ANDROID (SL4A): NÓ CHO BẠN LÁI XE LÀM VIỆC ANDROID VỚI PYTHON
- Tài liệu tốt và hỗ trợ khách hàng
Các tính năng # SL4A
Với các tính năng SL4A, bạn có thể sử dụng lập trình Python để kiểm soát công việc của Android:
- API ứng dụng Android, chẳng hạn như: Ứng dụng, Hoạt động, Ý định & startActivity, SendBroadcast, PackageVersion, System, Toast, Notify, Settings, Preferences, GUI
- Trình quản lý tài nguyên Android, chẳng hạn như: Liên hệ, Vị trí, Điện thoại, Sms, ToneGenerator, WakeLock, WifiLock, Clipboard, NetworkStatus, MediaPlayer
- Tích hợp ứng dụng thứ ba, như: Mã vạch, Trình duyệt, SpeechRecongition, SendEmail, TextToSpeech
- Trình quản lý Hardwared: Xe tải, Cảm biến, Âm lượng & Tốc độ truyền thông, Độ sáng màn hình, Pin, Bluetooth, Tín hiệu mạnh, WebCam, Rung, NFC, USB
[Liên kết tài liệu API]
https://github.com/qpython-android/qpysl4a/blob/master/README.md
[Mẫu API]
https://github.com/qpython-android/qpysl4a/issues/1
[ LƯU Ý QUAN TRỌNG ]
NÓ CÓ THỂ YÊU CẦU BLUETOOTH / VỊ TRÍ / READ_SMS / SEND_SMS / CALL_PHONE VÀ CÁC GIẤY PHÉP KHÁC, VÌ VẬY BẠN CÓ THỂ CHƯƠNG TRÌNH NHỮNG TÍNH NĂNG NÀY. QPYTHON SILL KHÔNG SỬ DỤNG CÁC GIẤY PHÉP NÀY TRONG NỀN TẢNG.
NẾU BẠN CÓ KHAI THÁC TRONG RUNTIME KHI SỬ DỤNG API SL4A, HÃY KIỂM TRA SAU KHI GIẤY PHÉP LIÊN QUAN ĐẾN VIỆC THIẾT LẬP HỆ THỐNG ĐƯỢC ĐẢM BẢO.
# Cách nhận hỗ trợ khách hàng chuyên nghiệp
Vui lòng làm theo hướng dẫn để nhận được hỗ trợ https://github.com/qpython-android/qpython/blob/master/README.md
[Cộng đồng QPython]
https://www.facebook.com/groups/qpython
[Câu hỏi thường gặp]
Trả lời: Tại sao tôi không thể sử dụng API SMS của SL4A
H: Vì Google Play và một số cửa hàng ứng dụng có các yêu cầu nghiêm ngặt về quyền của ứng dụng, trong QPython 3x, chúng tôi sử dụng x để phân biệt các chi nhánh với các quyền hoặc ứng dụng khác nhau. Ví dụ, L có nghĩa là LIMITED và S có nghĩa là SENSITIVE.
Đôi khi, bạn không thể sử dụng API SL4A tương ứng vì phiên bản bạn đã cài đặt không có quyền tương ứng, vì vậy bạn có thể xem xét thay thế những gì bạn đã cài đặt bằng đúng.
Bạn có thể tìm thấy các chi nhánh khác ở đây:
https://github.com/qpython-android/qpython3/release