<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Episode 16: Initializing GUI from file]]></title><description><![CDATA[<p dir="auto">This episode shows how to use GUI-O design tool to create GUI initialization commands and transfer them to Android device (where they are stored in a file). GUI-O application can then read and parse the initialization file upon external request from MCU, PC, etc.</p>
<hr />
<h4><strong>NOTE:</strong> This example requires PRO version of GUI-O application. Don't worry, you can still do lots of other great things using free DEMO version of GUI-O!</h4>
<hr />
<p dir="auto"><strong>Software prerequisites:</strong></p>
<ul>
<li>
<p dir="auto">GUI-O design tool (<a href="https://www.gui-o.com/design-tool" rel="nofollow ugc">https://www.gui-o.com/design-tool</a>)</p>
</li>
<li>
<p dir="auto">GUI-O application (<a href="https://play.google.com/store/apps/details?id=com.guio.guioapp" rel="nofollow ugc">https://play.google.com/store/apps/details?id=com.guio.guioapp</a>)</p>
</li>
<li>
<p dir="auto">For additional information about the GUI-O application, download the developer manual from <a href="https://www.gui-o.com/" rel="nofollow ugc">https://www.gui-o.com/</a></p>
</li>
</ul>
<h3>1. CONFIGURE GUI-O DESIGN TOOL</h3>
<p dir="auto">In this example, I will be using TCP/IP connection, but the design tool also supports USB connection. In case of TCP/IP connection, make sure you are connected to the same local network.</p>
<ol>
<li>Determine the local IP address of your PC's network interface (WiFi or Ethernet):</li>
</ol>
<ul>
<li>Under Windows, open the command prompt, enter <code>ipconfig</code> and press Enter</li>
<li>Under Linux, open the terminal, enter <code>ifconfig</code> and press Enter</li>
</ul>
<ol start="2">
<li>
<p dir="auto">Open GUI-O designer and select "TCP/IP connection" tab. Set the IP address and any port number between 49152 - 65535. Click "Start server" button.</p>
</li>
<li>
<p dir="auto">Open GUI-O application and tap "Add" located at the upper-right part of the screen. Tap "Etherned" and add a new device using the same IP address and port. Tap on the created device and wait for successful connection with GUI-O design tool.</p>
</li>
</ol>
<h3>2. CREATE WIDGETS</h3>
<p dir="auto">Create various widgets and observe (and interact with) them in real-time on your Android device. Modify the properties of the widgets based on your preferences.</p>
<h3>3. TRANSFER INITIALIZATION COMMANDS</h3>
<p dir="auto">Send the initialization commands for the created widgets to your Android device, where they are stored in a file that can be parsed "on-demand" by the GUI-O application.</p>
<ol>
<li>
<p dir="auto">Select "Transfer to device" tab.</p>
</li>
<li>
<p dir="auto">Specify the file name and press "Enter" or click on "Start transfer" button. Wait for the transfer to complete.</p>
</li>
</ol>
<p dir="auto">After the transfer is successfully completed, the initialization commands are located in a file on your Android device. You can test this by navigating to "Send command" tab.</p>
<p dir="auto">First, clear the GUI by sending <strong>@cls</strong> command. Then send the command <strong>@fileinit FNA:"&lt;filename&gt;"</strong>, where <strong>&lt;filename&gt;</strong> parameter denotes the full name of the file during commands transfer phase.</p>
<h3>4. VIDEO TUTORIAL</h3>
<p dir="auto">The video tutorial for all steps is shown below.</p>
<p dir="auto"></p><div class="video-embed"><iframe allowfullscreen src="//www.youtube.com/embed/My6mVIDl1tw"></iframe></div><p></p>
<hr />
<p dir="auto">If you have any questions or run into any problems, please let me know!</p>
<p dir="auto">Best regards,<br />
kl3m3n</p>
]]></description><link>https://forum.gui-o.com/topic/139/episode-16-initializing-gui-from-file</link><generator>RSS for Node</generator><lastBuildDate>Sun, 17 May 2026 06:03:57 GMT</lastBuildDate><atom:link href="https://forum.gui-o.com/topic/139.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 18 May 2023 07:56:50 GMT</pubDate><ttl>60</ttl></channel></rss>