<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">
<blockquote type="cite">
<pre wrap="">This basically means, that it is now possible to write Python & PySide
applications that can be installed from standalone APK packages to
non-rooted user devices, just like any other Android application.</pre>
</blockquote>
<br>
Great work! This is what I've been waiting for, for a long time.<br>
I followed your guide for creating a package (not building
PySide).<br>
I tried this on two machines, both are able to 'build' a package,
and deploy it to the device. Sadly, both packages give the error:
"Unfortunately, PySideExample has stopped".<br>
(Your precompiled package works nicely)<br>
<br>
The following remarks / bottlenecks I came across when using the
guide.<br>
(Note, both machines run WinXp sp3)<br>
<br>
The installer of Necessitas stopped downloading at a random
package, and wouldn't recover (I tried several times).<br>
The solution is to install a lot less, and use the maintenance
tool to install the other packages (one by one if necessary). <br>
It could be that the shortcuts to the maintenance tool do not
work. To solve this,go to the Necessitas-folder, and remove the
'.new' extension from the files: "SDKMaintenanceTool.exe.new" and
"SDKMaintenanceTool.dat.new".<br>
<br>
To install the ADB device driver for your device you can install
PdaNet ([1], alternatives [2])<br>
A Java JDK is necessary (download: [3]), and you need to set the
environment variable JAVA_HOME (to something like: C:\Program
Files\Java\jdk1.7.0_13) [4].<br>
<br>
One machine (PC1), gave an extra error <br>
<blockquote type="cite">"P:/Program Files/Git/bin/sh.exe":
install: command not found<br>
ma-make: [install_target] Error 127 (ignored)<br>
ma-make: Leaving directory
`D:/temp/android-pyside-example-project-master/PySideExample-build-eda69e-Release'<br>
p:\necessitas\android-ndk\toolchains\arm-linux-androideabi-4.4.3\prebuilt\windows\bin\arm-linux-androideabi-strip.exe:
'D:tempandroid-pyside-example-project-masterandroid-pyside-example-project-masterandroidlibsarmeabilibPySideExample.so':
No such file<br>
</blockquote>
According to [5] this is caused by any sh.exe on the Windows
system path. <br>
Remove the git reference from the path results in another error
(Not seen on PC2).<br>
<br>
<blockquote type="cite"><span style=" color:#0000aa;">The process
"P:\necessitas\QtCreator\bin\ma-make.exe" exited normally.</span>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px;
margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span
style=" color:#aa0000;">Cannot find ''.</span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px;
margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span
style=" color:#aa0000;">Please make sure your application is
built successfully and is selected in Application tab ('Run
option').</span></p>
</blockquote>
It somehow also makes more configuration options available
(armv5-Run locally, armv7a, arm7a-Run locally, armv5-MinGW (x86
32bit)).<br>
<br>
Some other remarks:<br>
When I loaded the example-project, it asked me to configure it. Is
this correct?<br>
The guide mentions a "green deploy button", I only see the 2 run
icons, and the android logo button. To deploy I used file menu
(Build -> Deploy Project "PySideExample").<br>
<br>
Kind regards,<br>
<br>
Robbert<br>
<br>
<br>
<br>
[1] <a class="moz-txt-link-freetext"
href="http://www.junefabrics.com/android/download.php">http://www.junefabrics.com/android/download.php</a><br>
[2]
<a class="moz-txt-link-freetext"
href="http://theunlockr.com/2009/10/06/how-to-set-up-adb-usb-drivers-for-android-devices/">http://theunlockr.com/2009/10/06/how-to-set-up-adb-usb-drivers-for-android-devices/</a><br>
[3]
<a class="moz-txt-link-freetext"
href="http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.html">http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.html</a><br>
[4]
<a class="moz-txt-link-freetext"
href="http://stackoverflow.com/questions/5730815/unable-to-locate-tools-jar/10519763#10519763">http://stackoverflow.com/questions/5730815/unable-to-locate-tools-jar/10519763#10519763</a><br>
[5]
<a class="moz-txt-link-freetext"
href="http://community.kde.org/Necessitas/InstallSDK#Common_problems_and_issues_.28Windows.29">http://community.kde.org/Necessitas/InstallSDK#Common_problems_and_issues_.28Windows.29</a><br>
</div>
</body>
</html>