Skip to content

attempt to get android/erlang working for JInterface purposes...

Notifications You must be signed in to change notification settings

knewter/erlanglauncher

Repository files navigation

Erlang <-> Android JInterface test

So this is a repo that shows that you can use erlang on android via jinterface to talk to erlang on a remote node, easily enough (now that I've done all the hard part).

There's a hard-coded IP address in the android app - you'll want to change that to your android application's local network IP address.

Then locally, run (from this directory):

erl -name [email protected] -setcookie test

then:

c(hello_jinterface).
hello_jinterface:start().

Then run the android app. You will see a ping/pong. That's the successful connection. Huzzah!

Of note, the code to copy Erlang into the filesystem takes quite a while to finish, so it's commented out at the time of this writing. You'll want to uncomment it for the first run of the proof of concept, and then comment it back out for any future fiddling.

About

attempt to get android/erlang working for JInterface purposes...

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published