[Haskell-cafe] ANN: LambdaMC: demo Haskell Android app built with the ghc-android tool.
aemulcahy at gmail.com
Mon Feb 17 23:21:43 UTC 2014
Sorry, I forgot to include the GitHub link:
2014/02/18 6:00 "Anthony Mulcahy" <aemulcahy at gmail.com>:
> Announcing LambdaMC: a demo Haskell Android app to calculate option
> prices by Monte Carlo simulation built with the ghc-android tool.
> Based on the example app at
> Functionality is limited, but it may be a useful reference for anybody
> developing a Haskell Android app:
> - Android Pause / Resume functionality.
> - Screen Rotation support.
> - Background worker thread updates the UI when the calculation is complete.
> - Interaction between various Android UI elements and Haskell code.
> Google Play listing:
> LambdaMC.hs : Haskell app code
> DgAndr.hs : Haskell wrapper for various Android library functions
> DgMath.hs : Haskell option pricing code
> LambdaMC.java : Minimal Java code to support the main Activity
> LicenseActivity.java : Java Activity to display license information
> (need to move more code to Haskell-land)
> - An Android cross-compiler built with the ghc-android tool at
> - The foreign-jni package from https://github.com/neurocyte/foreign-jni
> - The Haskell packages base, deepseq, transformers, mtl, text, time
> ./build_workaround.sh ( to work around the -shared and -r issue
> described at
> sudo adb install -r bin/LambdaMC-debug.apk
> best regards,
> Anthony Mulcahy
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Haskell-Cafe