https://github.com/mateuszkubuszok/androidscalaplayground
My playground app to try out Scala features on Android - nothing particularly useful, doesn't work most of the time
https://github.com/mateuszkubuszok/androidscalaplayground
android examples scala
Last synced: 9 months ago
JSON representation
My playground app to try out Scala features on Android - nothing particularly useful, doesn't work most of the time
- Host: GitHub
- URL: https://github.com/mateuszkubuszok/androidscalaplayground
- Owner: MateuszKubuszok
- Created: 2016-09-23T17:46:45.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2016-09-24T10:13:33.000Z (about 9 years ago)
- Last Synced: 2025-01-21T19:11:13.443Z (11 months ago)
- Topics: android, examples, scala
- Language: Scala
- Homepage:
- Size: 337 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Permanently useless Android-Scala playground
Work in progress.
## Development
* Install Android SDK and add its location to env/path variable `ANDROID_HOME`,
* Install SBT 13.11,
* Install IntelliJ Idea 15,
* Install Scala and SBT plugins in IntelliJ,
* For editing sources:
* In IntelliJ select *Import existing project*,
* Select *SBT*,
* Select downloading dependencies, documents and sources,
* Once imported IDE can be used for editing sources, starting Android Emulator and starting Android Device Manager,
* It might be useful to set filter `com.talkie.client` for ADM,
* For running application:
* Run emulator using *Tools*->*Android*->*ADV Manager* and selecting *Nexus*,
* IN a similar manner run *Android Device Manager* to monitor device and preview logs,
* Run `sbt` within project directory and select `project app` and run `android:run` task.
* For watching logs:
* build application in debug mode and deploy: `sbt "project app" android:debug`,
* within IntelliJ either
* open *Android* view,
* navigate into *logcat*,
* select `com.talkie.client` application,
* or use *Android Device Monitor* for the same purpose.
* For debugging:
* deploy debug app as above,
* check the right port for application using *Android Device Monitor* (numbers next to `com.talkie.client` on last
column),
* configure *Remote Debug* *Run Configuration*: *Host* -> `localhost`, *Port* -> `port that you found`,
* run the task and start debugging.