Essential Android development in Scala

Has anyone managed to develop a substantial Android application in Scala? Is this another option? Are there mature development environments? Given the state of the Scala Eclipse plugin, it seems that no good IDE support exists except perhaps for IntelliJ Ultimate.

Several people posted tutorials describing how to fudge the Eclipse ADT to sort Scala support and how to do href = "/ questions / 27668 / scala-programming-for-android"> removed the Scala libraries using Proguard, but beyond that there was quite a bit of discussion about this topic.

Update 2011-08-01: An interesting article about Android + Scala from developers behind the Bump app: Bump Dev Blog - How we use Scala in Bump for Android

+48
android scala intellij-idea adt
Jan 03 '09 at 9:03
source share
3 answers

I am programming my Android application project in Scala.

If you're interested, you can take a look at this:

Ya, this is a Chinese site, but you can just take a look at the screenshots to get an idea that Scala can do everything with the Android SDK, like Java.

The source code for these two Android apps is hosted on GitHub: http://github.com/brianhsu/Maidroid

Currently, I do not use any IDEs, because Vim / SBT is much more convenient and lightweight than any IDE I have ever used.

And if you use SBT to create your Scala Android application, you don’t need to worry about those gimmicks, just install the sbt android-plugin and set up your project.

You can read this blog post to learn how to create an Android application using SBT.

By the way, I am using my own sbt plugin for handcraft called sbt-android in my project instead of the android-plugin mentioned in this blog post.

+39
Jan 03 '09 at
source share

There is a new AndroidProguardScala plugin that makes everything simple:

stack overflow

Tested on Windows 7 with Eclipse 3.7, scala 2.9 and even without using the command line or user ant tools. With it, I have a real application for my business, which is currently published on the Google game.

+7
Jun 18 2018-12-18T00:
source share

I have a scala android tutorial that allows you to use the ant lifecycle goals provided by android. see here http://saadstechblog.blogspot.com/2011/09/scandroid-scala-android-tutorial.html it also has a link to the github project with everything configured.

+1
Sep 10 2018-11-11T00:
source share



All Articles