Comments (15)
The PyDroid APK do not embed SL4A, some changes would be needed to add this
feature.
Original comment by [email protected]
on 25 Feb 2014 at 10:47
from android-python27.
If PyDroid APK could embed SL4A, it would be very useful like Kivy UI. Now Kivy
uses Plyer instead of SL4A, so it is possible to create effective application
with it. (https://github.com/kivy/plyer). Qt-QML is more stable and rich GUI
than Kivy. So I though PyQt-PySide with SL4A would be better than Kivy. I hope
PyDroid will embed SL4A or Plyer.
Thank you.
Original comment by [email protected]
on 26 Feb 2014 at 9:17
from android-python27.
I think it would not be complicated to add. Note that pyQT here is only QT4,
with the new QT5 (Android support) this might be soon deprecated.
Original comment by [email protected]
on 26 Feb 2014 at 9:36
from android-python27.
Fixed in
https://code.google.com/p/android-python27/source/detail?r=be1f3ab3183765efbc640
544676d2b4f6c297b93
Original comment by [email protected]
on 27 Feb 2014 at 8:29
from android-python27.
Thank you very much! I tryed to build the app according to Readme, changed
/home/tsheasha/.. locations. Failed to build app because there are still many
locations need be changed. Then I applied fixes on PySide example according to
PySide Android tutorial, which uses Python27 for android project.(
http://qt-project.org/wiki/PySide_for_Android_guide ), It built apk but app did
not opened. I did not put "android/libs/armeabi/libPyDroid.so" file and did not
edit main.h and PyDroid.pro paths (PySideExample.pro) for pyside-example
project. I will try to edit python paths according to your project. If still
does not work I will try to active GPS sensor using PyDroid project with Plyer
(by Kivy). (https://github.com/raaron/pydroid and
https://github.com/kivy/plyer) pyjnius and PySide can work with PyDroid. I
tryed examples of this project and they work. Plyer is alternative of SL4A. I
tested GPS example of this project using Kivy, and this actived GPS on device.
I will try them. If one of them works, I will report here.
Regards
Original comment by [email protected]
on 27 Feb 2014 at 11:04
from android-python27.
You just need to import this project into eclipse:
http://code.google.com/p/android-python27/source/browse/#hg%2Fpython-build-with-
qt%2FPyDroid%2Fandroid
And change your sdk path in local.properties (and have installed Android SDK
api 17 or change project.properties to reflect your installed sdk api level)
Then the APK should build fine.
Original comment by [email protected]
on 27 Feb 2014 at 11:22
from android-python27.
APK worked fine with SL4A. Thank you! :)
Original comment by [email protected]
on 28 Feb 2014 at 1:13
from android-python27.
When app is opened first time, It can works with SL4A. But when app is opened
second time app can work without SL4A. Its error:
Traceback (most recent call last):
File "/data/data/org.kde.necessitas.example.PyDroid/files/main.py", line 31, in <module>
droid = android.Android()
File "/data/data/org.kde.necessitas.example.PyDroid/files/python/lib/python2.7/android.py", line 34, in __init__
self.conn = socket.create_connection(addr)
File "/home/tsheasha/GUC/Bachelors/android-python27/python-build/build/lib/python2.7/socket.py", line 553, in create_connection
gaierror: [Errno 8] hostname nor servname provided, or not known.
Original comment by [email protected]
on 1 Mar 2014 at 9:59
from android-python27.
[deleted comment]
from android-python27.
[deleted comment]
from android-python27.
PythonAPK can work on device without problem. After running RPC launcher, then
entering python paths on adb shell, it runs SL4A script only once from
terminal for PythonAPK. So it requires to run RPC launcher again for activating
SL4A script. I could not run RPC launcher with PyDroid example, however reason
of error may be activiting SL4A server while apk is running.
Original comment by [email protected]
on 1 Mar 2014 at 10:22
from android-python27.
I guess rather easy to fix.
Original comment by [email protected]
on 2 Mar 2014 at 7:47
from android-python27.
Sorry. Those fixes kill your time, but I always try to fix them before I ask
you. If PyQt-PySide can be used with SL4A, this can be alternative of Kivy.
Just problem, size of APK is too much :)
Original comment by [email protected]
on 2 Mar 2014 at 8:50
from android-python27.
I applied your fix to PySide example project too. It worked with SL4A script at
first installation, then it did not open. PySide example has Meego Harmattan
QML components which can be easily created GUI, and can be used instead of Qt
Quick 2.0.
Original comment by [email protected]
on 3 Mar 2014 at 12:52
from android-python27.
Also SL4A dialog scripts don't work with PyQt-PySide. (tested get input and
Bluetooth-chat example scripts)
Original comment by [email protected]
on 4 Mar 2014 at 1:36
from android-python27.
Related Issues (20)
- +91-8875513486 %%!!రామ్ దేవ్ జీ%%! vashikaran mantra for love success in Patna +91-8875513486
- +91-8875513486 %%!!రామ్ దేవ్ జీ%%! vashikaran mantra for love success in Vadodara +91-8875513486
- +91-8875513486 %%!!రామ్ దేవ్ జీ%%! vashikaran mantra for love success in Ghaziabad +91-8875513486
- +91-8875513486 %%!!రామ్ దేవ్ జీ%%! vashikaran mantra for love success in Faridabad +91-8875513486
- +91-8875513486 %%!!రామ్ దేవ్ జీ%%! vashikaran mantra for love success in Rajkot +91-8875513486
- +91-8875513486 %%!!రామ్ దేవ్ జీ%%! vashikaran mantra for love success in navi mumbai +91-8875513486
- +91-8875513486 %%!!రామ్ దేవ్ జీ%%! vashikaran mantra for love success in Allahabad +91-8875513486
- +91-8875513486 %%!!రామ్ దేవ్ జీ%%! vashikaran mantra for love success in Dehradun +91-8875513486
- +91-8875513486 %%!!రామ్ దేవ్ జీ%%! vashikaran mantra for love success in Karnal +91-8875513486
- +91-8875513486 %%!!రామ్ దేవ్ జీ%%! vashikaran mantra for love success in Mohali +91-8875513486
- +91-8875513486 %%!!రామ్ దేవ్ జీ%%! vashikaran mantras for love in Bangalore +91-8875513486
- +91-8875513486 %%!!రామ్ దేవ్ జీ%%! vashikaran mantras for love in Pune +91-8875513486
- +91-8875513486 %%!!రామ్ దేవ్ జీ%%! vashikaran mantras for love in Hyderabad +91-8875513486
- +91-8875513486 %%!!రామ్ దేవ్ జీ%%! vashikaran mantras for love in Mumbai +91-8875513486
- +91-8875513486 %%!!రామ్ దేవ్ జీ%%! vashikaran mantras for love in New Delhi +91-8875513486
- How can I pass String value from EditText In Android Activity to Python Script and also make the activity able to retrieve the String result from a function in the python script ?
- Interaction with python file
- Install on external storage
- Can't install android-python27 to Samsung Galaxy 4
- how to create android app in eclipse using python code on windows 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from android-python27.