https://github.com/angerman/2018-01-meetupdemo
Haskell Android Demo Application for the haskell.sg Meetup Talk
https://github.com/angerman/2018-01-meetupdemo
Last synced: about 1 year ago
JSON representation
Haskell Android Demo Application for the haskell.sg Meetup Talk
- Host: GitHub
- URL: https://github.com/angerman/2018-01-meetupdemo
- Owner: angerman
- Created: 2018-01-11T08:51:40.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-01-12T02:35:55.000Z (over 8 years ago)
- Last Synced: 2025-03-18T15:48:37.762Z (about 1 year ago)
- Language: Kotlin
- Size: 81.1 KB
- Stars: 23
- Watchers: 2
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 2018-01-MeetupDemo
Haskell Android Demo Application for the haskell.sg Meetup Talk
This is a very(!) [simple haskell library](app/src/main/hs/Lib.hs). The intention is to demostrate the
necessary glue code to have an android application calling haskell and
displaying the result. It follows closely the sample C++ JNI demo template
that Android Studio generates.
## Building
With the cross compiler and toolchain in place, running the [`Makefile`](app/Makefile)
(`make all`) in the `app` directory should generate the necessary static
libraries for `x86_64` (Simulartor), `armveabi-v7a` (arm32), and
`arm64-v8a` (aarch64) in the `hs-libs` folder.
## Installing
With the static libraries generated, hitting the Run button in Android
Studio should install the application on the Simulator or Device.
---
Slides @ [speakerdeck.com/angerman/building-android-apps-with-haskell](https://speakerdeck.com/angerman/building-android-apps-with-haskell)