I guess you can't really go from native -> framework code like this, so this would really make sense only for native methods that are self contained.  Is this right?  It seems like this would imply that you can only write parts of an app's computation in Haskell, not the whole thing.  But maybe I'm wrong.  I have seen people that write apps in native / managed code integrating in a reasonable way, but it's very ugly afaik.

Kris


On Tue, May 28, 2013 at 9:35 AM, Kristopher Micinski <krismicinski@gmail.com> wrote:
I'm also interested in seeing this.

Have you ported the Haskell runtime to Android?  It seems like this should be able to be done, and through the JNI it seems like you should be able to get the system API (albeit, ugly).

However, I'd be really happy to see this setup if you were willing to put it up somewhere so I could hack on it too.

Kris


On Mon, May 27, 2013 at 8:07 PM, Manuel M T Chakravarty <chak@cse.unsw.edu.au> wrote:
CJ van den Berg <cj@vdbonline.com>:
> I have successfully written Java/Haskell programs using the Java
> Native Interface. You can find my JNI to Haskell binding library at
> https://github.com/neurocyte/foreign-jni. I am primarily using it to
> write Android Apps with Haskell,

Just out of curiosity, have you got any complete apps that you built that way? Are they in the Google Store?

Manuel


_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe