# 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
# حول QPython 3L
QPython هو محرك Python لالروبوت. أنه يحتوي على بعض الميزات الرائعة مثل مترجم Python ، بيئة وقت التشغيل ، محرر ، مكتبة QPYI و SL4A. يسهل عليك استخدام Python على Android. إنه مجاني.
يوجد لدى QPython بالفعل ملايين المستخدمين حول العالم كما أنه مشروع مفتوح المصدر.
بالنسبة لسيناريوهات الاستخدام المختلفة ، لدى QPython فرعين ، هما QPython Ox و 3x.
يهدف QPython Ox بشكل أساسي إلى متعلمي البرمجة ، ويوفر ميزات أكثر ودية للمبتدئين.
هذا هو QPython 3L ، وهو مخصص بشكل أساسي لمستخدمي Python ذوي الخبرة ، ويوفر بعض الميزات التقنية المتقدمة.
# ميزات مذهلة
- دون اتصال Python 3 مترجم: لا يلزم الإنترنت لتشغيل برامج Python
- يدعم تشغيل أنواع متعددة من المشاريع ، بما في ذلك: برنامج وحدة التحكم ، برنامج SL4A ، برنامج webapp
- مريحة قارئ رمز الاستجابة السريعة لنقل الرموز إلى هاتفك
- QPYPI ومستودع مخصص لحزم العجلات مسبقة الصنع للمكتبات العلمية المحسّنة ، مثل numpy ، scipy ، matplotlib ، scikit-Learn ، إلخ
- محرر سهل الاستخدام
- طبقة البرامج النصية المتكاملة والممتدة لـ LIBRARY ANDROID (SL4A): تتيح لك قيادة محرك أندرويد باستخدام بيثون
- التوثيق الجيد ودعم العملاء
# SL4A الميزات
باستخدام ميزات SL4A ، يمكنك استخدام برمجة Python للتحكم في عمل Android:
- واجهة برمجة تطبيقات تطبيقات Android ، مثل: التطبيق ، النشاط ، النية وبدء النشاط ، SendBroadcast ، PackageVersion ، النظام ، الخبز المحمص ، الإخطار ، الإعدادات ، التفضيلات ، واجهة المستخدم الرسومية
- مدير موارد Android ، مثل: جهة الاتصال ، الموقع ، الهاتف ، الرسائل القصيرة ، ToneGenerator ، WakeLock ، WifiLock ، الحافظة ، NetworkStatus ، MediaPlayer
- تكامل التطبيق الثالث ، مثل: الباركود ، المستعرض ، SpeechRecongition ، SendEmail ، TextToSpeech
- مدير Hardwared: كارمر ، الاستشعار ، قارع الأجراس وحجم الوسائط ، سطوع الشاشة ، البطارية ، بلوتوث ، SignalStrength ، كاميرا ويب ، تذبذب ، NFC ، USB
[رابط وثائق API]
https://github.com/qpython-android/qpysl4a/blob/master/README.md
[عينات API]
https://github.com/qpython-android/qpysl4a/issues/1
[ ملاحظة مهمة ]
قد يتطلب الأمر البلوتوث / الموقع / READ_SMS / SEND_SMS / CALL_PHONE وأذونات أخرى ، لذلك يمكنك برمجة هذه الميزات. QPYTHON لن تستخدم هذه الأذونات في الخلفية.
إذا حصلت على استثناء في وقت التشغيل أثناء استخدام API SL4A ، فيرجى التحقق من صلاحيات الأذونات ذات الصلة في إعدادات النظام.
# كيفية الحصول على دعم العملاء المحترفين
يرجى اتباع الدليل للحصول على الدعم https://github.com/qpython-android/qpython/blob/master/README.md
[مجتمع QPython]
https://www.facebook.com/groups/qpython
[ التعليمات ]
ج: لماذا لا يمكنني استخدام SMS API من SL4A
س: نظرًا لأن Google Play وبعض متاجر التطبيقات لديها متطلبات صارمة بشأن أذونات التطبيقات ، في QPython 3x ، نستخدم x لتمييز الفروع بأذونات مختلفة أو appstores. على سبيل المثال ، L تعني LIMITED و S تعني SENSITIVE.
في بعض الأحيان ، لا يمكنك استخدام واجهات برمجة التطبيقات SL4A المقابلة لأن الإصدار الذي قمت بتثبيته لا يحتوي على الأذونات المقابلة ، لذلك يمكنك التفكير في استبدال ما قمت بتثبيته بالإصدار الصحيح.
يمكنك العثور على فروع أخرى هنا:
https://github.com/qpython-android/qpython3/releases