News for hackers. Stuff that matters.
Re:Develop for Android with Scala by davidw on Sunday March 21, 2010 @04:30PM (#1208527)
Cool! Do you know if this ads much/anything to the apk runtime size? The documentation seems a little bit scarce at the moment.

I need to get around to doing up Hecl for Android 'nicely'.

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.
Re:Develop for Android with Scala by biafra on Sunday March 21, 2010 @04:45PM (#1208552)
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.

Re:Develop for Android with Scala by andrew1 on Sunday March 21, 2010 @04:52PM (#1208566)
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.
Re:Develop for Android with Scala by andrew1 on Sunday March 21, 2010 @04:39PM (#1208541)
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.