[Vm-dev] Android VM threaded

Michael Rueger lists at andience.co.nz
Thu Jul 6 05:22:32 UTC 2017

Hi Ben,

as much as I hate to do this, but I think at this point Pharo/Squeak on Android is simply not an option.

You can't code on the device yet (no keyboard input) and for any real work you would need to remote (VNC) into the image 
anyways. But, also no working sockets yet. And no JNI support.

With the limited time you have, Android native is your better bet. I'm also pretty sure Mr. Google will find decent 
examples for your problems to start with. Never worked with anything bluetooth myself yet on Android, so I'm of no help 
here, unfortunately.

Good luck with the project!
Will be happy to help you with any demo at a later point, when things are actually working.



> This is amazingly good timing.  I have an immediate, urgent need for Pharo on Android.  I understand the graphics might 
> not quite be there, but the potential is enticing.  Could I possibly get on a Discord chat and/or Skype with you?
> I'm in the middle of a two week hackathon and needing an Android phone to listen to Bluetooth GAP advertisements from a 
> Raspberry Pi transmitting its GPS coordinates, and then drawing a simple graphic showing the relative location of the 
> transmitter and the phone.  I've had minor success with...
> https://hackaday.io/project/10314-raspberry-pi-3-as-an-eddystone-url-beacon 
> <https://hackaday.io/project/10314-raspberry-pi-3-as-an-eddystone-url-beacon>
> using Nicolas Bridoux's "Beacon Scanner" on my Android phone.
> https://github.com/Bridouille/android-beacon-scanner <https://github.com/Bridouille/android-beacon-scanner>
> What chance do you think a Pharo image has of receiving such events?  I'm about six hours old with Android Studio, done 
> the FirstApp tutorial (https://developer.android.com/training/basics/firstapp/index.html 
> <https://developer.android.com/training/basics/firstapp/index.html>)
> and right now working through the Graphics/Aninamation tute 
> (https://developer.android.com/training/building-graphics.html 
> <https://developer.android.com/training/building-graphics.html>)  but much rather be working in Pharo.
> The benefit for the community is I get to promote Pharo to BHP's new formed Technology group.  BHP are a fortune 500 
> company putting on ~2000 people globally to work on Industrial Internet Of Things.  There are some really interesting 
> graphs in this video...
> https://unearthed.solutions/digital-tribes-perth/ <https://unearthed.solutions/digital-tribes-perth/>
> Even if the hackthon is too time constrained to get something working, I hope to be able to follow up with BHP to 
> demonstrate Pharo and seek their support for it.
> What timezone are you?  I'm GMT+8, but I'm a night owl happy to work around the clock.
> cheers -ben
> Skype: Ben Coman, Collie, (Western) Australia.
> On Thu, Jul 6, 2017 at 3:31 AM, Michael Rueger <lists at andience.co.nz <mailto:lists at andience.co.nz>> wrote:
>         Congratulations and thank you!  Are you planning to fold the vm changes back into opensmalltalk/vm?
>     yes, definitely, that was the idea, was just easier for me to work directly in AndroidStudio first.
>     Cheers
>     Michael

More information about the Vm-dev mailing list