Scala Days for Android
Scala on Android
This application is written entirely in Scala on Android. We are excited to make the application open source and share the code with you. We have used the macroid library extensively in this project.
You can compile this project and contribute improvements. To compile the project:
- Download SBT and install it
- Download Android SDK (you only need the command line tools) and set
ANDROID_HOMEenvironment variable pointing to the root folder.
- Clone this GitHub project to your computer
- From project root directory run:
$ sbt -mem 2048
- Connect your phone and execute:
You can use your favorite IDE. At 47 Degrees we use IntelliJ with the Scala plugin. If you want to run this project from IntelliJ you only need to import the project.
Add Debug Keys
You need to add a
debug.properties file to the root project with the necessary keys to compile. The content should be:
google.map.key=*** localytics.key=*** google.project.number=*** google.analytics.key=*** twitter.app.key=*** twitter.app.secret=*** twitter.app.callback.host=*** crashlytics.apikey=*** crashlytics.apisecret=***
If you do not want to utilize the
Crashlytics service, you should create an environment variable
You can contribute to this application and we will do our best to upload your changes to Google Play
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.