<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">An example is a good idea. It also
forces me to try some features of the SL4A framework. Is there a
very simple chat client & server example available that I
could adapt?<br>
When I have a working example, I will put it all up on github. I
hope I will get it done this weekend.<br>
<br>
Regards,<br>
*Erik.<br>
<br>
On 01/10/2013 08:56 PM, Joe Armstrong wrote:<br>
</div>
<blockquote
cite="mid:CAANBt-p_MYELyxa=W-E0BbT=DuKxXP=VMxj_bRTEDsJZj_gXEg@mail.gmail.com"
type="cite">That's great - by coincidence I was asking earlier
this week about porting
<div>Erlang to Android.</div>
<div><br>
</div>
<div>The Erlang license says if you improve the system you have to
make the </div>
<div>improvements available to the OTP people - but how this is
done is not defined :-)</div>
<div><br>
</div>
<div>Personally I'd put the sources up on github and tell us
adding your own licence</div>
<div>to your parts.</div>
<div><br>
</div>
<div>I'd very much like to see a simple example in the release -
for example</div>
<div>how to make a chat window and send messages to an external
server</div>
<div>(all in Erlang) I hope ...</div>
<div><br>
</div>
<div>Sounds fantastic. </div>
<div><br>
</div>
<div>Cheers</div>
<div><br>
</div>
<div>/Joe<br>
<br>
<div class="gmail_quote">On Thu, Jan 10, 2013 at 8:36 PM, Erik
Reitsma <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:erlang@ernovation.com" target="_blank">erlang@ernovation.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi all,<br>
<br>
I have ported Erlang/OTP R15B03 to Android, to work with
Scripting Layer for Android (SL4A). This involved some
patches to the Erlang/OTP source and build scripts
(configure, Makefile, etc). I also wrote the installation
app to install is under SL4A. Access to the SL4A API is
provided, but I have not tried all available functions. I
have included all OTP applications except the ones that are
only useful with a gui.<br>
<br>
It is possible to use the interactive shell or to specify a
.erl file (which will be compiled if not yet compiled) and
run its main/0 function.<br>
<br>
I have tried the port on some Android devices, and it worked
on all of them. The device does not need to be rooted to use
the port.<br>
<br>
What would be the best way to release this to the public,
considering the license of Erlang/OTP? Should I put the
entire source on some repository provider, or just a script
that will modify the original Erlang/OTP sources?<br>
<br>
Regards,<br>
*Erik.<br>
<br>
_______________________________________________<br>
erlang-questions mailing list<br>
<a moz-do-not-send="true"
href="mailto:erlang-questions@erlang.org" target="_blank">erlang-questions@erlang.org</a><br>
<a moz-do-not-send="true"
href="http://erlang.org/mailman/listinfo/erlang-questions"
target="_blank">http://erlang.org/mailman/listinfo/erlang-questions</a><br>
</blockquote>
</div>
<br>
</div>
</blockquote>
<br>
</body>
</html>