Android-Scala-Akka project with separate client and server side - proof of concept. Gradle buildfile is provided just for IntelliJ IDEA project files generation (it cannot perform proper build).
Project consists of three modules:
- server - server-side app in Scala
- client - client-side app in Scala for Android
- core - common classes for client and server
- Install Android SDK (SDK Tools Only).
- Run
tools/android
from newly unpacked Android SDK and install (at least) Android 2.3.3 (API 10). - Run
tools/android avd
and create Android 2.3.3 virtual machine. - Install IntelliJ IDEA
- Run IDEA and go to Configure -> Plugins. Go to Browse repositories..., then find and install Scala plugin. Restart IDEA.
- Clone this repository and invoke
./gradlew idea
from inside. This will download all dependencies and generate IDEA project files. - Open newly created project from IDEA (
akkdroid.ipr
file). - Configure Android SDK in IDEA. Go to File -> Project Structure... -> SDKs. Add new Android SDK. Provide path to your Android SDK installation, then choose Android 2.3.3.
- Configure Android run configurations. Go to Run -> Edit configurations. Add new Android Application run configuration. Select
client
module and your previously created Android virtual machine as the target device.