This page is about developing Android applications written in the Scala programming language. Our objectives are primarly to share our personal experience and to create emulation among the Android and Scala programmer communities.
We kindly thank all people who submitted comments and questions about this work, in particular Johannes, Kevin and Will.
In this series of articles we promote the adoption of the Scala language for developing Android applications and share our experience integrating the Scala development tools with the Android framework.
The following .zip
archive files contain Android examples
written in Scala respectively in Java together with configuration files for
Apache Ant
and the Scala IDE Plugin
for Eclipse. Both the source code and the project files are
licensed under the Apache License, Version 2.0.
Examples written in Scala | Examples written in Java(1) | ||
---|---|---|---|
android-app-dev.zip
|
1.5MB |
android-app-dev.zip
|
0.8MB |
android-in-practice.zip
|
1.2MB | Java source code | |
android-sdk.zip
|
14.6MB |
android-sdk.zip
|
7.3MB |
apps-for-android.zip
|
3.5MB |
apps-for-android.zip
|
3.4MB |
cw-android.zip
|
0.9MB |
cw-android.zip
|
1.9MB |
hello-android.zip
|
4MB |
hello-android.zip
|
2.8MB |
unlocking-android.zip
|
5.2MB |
unlocking-android.zip
|
1.5MB |
(more examples to come) |
(1) Deprecated code from the orginial Java
examples was updated (e.g. Ableson's book,
apps-for-android
project).
For convenience the following .zip
archives contain
.dex
files for various versions of the Scala library:
.zip archives | Scala .dex libraries | |
---|---|---|
scala-framework-2.7.x.zip
|
1.8MB |
2.7.5.final , 2.7.6.final ,
2.7.7.final |
scala-framework-2.8.x.zip
|
4.2MB |
2.8.0.final , 2.8.1.final
|
scala-framework-2.9.x.zip
|
8.8MB |
2.9.0.1 , 2.9.1.final , 2.9.2
|
scala-framework-2.10.x.zip
|
2.8MB |
2.10.0-M3
|
(1) Not available (compiler bug with bytecode generation).
Note: The latest version of the Android examples written in Scala is available from the author's Git repository: