As a brief note to self, this is how I compiled/built an Android application (APK) from the MacOS command line and then ran it in an emulator. I include both my application- and system-specific notes, as well as the more generic commands I found at this Android.com URL:
The project I linked to demonstrates a complicated SBT build.sbt file for a multi-project build.
This page is a collection of popular tools, libraries, and frameworks for the Scala programming language.Back to top
I haven’t tried it yet, but Pants is a build system that supports Scala and Java projects (and other languages).
I recently learned how to use the Java javapackager command to build a macOS application bundle — i.e., a regular macOS application — from a Java application. In this tutorial I’ll show how to create a Mac application bundle from a simple Java class, in this case a Java Swing class.
Three assumptions in this process are:
I was looking for a good way to access XML resources (like RSS feeds) in Scala, and I currently like the idea of using ScalaJ-HTTP to access the URL and download the XML content, and then using the Scala XML library to process the XML string I download from the URL.
This example Scala program shows my current approach:
For my TypewriterFX application (which plays Mac OS X typewriter sound effects), I wanted/needed to control the JVM that was used to run the application. The way it works, TypewriterFX plays sounds as fast as it can -- as fast as you type -- so I needed the JVM to be more like the old client JVM than a typical server JVM.