Difference between revisions of "Android"
Jump to navigation
Jump to search
(Added "Stub" macro) |
|||
(6 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
{{Stub}} |
{{Stub}} |
||
− | = |
+ | == Introduction == |
+ | |||
+ | Android is an operating system for mobile phones, based on Linux; software development is mainly done in Java. See the [http://en.wikipedia.org/wiki/Android_(operating_system) Wikipedia article] for more information. |
||
+ | |||
+ | == How to develop Android software in Haskell == |
||
+ | |||
+ | Use the [http://en.wikipedia.org/wiki/Java_Native_Interface JNI] to Haskell binding library [https://github.com/neurocyte/foreign-jni foreign-jni]; demonstration of the use: [https://github.com/neurocyte/android-haskell-activity android-haskell-activity]. |
||
+ | |||
+ | Another option is, to use Thrift, as described in the blog article [http://mortenib.wordpress.com/2009/10/29/thrift-and-haskell/ Thrift and Haskell] |
||
+ | |||
+ | There is |
||
+ | [https://github.com/ajhc/demo-android-ndk NativeActivity demo application] |
||
+ | using [http://ajhc.metasepi.org/ Ajhc Haskell compiler]. |
||
+ | |||
+ | == Discussions == |
||
* StackOverflow: [http://stackoverflow.com/questions/5151858/running-a-haskell-program-on-the-android-os Running a Haskell program on the Android OS] |
* StackOverflow: [http://stackoverflow.com/questions/5151858/running-a-haskell-program-on-the-android-os Running a Haskell program on the Android OS] |
||
Line 7: | Line 21: | ||
* Google+ [https://plus.google.com/101555949501667191720/posts/JaFk1HS5oR7 So who else is interested in getting Haskell running on Android?] |
* Google+ [https://plus.google.com/101555949501667191720/posts/JaFk1HS5oR7 So who else is interested in getting Haskell running on Android?] |
||
⚫ | |||
⚫ | |||
+ | |||
+ | * [http://hackage.haskell.org/trac/ghc/wiki/Building/CrossCompiling Cross-compiling GHC] |
||
+ | * [https://github.com/neurocyte/ghc-android ghc-android]; a build script for building ghc cross compilers targeting Android. |
||
* [[ARM]] |
* [[ARM]] |
||
* [https://ghcarm.wordpress.com/ GHC on ARM] |
* [https://ghcarm.wordpress.com/ GHC on ARM] |
||
* [[iPhone]] |
* [[iPhone]] |
||
+ | |||
[[Category:OS]] |
[[Category:OS]] |
Revision as of 15:03, 7 October 2013
This article is a stub. You can help by expanding it.
Introduction
Android is an operating system for mobile phones, based on Linux; software development is mainly done in Java. See the Wikipedia article for more information.
How to develop Android software in Haskell
Use the JNI to Haskell binding library foreign-jni; demonstration of the use: android-haskell-activity.
Another option is, to use Thrift, as described in the blog article Thrift and Haskell
There is NativeActivity demo application using Ajhc Haskell compiler.
Discussions
- StackOverflow: Running a Haskell program on the Android OS
- Reddit: Haskell on Android, Haskell bindings for Android NDK APIs and An ARM port of GHC that works (so we can program the iphone or android)
- Google+ So who else is interested in getting Haskell running on Android?
Related
- Cross-compiling GHC
- ghc-android; a build script for building ghc cross compilers targeting Android.
- ARM
- GHC on ARM
- iPhone