<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Arial,Helvetica,sans-serif;" dir="ltr">
<p><br>
</p>
<p><br>
</p>
<div style="color: rgb(0, 0, 0);">
<div>
<div id="x_divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>De :</b> fpc-other <fpc-other-bounces@lists.freepascal.org> de la part de Paul Breneman <Paul2006@BrenemanLabs.com><br>
<b>Envoyé :</b> dimanche 28 mai 2017 23:46<br>
<b>À :</b> fpc-other@lists.freepascal.org<br>
<b>Objet :</b> Re: [fpc-other] Using ideU for beginners</font>
<div> </div>
</div>
</div>
<div class="PlainText" style="font-size: 10pt;">On 05/28/2017 09:14 AM, Paul Breneman wrote:<br>
> I got a little started: <a href="http://wiki.freepascal.org/ideU" id="LPlnk760040" previewremoved="true">
http://wiki.freepascal.org/ideU</a><br>
> <br>
> Probably should add additional pages for:<br>
> A) Example of use (polYdev, translating fpc applications into Java <br>
> applications with text that started this message thread)<br>
> B) How to start (for beginners per <a href="http://www.controlpascal.com/tutorial.htm" id="LPlnk387675" previewremoved="true">
www.controlpascal.com/tutorial.htm</a> <br>
<br>
> *after* start with mini distributions)<br>
> - first step (install complete fpc, compile & run a console program like <br>
> *Hello World*, introduce debugging?)<br>
> - second step (install fpGUI, compile & run Control Terminal)<br>
> <br>
> How simple can we make this?<br>
<br>
I think that before creating more new pages for beginners that I should <br>
do what I mentioned a few days ago.  I'm still a beginner myself!  :)<br>
<br>
 From the new wiki page: <a href="http://wiki.freepascal.org/ideU" id="LPlnk400537" previewremoved="true">
http://wiki.freepascal.org/ideU</a><br>
<br>
To see ideU in operation (in translating fpc applications into Java <br>
applications) watch this 6 MB video: <br>
<a href="https://sites.google.com/site/designerext/fpc_java.mp4" id="LPlnk910016" previewremoved="true">https://sites.google.com/site/designerext/fpc_java.mp4</a> and follow these
<br>
instructions: <br>
<a href="http://lists.freepascal.org/pipermail/fpc-pascal/2017-April/050711.html" id="LPlnk3977" previewremoved="true">http://lists.freepascal.org/pipermail/fpc-pascal/2017-April/050711.html</a><br>
<br>
I'll try to figure out how to do things first on my 64-bit Xubuntu 16.04 <br>
for a console program.  After that is clear it should be easier to try <br>
the same thing on Android?<br>
_______________________________________________<br>
<br>
</div>
<div class="PlainText" style="font-size: 10pt;">Hello Paul.</div>
<div class="PlainText" style="font-size: 10pt;"><br>
</div>
<div class="PlainText" style="font-size: 10pt;">It should be possible because, in fact, fpGUI applications is also a console program. </div>
<div class="PlainText" style="font-size: 10pt;"><br>
</div>
<div class="PlainText" style="font-size: 10pt;"><span style="font-size: 13.3333px;">For a console program a terminal emulator is needed, like Jon</span><span style="font-size: 10pt;"> Foster explained in that topic : </span><br>
</div>
<div class="PlainText" style="font-size: 10pt;"><a href="http://free-pascal-general.1045716.n5.nabble.com/fpc-code-for-Java-class-and-Android-td5728166.html" class="OWAAutoLink" id="LPlnk480975" previewremoved="true">http://free-pascal-general.1045716.n5.nabble.com/fpc-code-for-Java-class-and-Android-td5728166.html</a></div>
<br>
<div class="PlainText" style="font-size: 10pt;"><i>---></i></div>
<div class="PlainText" style="font-size: 10pt;"><i><br>
</i></div>
<div class="PlainText" style="font-size: 10pt;"><i><span style="font-family: Verdana, Geneva, Helvetica, Arial, sans-serif; font-size: 13.44px;">The only thing that console apps need is a terminal emulator. A bunch of </span><br style="font-family: Verdana, Geneva, Helvetica, Arial, sans-serif; font-size: 13.44px;">
<span style="font-family: Verdana, Geneva, Helvetica, Arial, sans-serif; font-size: 13.44px;">ways that can happen and it depends on whether this is to be provided </span><br style="font-family: Verdana, Geneva, Helvetica, Arial, sans-serif; font-size: 13.44px;">
<span style="font-family: Verdana, Geneva, Helvetica, Arial, sans-serif; font-size: 13.44px;">through the Android market or not. If not things are much easier. Terminal </span><br style="font-family: Verdana, Geneva, Helvetica, Arial, sans-serif; font-size: 13.44px;">
</i><span style="font-family: Verdana, Geneva, Helvetica, Arial, sans-serif; font-size: 13.44px;"><i>emulators abound you can pretty much just pick one. </i></span></div>
<div class="PlainText" style="font-size: 10pt;"><i><br>
</i></div>
<div class="PlainText" style="font-size: 10pt;"><i>---></i></div>
<div class="PlainText" style="font-size: 10pt;"><i><br>
</i></div>
<div class="PlainText" style="font-size: 10pt;">OK.</div>
<div class="PlainText" style="font-size: 10pt;"><br>
</div>
<div class="PlainText" style="font-size: 10pt;">Now the challenge is to create a Java class and find the code that will:</div>
<div class="PlainText" style="font-size: 10pt;"><br>
</div>
<div class="PlainText" style="font-size: 10pt;">--> re-direct the result of main-method of your console-app-transformed-into-Java-library into
<span style="font-family: Calibri, Arial, Helvetica, sans-serif, EmojiFont, "Apple Color Emoji", "Segoe UI Emoji", NotoColorEmoji, "Segoe UI Symbol", "Android Emoji", EmojiSymbols; font-size: 13.3333px;">
that emulated-terminal.</span></div>
<div class="PlainText" style="font-size: 10pt;"><br>
</div>
<div class="PlainText" style="font-size: 10pt;"><span style="font-family: Verdana, Geneva, Helvetica, Arial, sans-serif; font-size: 13.44px;"></span>So, maybe, the trick could be done with Android too (if there is a  Android-terminal-emulator).</div>
<div class="PlainText" style="font-size: 10pt;"><br>
</div>
<div class="PlainText" style="font-size: 10pt;">Other ideas are welcome.</div>
<div class="PlainText" style="font-size: 10pt;"><br>
</div>
<div class="PlainText" style="font-size: 10pt;">Fre;D</div>
<div class="PlainText"><i><span style="font-size: 13.3333px;"><br>
</span></i></div>
<div class="PlainText"><i><span style="font-size: 13.3333px;"><br>
</span></i><br>
</div>
</div>
</div>
</body>
</html>