<div dir="ltr"><div><div><div>Hi Martin,<br><br></div>this is wonderful work.<br>Do you think you could add the guide to PySide Wiki ?<br><br></div>Thanks<br></div>Roman<br><div><div><div class="gmail_extra"><br><br><div class="gmail_quote">
2013/2/18 Martin Kolman <span dir="ltr"><<a href="mailto:martin.kolman@gmail.com" target="_blank">martin.kolman@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi,<br>
I would like announce that I've managed to build Shiboken & PySide<br>
against the latest Necessitas Qt libraries for Android.<br>
I've also found found a way to bundle all the necessary libraries to<br>
single standalone Android APK package.<br>
<br>
This basically means, that it is now possible to write Python & PySide<br>
applications that can be installed from standalone APK packages to<br>
non-rooted user devices, just like any other Android application.<br>
While I haven't tried that yet, it should be also possible to submit<br>
them to Google Play and other online Android application<br>
stores/repositories.<br>
<br>
<br>
Build & usage guide<br>
I've written this comprehensive Pyside for Android guide:<br>
<a href="http://modrana.org/trac/wiki/PySideForAndroid" target="_blank">http://modrana.org/trac/wiki/PySideForAndroid</a><br>
<br>
The guide covers & contains:<br>
* building PySide for Android from source<br>
* description of how the PySide port & packaging works on Android<br>
* an example Python & PySide & Qt Components application in the form of<br>
an installable standalone APK<br>
* an example project for the Necessitas Qt Creator + instructions how to<br>
modify it to generate APKs for custom applications<br>
* links to source code<br>
* links to pre-built binaries<br>
<br>
<br>
Screenshots<br>
<a href="http://modrana.org/trac/wiki/ScreenshotsEN#PySideQtComponentsexample" target="_blank">http://modrana.org/trac/wiki/ScreenshotsEN#PySideQtComponentsexample</a><br>
These screenshots show the example application after it is installed &<br>
started on an android device (HP Touchpad with CM9 in this case).<br>
The example application uses MeeGo Qt Components, which are also bundled<br>
together with a cut-down theme and the other libraries (Python & PySide)<br>
in the APK.<br>
<br>
<br>
Looking forward to your feedback ! :)<br>
<br>
<br>
Acknowledgement<br>
This project is building on the awesome work done previously by others.<br>
I basically "just" put the puzzle together. :)<br>
<br>
* Thomas Perl - showed that PySide for Android is possible<br>
* Ssortagem@Github - integrated & improved THPs patches for Shiboken and<br>
PySide<br>
* android-python27 - solved the APK bundling issue, created the initial<br>
Qt Creator Project & provides Android-buildable Python 2.7<br>
* the BlackBerry-Py project - I've used their PySide build instructions<br>
as a base when making the Android build scripts<br>
* the Necessitas project - made Qt on Android possible & provides the<br>
Necessitas Qt Creator<br>
* Qt - provided the GUI toolkit :)<br>
* PySide - provided the Python-Qt bindings<br>
* Ineans Qt Components - provided the Qt Components used in the example<br>
application & project<br>
<br>
Thanks a lot, without your work, this would not be possible ! :)<br>
<br>
Kind regards<br>
<span class="HOEnZb"><font color="#888888">Martin Kolman<br>
_______________________________________________<br>
PySide mailing list<br>
<a href="mailto:PySide@qt-project.org">PySide@qt-project.org</a><br>
<a href="http://lists.qt-project.org/mailman/listinfo/pyside" target="_blank">http://lists.qt-project.org/mailman/listinfo/pyside</a><br>
</font></span></blockquote></div><br></div></div></div></div>