Re:Develop for Android with Scala
by stefanrusek on Sunday March 21, 2010 @04:57PM
(#1208571)
I used it to create a hello world app that clocks in at 18K.
I did a hello-world in Scala for Android (without this toolkit) shrinking it with proguard and the apk increased by 800kbyte.
Installing on a real device or the emulator is noticeable slower.
You should be able to get the final size to less than 100kb, I can't remember exactly what I ended up with using Proguard but I think it was 30-40kb. It should manage to remove virtually all the Scala library code as hardly any of it would be used.
Re:Develop for Android with Scala
by stefanrusek on Sunday March 21, 2010 @05:15PM
(#1208600)
I added a little more info to the AFS home page.
IT includes a proguard.jar file which I assume is used to remove unnecessary classes from your final application. I managed to get Scala working with Android a while ago by following online guides (a lot more hassle than this looks to be!) and I used proguard for this purpose.
Re:Develop for Android with Scala
by stefanrusek on Sunday March 21, 2010 @04:59PM
(#1208576)
It took me forever to get it working for another app, and after I got it working, I decided to start this project, which makes things a lot easier since it just works.
I need to get around to doing up Hecl for Android 'nicely'.