<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
I tried and I get the following error when I try to use autoclass
function.<br>
<br>
DisplayMetrics = autoclass('android.util.DisplayMetrics')<br>
<br>
=> error<br>
parent module "" not loaded, cannot perform relative import<br>
<br>
This is probably because of the _jnius rewrite but since I can't get
a full traceback I'm not sure where the problem is.<br>
<br>
Is there a way to redirect stderr (for traceback) and stdout (for
print) to QtCreator debugger ?<br>
<br>
<br>
<div class="moz-signature"><small><font color="#009900"><b>Seb</b></font><b><br>
<br>
</b> </small></div>
<div class="moz-cite-prefix">Le 15/08/2015 13:47, Phil Thompson a
écrit :<br>
</div>
<blockquote
cite="mid:03041E1B-921E-4A11-954E-EE0F2E5D5FA9@riverbankcomputing.com"
type="cite">
<pre wrap="">I’ve got as far as being able to…
import jnius
print(jnius.__version__)
…on Android. I’m pretty confident that nothing else will work.
I’ve documented how to get this far in the attached document. Hopefully somebody can use this as a basis of getting something working properly.
Phil
</pre>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
PyQt mailing list <a class="moz-txt-link-abbreviated" href="mailto:PyQt@riverbankcomputing.com">PyQt@riverbankcomputing.com</a>
<a class="moz-txt-link-freetext" href="http://www.riverbankcomputing.com/mailman/listinfo/pyqt">http://www.riverbankcomputing.com/mailman/listinfo/pyqt</a></pre>
</blockquote>
<br>
</body>
</html>