Personal tools

Android

From HaskellWiki

(Difference between revisions)
Jump to: navigation, search
(Add link to demo using Ajhc Haskell compiler)
m (Added information about hugs-android)
 
(One intermediate revision by one user not shown)
Line 3: Line 3:
 
== Introduction ==
 
== 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.
+
Android is an operating system for mobile devices, 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 ==
 
== How to develop Android software in Haskell ==
Line 11: Line 11:
 
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]
 
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
+
See also the
 
[https://github.com/ajhc/demo-android-ndk NativeActivity demo application]
 
[https://github.com/ajhc/demo-android-ndk NativeActivity demo application]
using [http://ajhc.metasepi.org/ Ajhc Haskell compiler].
+
using the [http://ajhc.metasepi.org/ Ajhc Haskell compiler].
  +
   
 
== Discussions ==
 
== Discussions ==
Line 26: Line 26:
 
* [http://hackage.haskell.org/trac/ghc/wiki/Building/CrossCompiling Cross-compiling GHC]
 
* [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.
 
* [https://github.com/neurocyte/ghc-android ghc-android]; a build script for building ghc cross compilers targeting Android.
  +
* [https://github.com/conscell/hugs-android hugs-android]; a port of HUGS Haskell interpreter to Android.
 
* [[ARM]]
 
* [[ARM]]
 
* [https://ghcarm.wordpress.com/ GHC on ARM]
 
* [https://ghcarm.wordpress.com/ GHC on ARM]

Latest revision as of 21:24, 17 February 2014

This article is a stub. You can help by expanding it.

Contents

[edit] 1 Introduction

Android is an operating system for mobile devices, based on Linux; software development is mainly done in Java. See the Wikipedia article for more information.


[edit] 2 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

See also the NativeActivity demo application using the Ajhc Haskell compiler.


[edit] 3 Discussions


[edit] 4 Related