qpython-android / qpysl4a Goto Github PK
View Code? Open in Web Editor NEWQPySL4A is the Script Layer for Android (SL4A) Library for QPython. It allows you to program to drive Android to work.
License: Apache License 2.0
QPySL4A is the Script Layer for Android (SL4A) Library for QPython. It allows you to program to drive Android to work.
License: Apache License 2.0
I cannot run any script:
/data/user/0/org.qpython.qpy3/files/bin/qpython3-android5-root.sh /storage/emulated/0/qpython/scripts3/.last_tmp.py && exit
/system/bin/sh: /system/etc/mkshrc[23]: export: /sdcard/.aliases: is not an identifier
ts3/.last_tmp.py && exit <
Traceback (most recent call last):
File "/storage/emulated/0/qpython/scripts3/.last_tmp.py", line 2, in <module>
droid = Android()
File "/data/user/0/org.qpython.qpy3/files/lib/python3.6/qpyutil.zip/androidhelper/sl4a.py", line 34, in __init__
File "/data/user/0/org.qpython.qpy3/files/lib/python36.zip/socket.py", line 724, in create_connection
File "/data/user/0/org.qpython.qpy3/files/lib/python36.zip/socket.py", line 713, in create_connection
OSError: getsockaddrarg: bad family
1|HWCOL:/ $
According to SL4A
http://www.mithril.com.au/android/doc/CameraFacade.html
cameraCapturePicture support cameraId
parameter, but it is missed in the python layer.
Would be useful
All APIs need to test
Please tell them one by one and give the results.
It may help for testing:
http://qr.qpy.io/
I have pushed one testcase (Testcase for setClipboard & getClipboard) as a sample.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.