
Awesome!
I was hoping that someone would do this, and I'd be really happy to see
what could be done here.
This is the big crutch of using Haskell on Android is obviously that the
API sort of sucks for Haskell...
Kris
On Tue, May 28, 2013 at 2:01 PM, CJ van den Berg
No, you can go both ways. You can call Haskell from Java and Java from Haskell.
Write Android Apps in Haskell will of course be just the same as writing Android Apps in Java. That’s just the price you pay for having full API access. There is of course nothing preventing someone from creating more idiomatic Haskell GUI libraries for Android on top of the API bindings.
On 2013-05-28 15:37, Kristopher Micinski wrote:
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
mailto: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
mailto:chak@cse.unsw.edu.au> wrote: CJ van den Berg
mailto: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 mailto:Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
-- CJ van den Berg
mailto:cj@vdbonline.com xmpp:neurocyte@gmail.com