Lately I've been learning Scala and Android programing, and I just got around to combining the two.
The result is my little Is it prime? app which lets you quickly check if a number is prime or not (if not, it also shows you the prime factorisation):
Grab the source from here or get the APK to install directly.After a few false starts I finally managed to configure Eclipse to compile Scala code for Android using Treeshaker:
- http://code.google.com/p/treeshaker/wiki/SettingUpEclipse
- http://code.google.com/p/treeshaker/wiki/CreateNewScalaProject
One the upside this gives me a much nicer language than Java for building Android apps. On the downside it's slow, very slow. Hopefully it'll be optimised more in the future, but for now I think I might unfortunately have to stick with Java for for mobile development.
