Haxe development on Android tablet

Haxe development on Android tablet

This guide will show you how you can potentially use your Android device to write code and test it.

Basically you need two things:
GnuRoot Debian and Geany code editor.

Prerequisites: Android tablet with hardware keyboard and bluetooth mouse or at less Hacker’s Keyboard installed.

1. Install GnuRoot Debian from Google Play Store.

2. Then push “XTerm” button. It will start X Windows system.

To connect with X Windows I prefer RealVnc Viewer. It's a much better and support full screen.
Password: gnuroot

3. Let's adjust our mini Linux

# apt-get update && apt-get upgrade

... some common tools
# apt-get install apt-utils dialog nano wget links2 p7zip-full net-tools
# apt-get install dropbear  
# apt-get install build-essential
# apt-get install git

... change "tondy" with your username
# adduser tondy

4. Build Haxe from source
# cd /tmp
# git clone --recursive https://github.com/HaxeFoundation/haxe.git
# apt-get install neko ocaml libpcre3 libpcre3-dev zlib1g zlib1g-dev
# cd haxe
# make && make install
# su tondy
$ cd
$ haxelib setup

5. Haxe has a lot of targets: Javascript, php, C++, AS3, python, C#,  lua etc ...
# apt-get install nodejs npm

6. You don't need full desktop like Xfce but only Geany code editor ...
# apt-get install geany geany-plugins
# apt-get install dillo  

... and Dillo web browser

Note: The path to this chroot-ed Debian Linux home folder is

That's it!

Welcome to the future and happy haxing :)

14 Feb 2017, Palma de Mallorca


Popular Posts