This builds and runs on my phone. Google API updated to 19.
Remove auto generated files in gen directory.
Autogenerate build files
Remove the pre-built libraries, add a script to generate the ant build.xml file and
remove the files that `android update project` generate automatically.
The apk still builds even though libbbcmicro.so is missing. If installed on phone, the app does not work (unless there is an old install which had the library there).
Built libbbcmicro.so :
 export ANDROID_HOME=/home/darren/adt-bundle-linux/sdk/
Run the script ./prepare-android-build.sh
 ~/adt-bundle-linux/sdk/tools/android update project --path .
Now build release or debug :
 ant release
 ant debug

Note : Had to fix line 512 : This is a known problem due to the r8d NDK not picking up properly the android:minSdkVersion property from the AndroidManifest.xml.
To work around that issue change the line 512 of the file /android-ndk-r8d/build/gmsl/__gmsl to:
int_encode = $(__gmsl_tr1)$(wordlist 1,$(words $1),$(__gmsl_input_int))
Fix file encoding to use utf-8
Remove non-free binary jar files
Remove tracking and adverts
Clean up project files
Remove AdMob Manifest settings
Added a fix so that double sided disk images work (if the extension is .DSD or.dsd).
bbcLoadDisc() in main.c is now passed a disk_type parameter which is in turn passed to loaddisc() which already allows for double sided disks.
Slight changes to Beebdriod.java to pass the required new parameter to bbcLoadDisc() based on the file extension (where locally stored disk images are used).