An open API service indexing awesome lists of open source software.

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

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)