<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Jun 17, 2017 at 3:48 AM, Michael Rueger <span dir="ltr"><<a href="mailto:lists@andience.co.nz" target="_blank">lists@andience.co.nz</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br>
Hi all,<br>
<br>
long time no see :-)<br>
<br>
Recently I spent a bit of time trying to piece together an Android VM using the up to date versions of AndroidStudio, SDK and NDK. Once things are building and running, I was planning to fold everything back into the proper build process.<br>
<br>
Current (somewhat messy) state of things here<br>
<a href="https://github.com/mrueger42/st-android" rel="noreferrer" target="_blank">https://github.com/mrueger42/s<wbr>t-android</a><br>
<br>
It has been quite a long time since I looked at building VMs, so forgive me if I'm just being stupid here...<br>
<br>
I was able to get the original port from Andreas to build and run, but it is a very outdated version. Still nice to have it as a piece of history, I think (AndroidVM in the above repo).<br>
<br>
Some puzzle pieces later I have something running that is based on recent CogSpur opensmalltalk code and bits and pieces I found. Unfortunately CogSpur doesn't seem to play well with the setjmp/longjmp used in the code (CogDroid in the above repo).<br>
<br>
Plus, the VM is running on the UI thread, not something that is viewed well on mobile. Actually it makes Android just kill the app if you block the UI thread for too long.<br></blockquote><div><br></div><div>Maybe of interest is Ronnie's work towards an embeddable VM...</div><div><a href="http://forum.world.st/Removing-most-of-the-windowing-code-td4924496.html">http://forum.world.st/Removing-most-of-the-windowing-code-td4924496.html</a><br></div><div> </div></div>cheers -ben</div></div>