<div dir="ltr"><br><div class="gmail_quote"><div dir="ltr">Hi David,<br><div class="gmail_extra"><br><div class="gmail_quote"><span class="">On Wed, May 18, 2016 at 3:26 AM, David Boddie <span dir="ltr"><<a href="mailto:david@boddie.org.uk" target="_blank">david@boddie.org.uk</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><span>On Tue May 17 14:36:31 EDT 2016, Bill Janssen wrote:<br>
<br>
> In case you weren't aware, you can just write Android apps and services<br>
> in Python, using Kivy. No need to invent another language.<br>
<br>
</span>Oh, I know about the CPython solutions on Android, like Kivy and PyQt.<br>
It was interesting for me to consider how to construct applications that<br>
don't rely on native libraries to run, or the Android SDK/NDK to build.<br>
It was interesting to see that projects like Androguard had already done<br>
a lot of this before.<br>
<br>
I chose to try and do something with a Python-like language because it's<br>
familiar to me. The modules that the compiler uses are more likely to be<br>
useful to people, especially those doing Jython-like solutions for Android,<br>
though I realise that going via Java bytecode rather than direct to Dalvik<br>
is the preferred route.<br>
<span><font color="#888888"><br></font></span></blockquote><div><br></div></span><div>This is a really interesting approach - thanks for sharing. </div><div><br></div><div>I’ve been doing something similar recently with VOC [1]. I’m targetting Java bytecode rather than Dalvik, but with a similar end goal: to take Python source code, and deploy it to Android as a native application without needing to use the Android NDK. A couple of weeks ago I published a video showing a native iOS, Android and single-page web app, all doing the same thing running on Python [2], using this toolchain (plus some other tools).</div><div><br></div><div>Of course, you’ve got the added bonus that you don’t need the Android SDK either, which would be a huge win in my book. What’s the impact of Android’s move to ART on this approach? </div><div><br></div><div>[1] <a href="https://github.com/pybee/voc" target="_blank">https://github.com/pybee/voc</a></div><div>[2] <a href="https://www.youtube.com/watch?v=RisCgSIWwLA" target="_blank">https://www.youtube.com/watch?v=RisCgSIWwLA</a></div><div><br></div><div>Yours</div><div>Russ Magee %-)</div><div><br></div><div><br></div></div></div></div></div></div>