[android-developers] Re: Scala with Android 1.5

2009-06-07 Thread michaelg
Thanks for the response Jesper. What all did you do/remove from the Scala source code? I tried using the tips given by Lex Spoon in the note on the Scala site (http://www.scala-lang.org/node/160.) This basically involved tweaking ScalaObject and turning scala.reflect.ScalaBeanInfo into an empty

[android-developers] Re: Scala with Android 1.5

2009-05-26 Thread Raphael
The new SDK 1.5 allows add-ons to be created: these create new system images that can add a custom library. On the Eclipse side, that library gets automatically added to the app classpath. On the Android side, apps then need to include a uses-library in their manifest and they automatically get

[android-developers] Re: Scala with Android 1.5

2009-05-25 Thread Jesper Nordenberg
I had the same problem you describe. After trimming down the scala- library.jar file to only contain the core classes (about 1.8 MB) and adding it as an external jar everything worked fine. However, Eclipse build times are now quite long as the dex file is quite large and is regenerated for each