akkdroid

Stars
9

akkdroid

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

Setup instructions

  1. Install Android SDK (SDK Tools Only).
  2. Run tools/android from newly unpacked Android SDK and install (at least) Android 2.3.3 (API 10).
  3. Run tools/android avd and create Android 2.3.3 virtual machine.
  4. Install IntelliJ IDEA
  5. Run IDEA and go to Configure -> Plugins. Go to Browse repositories..., then find and install Scala plugin. Restart IDEA.
  6. Clone this repository and invoke ./gradlew idea from inside. This will download all dependencies and generate IDEA project files.
  7. Open newly created project from IDEA (akkdroid.ipr file).
  8. 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.
  9. 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.