<?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" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[TotalCross Community - Medium]]></title>
        <description><![CDATA[Focused on publishing articles and tutorials about cross-platform software development ( Embedded systems, Android, iOS, and others) using TotalCross Java framework. - Medium]]></description>
        <link>https://medium.com/totalcross-community?source=rss----caa1aff33d05---4</link>
        <image>
            <url>https://cdn-images-1.medium.com/proxy/1*TGH72Nnw24QL3iV9IOm4VA.png</url>
            <title>TotalCross Community - Medium</title>
            <link>https://medium.com/totalcross-community?source=rss----caa1aff33d05---4</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 16 Nov 2026 15:02:46 GMT</lastBuildDate>
        <atom:link href="https://medium.com/feed/totalcross-community" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Versions 4.8.1 and 5.6.1 — Improved TLS support with mbedTLS and more]]></title>
            <link>https://medium.com/totalcross-community/versions-4-8-1-and-5-6-1-improved-tls-support-with-mbedtls-and-more-621d04d2a626?source=rss----caa1aff33d05---4</link>
            <guid isPermaLink="false">https://medium.com/p/621d04d2a626</guid>
            <category><![CDATA[java]]></category>
            <category><![CDATA[totalcross]]></category>
            <category><![CDATA[mbed-tls]]></category>
            <category><![CDATA[security]]></category>
            <dc:creator><![CDATA[Fabio Sobral]]></dc:creator>
            <pubDate>Fri, 10 Feb 2023 17:33:12 GMT</pubDate>
            <atom:updated>2023-02-10T21:33:52.577Z</atom:updated>
            <content:encoded><![CDATA[<p>Versions 4.8.1 and 5.6.1 — Improved TLS support with mbedTLS and more</p><p>The first release for this year comes with a big step up for security and support for TLS connections, along with the usual building upgrades, a new option for Android deploy and reduced application size after a new year&#39;s cleanup.</p><h3>mbedTLS support</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kEx0sYPX8lgpoJcffCctRg.png" /></figure><p>TotalCross has been using axTLS library for X.509 certificate manipulation and SSL/TLS support since day one, but the time has come for us to look for an alternative better suited for today&#39;s needs.</p><blockquote>Mbed TLS is a C library that implements cryptographic primitives, X.509 certificate manipulation and the SSL/TLS and DTLS protocols. Its small code footprint makes it suitable for embedded systems.</blockquote><p>The main benefit of using <a href="https://github.com/Mbed-TLS/mbedtls">mbedTLS</a> is the support of additional cryptographic algorithms, some of them being the industry standard for security and performance on mobile devices, like the <em>ChaCha20-Poly1305</em> authenticated encryption.</p><p>This first release does not support certificate chain validation yet, this will be implemented in a later release.</p><h3>Android deploy specific command line options</h3><p>Android applications no longer include the REQUEST_INSTALL_PACKAGES permission on their manifest by default. In order to have this permission included on the application, the command line option /android_request_install_packages must be used. This permission is only required if your application uses <em>Vm.exec</em> to install another application during runtime.</p><p>This change was necessary to comply with the latest Play Store restrictions, therefore, usage of this feature by applications distributed by the Play Store is subject to their approval.</p><p>The deploy command line option /force_android_storage_access was renamed to /android_manage_external_storage for consistency with the newly added option. This is the option that lets you ask the user for full access to the device&#39;s storage.</p><h3>Spring cleaning, code refactor and build tools update</h3><p>Many changes to list here, starting with a major code refactor with CMake and removal of deprecated stuff to trim the size of the final application. Litebase was removed from all platforms, while Scandit support was only dropped on iOS (for now).</p><p>On iOS, the minimal supported OS version was raised to 12.1 (from 10.0) and armv7 binaries were removed — from now on only arm64 devices are supported. (The last released device without arm64 support was roughly 10 years ago!)</p><p>Win32 binaries are now built using Visual Studio 2022 (17), up from Visual Studio 2008 which has been used practically since day one. This is a big step up that should improve overall performance on this platform.</p><p>Android now uses NDK version 25.1.8937393 and the latest Android Gradle Tools.</p><p><strong>Full detailed changelog available at GitLab for versions </strong><a href="https://gitlab.com/totalcross/TotalCross/-/blob/v4.8.1/CHANGELOG.md"><strong>4.8.1</strong></a><strong> and </strong><a href="https://gitlab.com/totalcross/TotalCross/-/blob/v5.6.1/CHANGELOG.md"><strong>5.6.1</strong></a><strong>.</strong></p><h3>What&#39;s next?</h3><p>This first release is also a stepping stone for a new development cycle with faster iterations this year, with at least a new release every month.</p><p>WinCE support has been a hindrance to achieve this, that&#39;s why it has been demoted to a second class level, and may not be included with every release or have all the features included for the other platforms. For example, WinCE will still use axTLS for the time being.</p><p>Our next minor release will feature a new graphical backend engine for improved performance and better graphics! Closing the gap between the proprietary releases (versions 4 and 5) and the open source (version 7).</p><p>This will finally enable us to have a single code source to work on and resume the release of the open sourced version. \o/</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=621d04d2a626" width="1" height="1" alt=""><hr><p><a href="https://medium.com/totalcross-community/versions-4-8-1-and-5-6-1-improved-tls-support-with-mbedtls-and-more-621d04d2a626">Versions 4.8.1 and 5.6.1 — Improved TLS support with mbedTLS and more</a> was originally published in <a href="https://medium.com/totalcross-community">TotalCross Community</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Support for AAB packages and new deploy options for Android]]></title>
            <link>https://medium.com/totalcross-community/support-for-aab-packages-and-new-deploy-options-for-android-b6a903662caf?source=rss----caa1aff33d05---4</link>
            <guid isPermaLink="false">https://medium.com/p/b6a903662caf</guid>
            <category><![CDATA[android]]></category>
            <category><![CDATA[totalcross]]></category>
            <dc:creator><![CDATA[Fabio Sobral]]></dc:creator>
            <pubDate>Mon, 22 Aug 2022 20:23:54 GMT</pubDate>
            <atom:updated>2022-08-22T20:23:54.698Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/646/0*gj_pix5IXTi6chd4" /></figure><p>The newly released versions 4.7.0 and 5.5.0 introduce the long awaited support for Android App Bundle, or simply AAB, which is now required for Play Store distribution.</p><p>Deploying for Android will simply create both AAB and APK files inside the Android install folders, but there are new options to configure the signing process and a few caveats regarding these changes.</p><h4>Support for MANAGE_EXTERNAL_STORAGE and the Play Store</h4><p>Applications distributed through the Play Store can no longer access files in shared storage by default, with exceptions handled by the Play Store according to their policy for acceptable use. More information can be found here: <a href="https://support.google.com/googleplay/android-developer/answer/10467955?hl=en">https://support.google.com/googleplay/android-developer/answer/10467955?hl=en</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/750/1*UhCf_mRoyqPc2iC609xKkw.jpeg" /><figcaption>Scoped storage summary. Source: Google</figcaption></figure><p>To comply with this restriction, this permission is not included in TotalCross applications by default, both for AAB and APK distributions. The option <strong>/force_android_storage_access</strong> can be used with the deploy to force the inclusion of the <strong>MANAGE_EXTERNAL_STORAGE</strong> permission and add the proper permission request in runtime.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jf1XZNRy_KiXXqdoTZZRPg.jpeg" /><figcaption>Source: xda-developers</figcaption></figure><p>Applications distributed through APK files are free to use this permission as they see fit. This is a Play Store restriction and may or may not be applied to other third-parties managed stores.</p><h4>Android signing configuration</h4><p>With the new option <strong>/android_signing_config</strong> users may now provide the path to a properties file with configuration for the signing process.</p><p>By default, the deploy will always load the configuration provided by the file etc/security/android_keystore.properties, which is the following:</p><pre><strong># AAB Signing configuration</strong><br>aab_signing_enabled=true<br>aab_keystore_path=etc/security/tc_aab_key.keystore<br>aab_keystore_digestalg=SHA-256<br>aab_keystore_sigalg=SHA256withRSA<br>aab_keystore_storetype=JKS<br>aab_keystore_storepass=****<br>aab_keystore_keypass=****<br>aab_keystore_alias=tcandroidkey<br><strong># APK Signing configuration</strong><br>apk_signing_enabled=true<br>apk_keystore_path=etc/security/tcandroidkey.keystore<br>apk_keystore_storepass=****<br>apk_keystore_keypass=****<br>apk_keystore_alias=tcandroidkey</pre><p>You may copy this file to use as a starting point to create your own. Remember that you may omit some of these keys to keep using the default values.</p><ul><li><strong>aab_signing_enabled</strong> — Change to false to disable signing the AAB file.</li><li><strong>aab_keystore_path</strong> — Path to a keystore file to use for signing the AAB file. Prefer using absolute paths, but paths relative to the SDK home folder is also accepted.</li><li><strong>aab_keystore_digestalg</strong> — Digest algorithm used with the keystore, <strong>SHA-256</strong> is the default value. Refer to your own <em>jarsigner</em> version for other supported options.</li><li><strong>aab_keystore_sigalg</strong> — Signature algorithm used with the keystore, <strong>SHA256withRSA</strong> is the default value. Refer to your own <em>jarsigner</em> version for other supported options.</li><li><strong>aab_keystore_storetype</strong> — Format of the provided keystore. The default keystore included uses the <strong>JKS</strong> format to keep compatibility with Java 8, but when creating your own keystore, it is recommended that you use the format <strong>PKCS12</strong>, which is the default starting Java 11.</li><li><strong>aab_keystore_storepass</strong> &amp; <strong>aab_keystore_keypass</strong> — Passwords for the keystore.</li><li><strong>aab_keystore_alias</strong> — Keystore alias. The default value is <strong>tcandroidkey</strong>.</li><li><strong>apk_signing_enabled</strong> — Change to false to disable signing the APK file.</li><li><strong>apk_keystore_path</strong> — Path to a keystore file to use for signing the APK file. Prefer using absolute paths, but paths relative to the SDK home folder is also accepted.</li><li><strong>apk_keystore_storepass</strong> &amp; <strong>apk_keystore_keypass</strong> — Passwords for the keystore.</li><li><strong>apk_keystore_alias</strong> — Keystore alias. The default value is <strong>tcandroidkey</strong>.</li></ul><h4>Recommendations and caveats</h4><p>For maximum security, creating your own keystores using the PKCS12 format and proper passwords is recommended. However, this may lead to problems when updating existing applications and require the removal of the previous version from the device first, causing local files to be removed as well.</p><p>For full APK compatibility, the default keystore must be used, but you should make the necessary changes on your application to allow a safe removal in the future.</p><p>AAB signing may also be disabled if you wish to let the Play Store handle the signing for you.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*x0mzt-ETIEG9ucaY.jpg" /></figure><p>The generation of the AAB file requires the execution of the <strong>protoc</strong> executable, included in <strong>etc/tools/android</strong>, which may require setting up permissions. For the Mac OS, the following command is required:</p><pre>xattr -d com.apple.quarantine /&lt;path to TotalCross home&gt;/etc/tools/android/protoc/protoc-3.20.1-osx-x86_64/bin/protoc</pre><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b6a903662caf" width="1" height="1" alt=""><hr><p><a href="https://medium.com/totalcross-community/support-for-aab-packages-and-new-deploy-options-for-android-b6a903662caf">Support for AAB packages and new deploy options for Android</a> was originally published in <a href="https://medium.com/totalcross-community">TotalCross Community</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Developing Scroll List application using JavaFX]]></title>
            <link>https://medium.com/totalcross-community/developing-scroll-list-application-using-javafx-2b20b6ef41c5?source=rss----caa1aff33d05---4</link>
            <guid isPermaLink="false">https://medium.com/p/2b20b6ef41c5</guid>
            <category><![CDATA[totalcross]]></category>
            <category><![CDATA[javafx-tutorial]]></category>
            <category><![CDATA[scroll-list]]></category>
            <category><![CDATA[java]]></category>
            <category><![CDATA[javafx]]></category>
            <dc:creator><![CDATA[Julia Fideles]]></dc:creator>
            <pubDate>Tue, 17 Aug 2021 12:29:40 GMT</pubDate>
            <atom:updated>2021-08-17T12:29:40.122Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>Introduction</strong></p><p><a href="https://openjfx.io/?utm_source=medium&amp;utm_medium=article&amp;utm_campaign=scroll-list-javafx">JavaFX</a> is a java-based multimedia software platform for creating and delivering rich internet applications that can run on a variety of different devices. In this article you will be shown how to develop an application in JavaFX using Scroll List and later in <a href="https://totalcross.com/?utm_source=medium&amp;utm_medium=article&amp;utm_campaign=scroll-list-javafx">TotalCross</a>. The pros and cons of each platform will be pointed out. , aiming to present their differences and advantages.</p><p><strong>Building the Interface</strong></p><p>The construction of the interface is done through fxml. All component implementation is done in this part of the project and the fxml development of this application was done using the <a href="https://gluonhq.com/products/scene-builder/?utm_source=medium&amp;utm_medium=article&amp;utm_campaign=scroll-list-javafx">Scene Builder</a> software platform. This platform allows the graphical construction of the form in an interactive way and it is not necessary to manually build the fxml code.</p><pre><strong>//Implementing java libraries</strong></pre><pre>&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;<br><br>&lt;?import java.lang.*?&gt;<br>&lt;?import java.net.*?&gt;<br>&lt;?import java.util.*?&gt;<br>&lt;?import javafx.collections.*?&gt;<br>&lt;?import javafx.scene.*?&gt;<br>&lt;?import javafx.scene.control.*?&gt;<br>&lt;?import javafx.scene.effect.*?&gt;<br>&lt;?import javafx.scene.layout.*?&gt;<br><br><strong>//Creation of AnchorPane (anchor panel where it houses all the components on the page</strong><br><br>&lt;AnchorPane id=&quot;AnchorPane&quot; prefHeight=&quot;288.0000999999975&quot; <br>prefWidth=&quot;467.0001220703125&quot; styleClass=&quot;background&quot;            xmlns:fx=&quot;http://javafx.com/fxml/1&quot; xmlns=&quot;http://javafx.com/javafx/2.2&quot;         fx:controller=&quot;com.project_tc.controller.ButtonController&quot;&gt;<br>//Creating the components used in the form<br>  &lt;children&gt;<br>    &lt;TextField id=&quot;&quot; fx:id=&quot;txtTextButton&quot; alignment=&quot;CENTER_LEFT&quot; <br>               layoutX=&quot;134.0&quot; layoutY=&quot;89.0&quot; prefHeight=&quot;29.0&quot; prefWidth=&quot;200.0&quot; promptText=&quot;&quot; text=&quot;Text&quot; /&gt;<br>    &lt;ComboBox id=&quot;&quot; fx:id=&quot;cbnSizeButton&quot; layoutX=&quot;134.0&quot; layoutY=&quot;199.0&quot; minHeight=&quot;22.0&quot; prefHeight=&quot;29.0&quot;<br>              prefWidth=&quot;200.0&quot; promptText=&quot;Size&quot; styleClass=&quot;ComboBox&quot;&gt;<br>      &lt;items&gt;<br>        &lt;FXCollections fx:factory=&quot;observableArrayList&quot;&gt;<br>          &lt;String fx:value=&quot;Item 1&quot; /&gt;<br>          &lt;String fx:value=&quot;Item 2&quot; /&gt;<br>          &lt;String fx:value=&quot;Item 3&quot; /&gt;<br>        &lt;/FXCollections&gt;<br>      &lt;/items&gt;<br>      &lt;stylesheets&gt;<br>        &lt;URL value=&quot;@../styles/DarkTheme.css&quot; /&gt;<br>      &lt;/stylesheets&gt;<br>    &lt;/ComboBox&gt;<br>    &lt;ComboBox id=&quot;&quot; fx:id=&quot;cbnColorButton&quot; layoutX=&quot;134.0&quot; layoutY=&quot;144.0&quot; minHeight=&quot;22.0&quot; prefHeight=&quot;29.0&quot; prefWidth=&quot;200.0&quot; promptText=&quot;Color&quot; styleClass=&quot;ComboBox&quot;&gt;<br>      &lt;items&gt;<br>        &lt;FXCollections fx:factory=&quot;observableArrayList&quot;&gt;<br>          &lt;String fx:value=&quot;Item 1&quot; /&gt;<br>          &lt;String fx:value=&quot;Item 2&quot; /&gt;<br>          &lt;String fx:value=&quot;Item 3&quot; /&gt;<br>        &lt;/FXCollections&gt;<br>      &lt;/items&gt;<br>      &lt;stylesheets&gt;<br>        &lt;URL value=&quot;@../styles/DarkTheme.css&quot; /&gt;<br>      &lt;/stylesheets&gt;<br>    &lt;/ComboBox&gt;<br>    &lt;Button id=&quot;btnButtonApplye&quot; fx:id=&quot;btnButtonApply&quot; layoutX=&quot;361.0&quot; layoutY=&quot;245.0&quot; mnemonicParsing=&quot;false&quot; text=&quot;Apply&quot;&gt;<br>      &lt;stylesheets&gt;<br>        &lt;URL value=&quot;@../styles/DarkTheme.css&quot; /&gt;<br>      &lt;/stylesheets&gt;<br>    &lt;/Button&gt;<br>    &lt;Separator layoutX=&quot;82.0&quot; layoutY=&quot;59.0&quot; prefWidth=&quot;304.0&quot; /&gt;<br>    &lt;Label layoutX=&quot;194.0&quot; layoutY=&quot;25.0&quot; styleClass=&quot;label-title&quot; text=&quot;BUTTON&quot; textOverrun=&quot;ELLIPSIS&quot;&gt;<br>      &lt;stylesheets&gt;<br>        &lt;URL value=&quot;@../styles/DarkTheme.css&quot; /&gt;<br>      &lt;/stylesheets&gt;<br>    &lt;/Label&gt;<br>  &lt;/children&gt;<br>  &lt;effect&gt;<br>    &lt;DropShadow blurType=&quot;GAUSSIAN&quot; color=&quot;#ffb800&quot; /&gt;<br>  &lt;/effect&gt;<br><strong>//Calling the page&#39;s style CSS code</strong><br>  &lt;stylesheets&gt;<br>    &lt;URL value=&quot;@../styles/DarkTheme.css&quot; /&gt;<br>  &lt;/stylesheets&gt;<br>&lt;/AnchorPane&gt;</pre><p>Repeat the same process to create the next form.</p><p><strong>Controlling the Application</strong></p><p>In JavaFX, forms are controlled by java classes of controller type, these classes are used to install all component and method implemented in the application.</p><pre><strong>//Implementing java libraries</strong></pre><pre>package com.project_tc.controller;<br>import java.net.URL;<br>import java.util.ArrayList;<br>import java.util.List;<br>import java.util.ResourceBundle;<br>import javafx.collections.FXCollections;<br>import javafx.collections.ObservableList;<br>import javafx.fxml.FXML;<br>import javafx.fxml.Initializable;<br>import javafx.scene.control.ComboBox;<br>import javafx.scene.control.Label;<br>import javafx.scene.control.TextField;<br><br>/**<br> * FXML Controller class<br> *<br> * @author Julia Fideles<br> */<br><strong>//Creating the control class for the &quot;Button&quot; form</strong><br><br>public class ButtonController implements Initializable {<br><br><strong>//Implementation of all visual components used on this page.</strong></pre><pre>@FXML<br>    public Label lblTextButton;<br>    @FXML<br>    public TextField txtTextButton;<br>    @FXML<br>    public Label lblColorButton;<br>    @FXML<br>    public ComboBox&lt;String&gt; cbnSizeButton;  <br>   @FXML<br>    public ComboBox&lt;String&gt; cbnColorButton;<br>    @FXML<br>    public Label lblSizeButton;<br>   <br><strong>//Creation of list type array to store the data that will be placed inside the &quot;Combo Box&quot; component.</strong><br><br>     @FXML<br>     public List &lt;String&gt; ComboBoxSize = new ArrayList&lt;&gt;();<br>     public List &lt;String&gt; ComboBoxColor = new ArrayList&lt;&gt;();<br><br><strong>///Creation of a List of type &quot;ObservableList&quot; that allows the fields of a list to be visible to a component such as the &quot;Combo Box&quot;.</strong><br>    public ObservableList&lt;String&gt; obsComboBoxSize;<br>     public ObservableList&lt;String&gt; obsComboBoxColor;<br>    /**<br>     * Initializes the controller class.<br>     */<br>    @Override<br>    public void initialize(URL url, ResourceBundle rb) {<br><br><strong>//Calling the method created to implement data inside a combobox. </strong>       loadComboBox();<br>    }    <br>   <br><strong>//Creating a method to add data to a combobox.</strong><br>     public void loadComboBox() {<br><strong><br>//Adding data to arraylist of string type named &quot;ComboBox Size&quot;.</strong><br>        ComboBoxSize.add(&quot;1&quot;);<br>        ComboBoxSize.add(&quot;2&quot;);<br>        ComboBoxSize.add(&quot;3&quot;);<br>        ComboBoxSize.add(&quot;4&quot;);<br>        ComboBoxSize.add(&quot;5&quot;);<br>        ComboBoxSize.add(&quot;7&quot;);<br>        ComboBoxSize.add(&quot;8&quot;);<br>        ComboBoxSize.add(&quot;10&quot;);<br>        ComboBoxSize.add(&quot;12&quot;);<br>        ComboBoxSize.add(&quot;14&quot;);<br>        ComboBoxSize.add(&quot;16&quot;);<br>        ComboBoxSize.add(&quot;18&quot;);<br>        ComboBoxSize.add(&quot;20&quot;);<br>        <br><strong>//Adding the data from the arraylist &quot;ComboBoxSize&quot; into an ObservableList named &quot;obsComboBoxSize&quot;.</strong><br>        obsComboBoxSize = FXCollections.observableArrayList(ComboBoxSize);<br><br><strong>//Adding the data from the &quot;obsComboBoxSize&quot; into the combobox named &quot;cbnSizeButton&quot;.</strong><br>        cbnSizeButton.setItems(obsComboBoxSize);<br>      <br><strong>/*This way we can put the combobox field values ​​inside an arraylist of string type and make them visible behind an ObservableList so that the combobox component can add each node of the list inside the available fields. Field 1 of the combobox receives node 1 from the list and so on.*/</strong></pre><pre><strong>//Repeating the same process for the &quot;ComboBoxColor&quot; combobox</strong><br>        ComboBoxColor.add(&quot;Blue&quot;);<br>        ComboBoxColor.add(&quot;Black&quot;);<br>        ComboBoxColor.add(&quot;White&quot;);<br>        ComboBoxColor.add(&quot;Red&quot;);<br>        ComboBoxColor.add(&quot;Purple&quot;);<br>        ComboBoxColor.add(&quot;Yellow&quot;);<br>        ComboBoxColor.add(&quot;Grey&quot;);<br>        ComboBoxColor.add(&quot;Orange&quot;);<br>        ComboBoxColor.add(&quot;Brown&quot;);<br>        ComboBoxColor.add(&quot;Pink&quot;);<br>        ComboBoxColor.add(&quot;Green&quot;);<br>        obsComboBoxColor = FXCollections.observableArrayList(ComboBoxColor);<br>        cbnColorButton.setItems(obsComboBoxColor);<br>       }<br>}</pre><p><strong>Styling the Application</strong></p><p>The entire application style is made by css extension files, which is responsible for putting colors and shapes in components and pages, alignment and everything that involves the visual part of the project.</p><pre>background {<br>    -fx-background-color: #1d1d1d;<br>}<br>.label {<br>    -fx-font-size: 15pt;<br>    -fx-font-family: &quot;Segoe UI Semibold&quot;;<br>    -fx-text-fill: white;<br>  <br>}<br>.labelList {<br>    -fx-font-size: 11pt;<br>    -fx-font-family: &quot;Segoe UI Semibold&quot;;<br>    -fx-text-fill: white;<br>  <br>}<br>.listview{<br>    -fx-background-radius:50px;<br>}<br>.label-title {<br>    -fx-font-size: 18pt;<br>    -fx-font-family: &quot;Segoe UI Semibold&quot;;<br>    -fx-text-fill: #ffcc00;<br>  <br>}<br>.button {<br>    -fx-padding: 5 22 5 22;   <br>    -fx-border-color: #e2e2e2;<br>    -fx-border-width: 2;<br>    -fx-background-radius: 0;<br>    -fx-background-color: #1d1d1d;<br>    -fx-font-family: &quot;Segoe UI&quot;, Helvetica, Arial, sans-serif;<br>    -fx-font-size: 11pt;<br>    -fx-text-fill: #d8d8d8;<br>    -fx-background-insets: 0 0 0 0, 0, 1, 2;<br>}<br>.text-field {<br>    -fx-font-size: 12pt;<br>    -fx-font-family: &quot;Segoe UI Semibold&quot;;<br>}<br><br><br><br>.button:hover {<br>    -fx-background-color: #3a3a3a;<br>}<br><br>.button:pressed, .button:default:hover:pressed {<br>  -fx-background-color: white;<br>  -fx-text-fill: #1d1d1d;<br>}<br><br>.button:focused {<br>    -fx-border-color: white, white;<br>    -fx-border-width: 1, 1;<br>    -fx-border-style: solid segments(1, 1);<br>    -fx-border-radius: 0, 0;<br>    -fx-border-insets: 1 1 1 1, 0;<br>}<br><br>.button:disabled, .button:default:disabled {<br>    -fx-opacity: 0.4;<br>    -fx-background-color: #1d1d1d;<br>    -fx-text-fill: white;<br>}<br><br>.button:default {<br>    -fx-background-color: -fx-focus-color;<br>    -fx-text-fill: #ffffff;<br>}<br><br>.button:default:hover {<br>    -fx-background-color: derive(-fx-focus-color,30%);<br>}</pre><p><strong>Running the Application</strong></p><p>The project’s main page is responsible for starting the application’s execution.</p><pre><strong>//Implementing java libraries</strong></pre><pre>package com.project_tc.model;<br><br>import javafx.application.Application;<br>import javafx.fxml.FXMLLoader;<br>import javafx.scene.Parent;<br>import javafx.scene.Scene;<br>import javafx.scene.image.Image;<br>import javafx.stage.Stage;<br><br>/**<br> *<br> * @author Julia Fideles<br> */<strong><br>//Creation of the model class &quot;MainApp&quot;<br></strong>public class MainApp extends Application {<br>    <br>    @Override<br>    public void start(Stage stage) throws Exception {</pre><pre><strong>//Creation of MainApp form<br></strong>        Parent mainAppForm = FXMLLoader.load(getClass().getResource(&quot;/com/project_tc/FXML/MainApp.fxml&quot;));<br> Scene scene = new Scene(mainAppForm);<br>        stage.setTitle(&quot;Virtual Scene&quot;);<br>        stage.setScene(scene);<br>        stage.show();<strong><br><br>//Setting an application icon</strong></pre><pre>Image icon = new Image(getClass().getResourceAsStream(&quot;/com/project_tc/Icons/315090_file_java_icon.png&quot;));<br>        stage.getIcons().add(icon);<br>               <br>    }<br><br>    public static void main(String[] args) {<br>        launch(args);<br>    }<br>    <br>}</pre><h4>Screens</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/468/1*-cbzC-H1nBoUus6wuJzFmg.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/468/1*unlH9wd7K8pUo3j0WL4_wg.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/468/1*I947XeJtA9K0sdJ-9dgKlA.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/470/1*oZ0QWBB4kyyOT6d9u7CN_g.jpeg" /></figure><h4><strong>Conclusion</strong></h4><p>At the end of this article you can see that the development of more complex applications with non-essential JavaFX, has a construction that is divided into several different parts. One of its biggest advantages is the scene builder, which is a visual layout tool that allows users to create JavaFX application interfaces quickly. On the downside, it can create the need to insert a multitude of variables to fill all of its components, making the code longer and the application heavier, which in turn will reduce its execution optimization.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2b20b6ef41c5" width="1" height="1" alt=""><hr><p><a href="https://medium.com/totalcross-community/developing-scroll-list-application-using-javafx-2b20b6ef41c5">Developing Scroll List application using JavaFX</a> was originally published in <a href="https://medium.com/totalcross-community">TotalCross Community</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Scroll List com JavaFX]]></title>
            <link>https://medium.com/totalcross-community/javafx-scroll-list-ec98e5d1e0e3?source=rss----caa1aff33d05---4</link>
            <guid isPermaLink="false">https://medium.com/p/ec98e5d1e0e3</guid>
            <category><![CDATA[java]]></category>
            <category><![CDATA[javafx]]></category>
            <category><![CDATA[totalcross]]></category>
            <category><![CDATA[scene-builder]]></category>
            <category><![CDATA[scroll-list]]></category>
            <dc:creator><![CDATA[Julia Fideles]]></dc:creator>
            <pubDate>Fri, 23 Jul 2021 17:07:19 GMT</pubDate>
            <atom:updated>2021-07-23T17:34:06.080Z</atom:updated>
            <content:encoded><![CDATA[<h3><strong>Desenvolvendo aplicação com Scroll List usando </strong>JavaFX</h3><p><strong>Introdução</strong></p><p><a href="https://openjfx.io/?utm_source=medium&amp;utm_medium=article&amp;utm_campaign=scroll-list-javafx">JavaFX </a>é uma plataforma de software multimídia baseada em Java para a criação e disponibilização de Aplicação Rica para Internet que pode ser executada em vários dispositivos diferentes. Neste artigo será mostrado como desenvolver uma aplicação em JavaFX usando Scroll List e posteriormente em <a href="https://totalcross.com/?utm_source=medium&amp;utm_medium=article&amp;utm_campaign=scroll-list-javafx">TotalCross</a>, será apontado prós e contras de cada plataforma, visando apresentar suas diferenças e vantagens.</p><p><strong>Construindo a interface</strong></p><p>A construção da interface é feita através do fxml, toda a implementação de componentes é feita nesta parte do projeto e o desenvolvimento FXML dessa aplicação foi feita usando a plataforma de software<a href="https://gluonhq.com/products/scene-builder/?utm_source=medium&amp;utm_medium=article&amp;utm_campaign=scroll-list-javafx"> Scene Builder</a>, essa plataforma permite a construção gráfica do form de maneira interativa, não sendo necessário a construção manual do código fxml.</p><pre><strong>// Implementando bibliotecas java</strong><br>&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;<br><br>&lt;?import java.lang.*?&gt;<br>&lt;?import java.net.*?&gt;<br>&lt;?import java.util.*?&gt;<br>&lt;?import javafx.collections.*?&gt;<br>&lt;?import javafx.scene.*?&gt;<br>&lt;?import javafx.scene.control.*?&gt;<br>&lt;?import javafx.scene.effect.*?&gt;<br>&lt;?import javafx.scene.layout.*?&gt;<br><br><strong>//Criação do AnchorPane (painel âncora onde que abriga todos os componentes na página</strong><br><br>&lt;AnchorPane id=&quot;AnchorPane&quot; prefHeight=&quot;288.0000999999975&quot; <br>prefWidth=&quot;467.0001220703125&quot; styleClass=&quot;background&quot;            xmlns:fx=&quot;http://javafx.com/fxml/1&quot; xmlns=&quot;http://javafx.com/javafx/2.2&quot;         fx:controller=&quot;com.project_tc.controller.ButtonController&quot;&gt;<br><strong>//Criação dos componentes usados no form</strong><br>  &lt;children&gt;<br>    &lt;TextField id=&quot;&quot; fx:id=&quot;txtTextButton&quot; alignment=&quot;CENTER_LEFT&quot; <br>               layoutX=&quot;134.0&quot; layoutY=&quot;89.0&quot; prefHeight=&quot;29.0&quot; prefWidth=&quot;200.0&quot; promptText=&quot;&quot; text=&quot;Text&quot; /&gt;<br>    &lt;ComboBox id=&quot;&quot; fx:id=&quot;cbnSizeButton&quot; layoutX=&quot;134.0&quot; layoutY=&quot;199.0&quot; minHeight=&quot;22.0&quot; prefHeight=&quot;29.0&quot;<br>              prefWidth=&quot;200.0&quot; promptText=&quot;Size&quot; styleClass=&quot;ComboBox&quot;&gt;<br>      &lt;items&gt;<br>        &lt;FXCollections fx:factory=&quot;observableArrayList&quot;&gt;<br>          &lt;String fx:value=&quot;Item 1&quot; /&gt;<br>          &lt;String fx:value=&quot;Item 2&quot; /&gt;<br>          &lt;String fx:value=&quot;Item 3&quot; /&gt;<br>        &lt;/FXCollections&gt;<br>      &lt;/items&gt;<br>      &lt;stylesheets&gt;<br>        &lt;URL value=&quot;@../styles/DarkTheme.css&quot; /&gt;<br>      &lt;/stylesheets&gt;<br>    &lt;/ComboBox&gt;<br>    &lt;ComboBox id=&quot;&quot; fx:id=&quot;cbnColorButton&quot; layoutX=&quot;134.0&quot; layoutY=&quot;144.0&quot; minHeight=&quot;22.0&quot; prefHeight=&quot;29.0&quot; prefWidth=&quot;200.0&quot; promptText=&quot;Color&quot; styleClass=&quot;ComboBox&quot;&gt;<br>      &lt;items&gt;<br>        &lt;FXCollections fx:factory=&quot;observableArrayList&quot;&gt;<br>          &lt;String fx:value=&quot;Item 1&quot; /&gt;<br>          &lt;String fx:value=&quot;Item 2&quot; /&gt;<br>          &lt;String fx:value=&quot;Item 3&quot; /&gt;<br>        &lt;/FXCollections&gt;<br>      &lt;/items&gt;<br>      &lt;stylesheets&gt;<br>        &lt;URL value=&quot;@../styles/DarkTheme.css&quot; /&gt;<br>      &lt;/stylesheets&gt;<br>    &lt;/ComboBox&gt;<br>    &lt;Button id=&quot;btnButtonApplye&quot; fx:id=&quot;btnButtonApply&quot; layoutX=&quot;361.0&quot; layoutY=&quot;245.0&quot; mnemonicParsing=&quot;false&quot; text=&quot;Apply&quot;&gt;<br>      &lt;stylesheets&gt;<br>        &lt;URL value=&quot;@../styles/DarkTheme.css&quot; /&gt;<br>      &lt;/stylesheets&gt;<br>    &lt;/Button&gt;<br>    &lt;Separator layoutX=&quot;82.0&quot; layoutY=&quot;59.0&quot; prefWidth=&quot;304.0&quot; /&gt;<br>    &lt;Label layoutX=&quot;194.0&quot; layoutY=&quot;25.0&quot; styleClass=&quot;label-title&quot; text=&quot;BUTTON&quot; textOverrun=&quot;ELLIPSIS&quot;&gt;<br>      &lt;stylesheets&gt;<br>        &lt;URL value=&quot;@../styles/DarkTheme.css&quot; /&gt;<br>      &lt;/stylesheets&gt;<br>    &lt;/Label&gt;<br>  &lt;/children&gt;<br>  &lt;effect&gt;<br>    &lt;DropShadow blurType=&quot;GAUSSIAN&quot; color=&quot;#ffb800&quot; /&gt;<br>  &lt;/effect&gt;<br><strong>// Chamada do codigo CSS de estilo da pagina</strong><br>  &lt;stylesheets&gt;<br>    &lt;URL value=&quot;@../styles/DarkTheme.css&quot; /&gt;<br>  &lt;/stylesheets&gt;<br>&lt;/AnchorPane&gt;</pre><p>Repita o mesmo processo para a criação dos outros formulários que deseja criar.</p><p><strong>Estilizando a Aplicação</strong></p><p>Todo o estilo da aplicação é feita por arquivos de extensão css, que é responsável por colocar cores, formas nos componentes e páginas, alinhamento e tudo que envolve a parte visual do projeto.</p><pre>background {<br>    -fx-background-color: #1d1d1d;<br>}<br>.label {<br>    -fx-font-size: 15pt;<br>    -fx-font-family: &quot;Segoe UI Semibold&quot;;<br>    -fx-text-fill: white;<br>  <br>}<br>.labelList {<br>    -fx-font-size: 11pt;<br>    -fx-font-family: &quot;Segoe UI Semibold&quot;;<br>    -fx-text-fill: white;<br>  <br>}<br>.listview{<br>    -fx-background-radius:50px;<br>}<br>.label-title {<br>    -fx-font-size: 18pt;<br>    -fx-font-family: &quot;Segoe UI Semibold&quot;;<br>    -fx-text-fill: #ffcc00;<br>  <br>}<br>.button {<br>    -fx-padding: 5 22 5 22;   <br>    -fx-border-color: #e2e2e2;<br>    -fx-border-width: 2;<br>    -fx-background-radius: 0;<br>    -fx-background-color: #1d1d1d;<br>    -fx-font-family: &quot;Segoe UI&quot;, Helvetica, Arial, sans-serif;<br>    -fx-font-size: 11pt;<br>    -fx-text-fill: #d8d8d8;<br>    -fx-background-insets: 0 0 0 0, 0, 1, 2;<br>}<br>.text-field {<br>    -fx-font-size: 12pt;<br>    -fx-font-family: &quot;Segoe UI Semibold&quot;;<br>}<br><br><br><br>.button:hover {<br>    -fx-background-color: #3a3a3a;<br>}<br><br>.button:pressed, .button:default:hover:pressed {<br>  -fx-background-color: white;<br>  -fx-text-fill: #1d1d1d;<br>}<br><br>.button:focused {<br>    -fx-border-color: white, white;<br>    -fx-border-width: 1, 1;<br>    -fx-border-style: solid segments(1, 1);<br>    -fx-border-radius: 0, 0;<br>    -fx-border-insets: 1 1 1 1, 0;<br>}<br><br>.button:disabled, .button:default:disabled {<br>    -fx-opacity: 0.4;<br>    -fx-background-color: #1d1d1d;<br>    -fx-text-fill: white;<br>}<br><br>.button:default {<br>    -fx-background-color: -fx-focus-color;<br>    -fx-text-fill: #ffffff;<br>}<br><br>.button:default:hover {<br>    -fx-background-color: derive(-fx-focus-color,30%);<br>}</pre><p><strong>Controlando a aplicação</strong></p><p>No javaFX os formulários são controlados pelas classes java do tipo controller, essas classes servem para fazer a instalação de todos os componentes e métodos implementados na aplicação.</p><pre><strong>//Implementando bibliotecas java</strong><br>package com.project_tc.controller;<br>import java.net.URL;<br>import java.util.ArrayList;<br>import java.util.List;<br>import java.util.ResourceBundle;<br>import javafx.collections.FXCollections;<br>import javafx.collections.ObservableList;<br>import javafx.fxml.FXML;<br>import javafx.fxml.Initializable;<br>import javafx.scene.control.ComboBox;<br>import javafx.scene.control.Label;<br>import javafx.scene.control.TextField;<br><br>/**<br> * FXML Controller class<br> *<br> * @author Julia Fideles<br> */<br><strong>// Criação da classe de controle para o formulário &quot;Button&quot;</strong><br><br>public class ButtonController implements Initializable {<br><br><strong>//Implementação de todos os componentes visuais usados nesta página.</strong><br>    @FXML<br>    public Label lblTextButton;<br>    @FXML<br>    public TextField txtTextButton;<br>    @FXML<br>    public Label lblColorButton;<br>    @FXML<br>    public ComboBox&lt;String&gt; cbnSizeButton;  <br>   @FXML<br>    public ComboBox&lt;String&gt; cbnColorButton;<br>    @FXML<br>    public Label lblSizeButton;<br>   <br><strong>//Criação de array do tipo lista para armazenar os dados que serão colocados dentro do componente &quot;Combo Box&quot;.</strong><br><br>     @FXML<br>     public List &lt;String&gt; ComboBoxSize = new ArrayList&lt;&gt;();<br>     public List &lt;String&gt; ComboBoxColor = new ArrayList&lt;&gt;();<br><br><strong>//Criação de uma Lista do tipo &quot;ObservableList&quot; que permite que os campos de uma lista fiquem visíveis para um componente como por exemplo o &quot;Combo Box&quot;.</strong><br><br>    public ObservableList&lt;String&gt; obsComboBoxSize;<br>     public ObservableList&lt;String&gt; obsComboBoxColor;<br>    /**<br>     * Initializes the controller class.<br>     */<br>    @Override<br>    public void initialize(URL url, ResourceBundle rb) {<br><br><strong>//Chamando o método criado para implementar dados dentro de um combobox.</strong><br>        loadComboBox();<br>    }    <br>   <br><strong>//Criando um método para adicionar dados em um combobox.</strong><br>     public void loadComboBox() {<br><br><strong>//Adicionando dados no arraylist do tipo string denominado &quot;ComboBoxSize&quot;</strong>.<br>        ComboBoxSize.add(&quot;1&quot;);<br>        ComboBoxSize.add(&quot;2&quot;);<br>        ComboBoxSize.add(&quot;3&quot;);<br>        ComboBoxSize.add(&quot;4&quot;);<br>        ComboBoxSize.add(&quot;5&quot;);<br>        ComboBoxSize.add(&quot;7&quot;);<br>        ComboBoxSize.add(&quot;8&quot;);<br>        ComboBoxSize.add(&quot;10&quot;);<br>        ComboBoxSize.add(&quot;12&quot;);<br>        ComboBoxSize.add(&quot;14&quot;);<br>        ComboBoxSize.add(&quot;16&quot;);<br>        ComboBoxSize.add(&quot;18&quot;);<br>        ComboBoxSize.add(&quot;20&quot;);<br>        <br><strong>//Adicionando os dados do arraylist &quot;ComboBoxSize&quot; em um ObservableList denominado &quot;obsComboBoxSize&quot;.</strong><br>        obsComboBoxSize = FXCollections.observableArrayList(ComboBoxSize);<br><br><strong>//Adicionando os dados do &quot;obsComboBoxSize&quot; em do combo box denominado &quot;cbnSizeButton&quot;.</strong><br>        cbnSizeButton.setItems(obsComboBoxSize);<br>      <br><strong>/*Dessa forma podemos colocar os valores dos campos do combobox dentro de um arraylist do tipo string e torná-los visíveis atrás de um ObservableList para assim o componente combobox poder adicionar cada nó da lista dentro dos campos disponíveis. O campo 1 do combobox recebe o nó 1 da lista e assim sucessivamente.*/<br>//Repetindo o mesmo processo para o combobox &quot;ComboBoxColor&quot;</strong><br>        ComboBoxColor.add(&quot;Blue&quot;);<br>        ComboBoxColor.add(&quot;Black&quot;);<br>        ComboBoxColor.add(&quot;White&quot;);<br>        ComboBoxColor.add(&quot;Red&quot;);<br>        ComboBoxColor.add(&quot;Purple&quot;);<br>        ComboBoxColor.add(&quot;Yellow&quot;);<br>        ComboBoxColor.add(&quot;Grey&quot;);<br>        ComboBoxColor.add(&quot;Orange&quot;);<br>        ComboBoxColor.add(&quot;Brown&quot;);<br>        ComboBoxColor.add(&quot;Pink&quot;);<br>        ComboBoxColor.add(&quot;Green&quot;);<br>        obsComboBoxColor = FXCollections.observableArrayList(ComboBoxColor);<br>        cbnColorButton.setItems(obsComboBoxColor);<br>       }<br>}</pre><p><strong>Executando a Aplicação</strong></p><p>A página principal do projeto é responsável por iniciar a execução da aplicação.</p><pre><strong>//Implementação das bibliotecas java usadas nesta classe</strong><br>package com.project_tc.model;<br><br>import javafx.application.Application;<br>import javafx.fxml.FXMLLoader;<br>import javafx.scene.Parent;<br>import javafx.scene.Scene;<br>import javafx.scene.image.Image;<br>import javafx.stage.Stage;<br><br>/**<br> *<br> * @author Julia Fideles<br> */<br><strong>//Criação da classe model &quot;MainApp&quot;</strong><br>public class MainApp extends Application {<br>    <br>    @Override<br>    public void start(Stage stage) throws Exception {<br><br><strong>//Criação do form MainApp </strong><br>        Parent mainAppForm = FXMLLoader.load(getClass().getResource(&quot;/com/project_tc/FXML/MainApp.fxml&quot;));<br> Scene scene = new Scene(mainAppForm);<br>        stage.setTitle(&quot;Virtual Scene&quot;);<br>        stage.setScene(scene);<br>        stage.show();<br><br><strong>//Setando um ícone da aplicação </strong><br>        Image icon = new Image(getClass().getResourceAsStream(&quot;/com/project_tc/Icons/315090_file_java_icon.png&quot;));<br>        stage.getIcons().add(icon);<br>               <br>    }<br><br>    public static void main(String[] args) {<br>        launch(args);<br>    }<br>    <br>}</pre><p><strong>Telas</strong></p><p>Abaixo segue o resultado de algumas telas prontas.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/468/1*-cbzC-H1nBoUus6wuJzFmg.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/468/1*unlH9wd7K8pUo3j0WL4_wg.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/468/1*I947XeJtA9K0sdJ-9dgKlA.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/470/1*oZ0QWBB4kyyOT6d9u7CN_g.jpeg" /></figure><p><strong>Conclusão</strong></p><p>Ao fim deste artigo pode-se concluir que o desenvolvimento de aplicações com JavaFX não necessitam de maiores codificações, sua construção é dividida em várias partes e extensões diferentes. Em uma das suas maiores vantagens tem-se o Scene Builder, que é uma é uma ferramenta de layout visual que permite aos usuários criar interfaces de aplicativos JavaFX rapidamente, sem codificação. Em desvantagens, pode-se colocar em alta necessidade de criação de diversas variáveis para preenchimento de seus componentes, fazendo com que o código fique mais extenso e a aplicação mais pesada diminuindo sua otimização na execução.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ec98e5d1e0e3" width="1" height="1" alt=""><hr><p><a href="https://medium.com/totalcross-community/javafx-scroll-list-ec98e5d1e0e3">Scroll List com JavaFX</a> was originally published in <a href="https://medium.com/totalcross-community">TotalCross Community</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How Udow made the user experience better while maintaining the security of medicines]]></title>
            <link>https://medium.com/totalcross-community/gui-development-embedded-linux-udow-case-47b1a705eb97?source=rss----caa1aff33d05---4</link>
            <guid isPermaLink="false">https://medium.com/p/47b1a705eb97</guid>
            <category><![CDATA[embedded]]></category>
            <category><![CDATA[linux-arm]]></category>
            <category><![CDATA[embedded-linux]]></category>
            <category><![CDATA[totalcross]]></category>
            <category><![CDATA[embedded-systems]]></category>
            <dc:creator><![CDATA[Kaique Mancoso]]></dc:creator>
            <pubDate>Thu, 01 Apr 2021 18:47:04 GMT</pubDate>
            <atom:updated>2021-04-01T18:47:03.947Z</atom:updated>
            <content:encoded><![CDATA[<p>An example of the importance of user experience and GUI to medical devices.</p><p><a href="https://udow.com.br/">Udow</a> is a Brazilian technology company focused on the security of medicines. Udow recognizes the importance of having controlled access to medicines in hospital units. So, their job is to create smart types of equipment that give access to these products only to the right person, at the right moment. Their equipment locks and unlocks cabinets and drawers when access to the medicines is really necessary. There are many risks when the medicines aren’t properly stored, so that’s the problem Udow purpose to solve.</p><p>These solutions are embedded systems and have different kinds of user experiences. In this successful case, we are going to talk about two products: a real stat cabinet and a mobile cabinet to store medicines. Both of them have a touchscreen display that nowadays uses the <a href="https://totalcross.com/?utm_source=medium&amp;utm_medium=article&amp;utm_campaign=udow-case">TotalCross</a> framework for the GUI (Graphical User Interface) development.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/500/1*qer1WjOEeOl4bdJqZId0ng.jpeg" /></figure><h3>Udow products overview</h3><h4>Stat cabinet to store medicines</h4><p>According to the title, this equipment is used to store medicines, but on a large scale. This product stores the biggest part of medicines available in a hospital or other kinds of medical unit. Professionals access the medicines by login, using password or biometry. The Graphical User Interface runs on a Raspberry Pi board and allows only professionals with registered login giving access to medicines. After closing the door, the system comes to the initial stage, with the doors locked.</p><h4>Mobile cabinet to transport medicines</h4><p>So much similar to the first project, the main difference is that equipment transports medicines inside the medical unit, taking them for patient’s rooms, for example. The process is the same: the professional accesses the medicines after doing the login, with password or biometry. In this one, the product can detect the right patient before giving the access, so, like this is possible to open only the right draw, with the right medicines to this patient. Both equipment store data such as the date and hour of the access, medicines movement and even a video (made by a cam) of the person getting the medicines.</p><p>These are the main characteristics of Udow’s embedded projects. So, let’s see which problems they are dealing with and how they solve them.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/500/1*Y9QwCa2wVDqOQL97dX0itQ.jpeg" /></figure><h3>Problem: footprint and performance</h3><p>In the beginning, the embedded system software was coded with Java and the GUI with JavaFX. The Udow team found that the user interface was consuming so much CPU processing and also the footprint took a lot of memory. These points were overheating the board, so this became a challenge to be solved.</p><p>They tested many options of Virtual Machines, but the problem persisted. They tried the newest version of JavaFX, but without success. Another test was to try Windows Forms, using C# and Mono. The performance gets better (finally), but the Udow team didn’t like the GUI because they were targeting modern elements and a better user experience. So, the problem was partially solved.</p><h3>Choosing TotalCross framework to build a new GUI</h3><p>The engineer responsible for the project, Mr. Valdinei, discovered the TotalCross framework for embedded systems on a <a href="https://www.toradex.com/">Toradex</a>’s Webinar. Toradex is a <a href="https://en.wikipedia.org/wiki/System_on_module">SoM</a> (system on module) provider recognized by its high quality boards.</p><p>According to the Udow engineering team, after running some tests with TotalCrossthe results exceeded expectations. So, to deploy the GUI application, they count on the TotalCross support team and community. In this way, it’s possible to quickly understand the framework and build the application. According to Valdinei, the project isn’t complete yet, but they already have crucial requirements running, with low footprint and high performance.</p><h3>How they integrated the GUI with the embedded software?</h3><p>As they are using an external database, they have chosen the Java Virtual Machine. But, the expectation for the future is migrating to web service using the TotalCross Virtual Machine.</p><p>Now, the VM class integrates the GUI with two external elements. The first one is the SPI communication, responsible for triggering the engines (for example, locking and unlocking the doors/drawers). This was coded using Python. So the VM class calls for the Python scripts. The second one is serial communication, responsible to read RFID and biometry. For this, they use C#, so the VM calls the C# executable files.</p><p>Concluding, all the software which doesn’t use Java, is integrated with the VM class.</p><h3>Udow is a successful case using TotalCross</h3><p>After the COVID outbreak, the number of GUI projects for medical devices is going exponentially, and day by day, these sort of devices require better user experiences, to guarantee secure and quick work. Having worked with the Udow team helped us to understand a lot of things about hospital units and how many new embedded solutions can be created to improve them.</p><p>If you are facing similar problems in your embedded project, please let us know.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=47b1a705eb97" width="1" height="1" alt=""><hr><p><a href="https://medium.com/totalcross-community/gui-development-embedded-linux-udow-case-47b1a705eb97">How Udow made the user experience better while maintaining the security of medicines</a> was originally published in <a href="https://medium.com/totalcross-community">TotalCross Community</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The top 5 videos about embedded systems by TotalCross in 2020]]></title>
            <link>https://medium.com/totalcross-community/top-5-videos-embedded-systems-cd6c72c0546a?source=rss----caa1aff33d05---4</link>
            <guid isPermaLink="false">https://medium.com/p/cd6c72c0546a</guid>
            <category><![CDATA[embedded-systems]]></category>
            <category><![CDATA[android-studio]]></category>
            <category><![CDATA[raspberry-pi]]></category>
            <category><![CDATA[java]]></category>
            <category><![CDATA[embedded]]></category>
            <dc:creator><![CDATA[Kaique Mancoso]]></dc:creator>
            <pubDate>Thu, 28 Jan 2021 13:47:28 GMT</pubDate>
            <atom:updated>2021-01-28T14:18:13.491Z</atom:updated>
            <content:encoded><![CDATA[<h4>The best content to help you create GUI for embedded systems and expand your knowledge on this kind of project.</h4><p>Continuing <a href="https://medium.com/totalcross-community/top-5-articles-embedded-systems-totalcross-2020-bb0189fecb89">our retrospective of 2020</a>, we decided to show our ranking of the top 5 videos most viewed on <a href="https://www.youtube.com/c/TotalCross/">TotalCross’ YouTube Channel</a>. We know embedded systems content is important for the community in order to help grow new skills and expand project creations. If you are especially interested in creating GUI for embedded systems, these videos can be very helpful.</p><p>Before we start, it’s important to say that all projects explained in these videos used <a href="https://totalcross.com/?utm_source=medium&amp;utm_medium=article&amp;utm_campaign=top5videos">TotalCross</a>, which is a free embedded GUI design tool. So, check out the videos below and start building your own embedded graphical user interface.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*FKbZ8s1iBIdtePjmOGEl6Q.png" /></figure><h3>The best videos about embedded systems (from Totalcross in 2020)</h3><h4>Building a GUI in Android Studio and running it on Raspberry Pi</h4><p>Discover how to run your GUI, created on Android Studio, directly on Raspberry Pi. This technology guarantees a low footprint and high performance for embedded projects. It’s a fast way to render Android XML directly on Linux Arm, ensuring a beautiful UI for embedded systems.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2F7o3p14wQPsE%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D7o3p14wQPsE&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2F7o3p14wQPsE%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/14586eb8dc1a11462ae1820b046b55fe/href">https://medium.com/media/14586eb8dc1a11462ae1820b046b55fe/href</a></iframe><h4>Fast way to create a responsive GUI for Raspberry Pi</h4><p>Everyone knows how important it is to create a responsive GUI, but this can be a huge challenge. In this video, we share our knowledge of coding an application that can adjust automatically to different screen sizes. Following the steps, it will be possible to test your app and validate the responsiveness, before going to the device.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2F-2q0U_oqLTU%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D-2q0U_oqLTU&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2F-2q0U_oqLTU%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/798d42778136b1f81810ac52078b7e37/href">https://medium.com/media/798d42778136b1f81810ac52078b7e37/href</a></iframe><h4>How to quickly create HMI for embedded device</h4><p>A fast way to deploy two different Human Machine Interfaces (HMIs) for embedded systems. In this example, it used Toradex Colibri with NXP iMX6ULL (no GPU, 256MB of RAM). Our CEO, Bruno Muniz, shows how easy it can be to interact with charts, animated graphics and custom components for embedded projects.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FeS0YgnOylI4%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DeS0YgnOylI4&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FeS0YgnOylI4%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/074dae47d57f47544403ca24bdd6d833/href">https://medium.com/media/074dae47d57f47544403ca24bdd6d833/href</a></iframe><h4>Docker, Torizon Android Studio and TotalCross: How to update the GUI of your remote embedded app</h4><p>Updating the GUI of your remote app is not rocket science. In this video, you will learn how to replace your current GUI with a new one, using only one line change on the source code. With these steps, you can quickly update your GUI with a better one, guaranteeing an updated user experience on the embedded device.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2F_q2c-tWx4oo%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D_q2c-tWx4oo&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2F_q2c-tWx4oo%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/2a324a5326062a05c35bc4eecb4c3411/href">https://medium.com/media/2a324a5326062a05c35bc4eecb4c3411/href</a></iframe><h4>Creating and using your own external Java library on your Raspberry Pi</h4><p>One of the advantages of Java is the adoption of several design patterns. In this content, you will learn how to create your own external Java library and use it on a Raspberry Pi. With it, you will be able to minimize a lot of work in the embedded app creation process.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FCq5yEPTmZWI%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DCq5yEPTmZWI&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FCq5yEPTmZWI%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/7d1e3b0a2e2dbdc3f808f6887aa4579b/href">https://medium.com/media/7d1e3b0a2e2dbdc3f808f6887aa4579b/href</a></iframe><h3>How to build a GUI for embedded systems?</h3><p>Check out this and other answers to your questions, by following our content on <a href="https://www.youtube.com/c/TotalCross/">TotalCross’ Youtube Channel</a>. We hope these 5 best videos about embedded systems, created in 2020, help you to learn more. But remember, you are free to tell us what kind of content you want to see on our channels, that’s why your feedback is so important. And if you like our content, please subscribe to our YouTube Channel and don’t forget to hit that like button!</p><p>If you have any questions about development of GUI (independent of the framework) feel free to join in <strong>your </strong><a href="https://t.me/totalcrosscommunity"><strong>community on Telegram</strong></a>!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=cd6c72c0546a" width="1" height="1" alt=""><hr><p><a href="https://medium.com/totalcross-community/top-5-videos-embedded-systems-cd6c72c0546a">The top 5 videos about embedded systems by TotalCross in 2020</a> was originally published in <a href="https://medium.com/totalcross-community">TotalCross Community</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The top 5 articles for embedded systems by TotalCross in 2020]]></title>
            <link>https://medium.com/totalcross-community/top-5-articles-embedded-systems-totalcross-2020-bb0189fecb89?source=rss----caa1aff33d05---4</link>
            <guid isPermaLink="false">https://medium.com/p/bb0189fecb89</guid>
            <category><![CDATA[embedded]]></category>
            <category><![CDATA[java]]></category>
            <category><![CDATA[embedded-systems]]></category>
            <category><![CDATA[development]]></category>
            <category><![CDATA[engineering]]></category>
            <dc:creator><![CDATA[Kaique Mancoso]]></dc:creator>
            <pubDate>Fri, 15 Jan 2021 18:35:59 GMT</pubDate>
            <atom:updated>2021-01-15T18:35:59.724Z</atom:updated>
            <content:encoded><![CDATA[<blockquote>The best content with the first steps to learning how to start with embedded systems and how to expand the functionality of your projects.</blockquote><p>We have written some interesting articles in the last year and now we have chosen the top five in 2020. That’s a hard decision to make, but the exercise was to select those who can have a real impact on the embedded systems market. So, if you are starting to learn about embedded systems or have a career in this area, these articles may be very useful to you. Most of the projects use TotalCross for development. So, let’s see some interesting embedded systems content.</p><figure><img alt="2020 in retrospect" src="https://cdn-images-1.medium.com/max/520/1*97jtehd2l9Iy_u3WnZ5Biw.png" /></figure><h3>The best articles about embedded systems (by TotalCross in 2020)</h3><h4>A new way to build cross-platform UIs for Linux Arm devices</h4><p><a href="https://opensource.com/article/20/5/linux-arm-ui">Link to article.</a> A relevant suggestion for those who have the challenge of creating a cross-platform user interface. This proof of concept uses Android XML and TotalCross to build a UI to run on Raspberry Pi and other embedded devices. In this example, Android Studio was used to draw the UI, since it is the one that developers worldwide use most often. Check this to have a quick look at the way to develop a graphical user interface and run it on a Linux Arm device.</p><h4>Creating a dashboard for industrial automation</h4><p><a href="https://medium.com/totalcross-community/creating-a-dashboard-user-interface-for-embedded-devices-6bc4a7a020e0">Link to article.</a> Industrial automation requires great solutions for user experience. So in this article, you will learn how to develop and deploy your first information panel. If you use Java to code, it will be easier to create a dashboard that can really make a difference within the industrial routine.</p><h4>How to build a Coronavirus Chart and run on embedded devices</h4><p><a href="https://www.hackster.io/andreaferreiraoliveira/how-to-build-a-coronavirus-chart-and-run-on-embedded-devices-c4f1c1">Link to article.</a> As Coronavirus changed the expectations for 2020, it became important to have solutions to track new data daily. In this article, you are going to learn how to build a chart by getting online data and deploying it to run on an embedded device. This application uses a COVID-19 online database with updated stats. If you follow step by step, it will be possible to run the app on any Linux Arm device.</p><figure><img alt="Coronavirus Chart" src="https://cdn-images-1.medium.com/max/640/1*9SqEcauCXZe4bAs7TRN7bw.gif" /></figure><h4>Deploy a modern GUI on an embedded device in 5 Simple Steps</h4><p><a href="https://www.toradex.com/pt-br/blog/5-simple-steps-deploy-modern-gui-on-embedded-device?review=post&amp;id=103823">Link to article.</a> Learn how to apply remote updates on a deployed application, directly on the device. There are five steps to updating a GUI of remote embedded apps. The technologies used in this project are Torizon, Docker, Apalis iMX8 and TotalCross. This content is perfect for those who use Toradex boards when building embedded systems. To make it more familiar, it uses a home appliance sample application as an example.</p><h4>Expand your Raspberry Pi with Arduino ports</h4><p><a href="https://opensource.com/article/20/7/arduino-raspberry-pi">Link to article.</a> If you are a Raspberry Pi projects lover, this is awesome. We show how to expand Raspberry Pi’s ports using an Arduino board. As a result, it’s possible to get more functionality and ports, besides adding a layer of protection to the device. You’ll be able to create a variety of projects using a wide range of components. Enjoy!</p><figure><img alt="GUI Dashboard Sample for Embedded Systems" src="https://cdn-images-1.medium.com/max/675/1*UBzVHIoMjlh0ONd7vTCeBA.png" /></figure><h3>Extra content</h3><p>If you liked these articles and want to read more about embedded systems and figure out how to improve your embedded developer skills, you can check other content <a href="https://totalcross.com/articles">here</a> and become part of the <a href="https://totalcross.com/community">TotalCross Community</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=bb0189fecb89" width="1" height="1" alt=""><hr><p><a href="https://medium.com/totalcross-community/top-5-articles-embedded-systems-totalcross-2020-bb0189fecb89">The top 5 articles for embedded systems by TotalCross in 2020</a> was originally published in <a href="https://medium.com/totalcross-community">TotalCross Community</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to create an emulator for a single instruction processor using openGL]]></title>
            <link>https://medium.com/totalcross-community/opengl-ff1ee09bf143?source=rss----caa1aff33d05---4</link>
            <guid isPermaLink="false">https://medium.com/p/ff1ee09bf143</guid>
            <category><![CDATA[open-source]]></category>
            <category><![CDATA[emulator]]></category>
            <category><![CDATA[opengl]]></category>
            <category><![CDATA[java]]></category>
            <category><![CDATA[community]]></category>
            <dc:creator><![CDATA[Victor Misael Brito F. Carneiro]]></dc:creator>
            <pubDate>Mon, 11 Jan 2021 12:17:34 GMT</pubDate>
            <atom:updated>2021-01-11T12:41:33.588Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qmtjPwe56lCqxX2cI6C9WA.png" /></figure><h4>Using OpenGL to code an emulator with only one instruction, maximum up to seven days</h4><p>For a long time, I was fascinated with the idea of ​​running one platform using another and I always tried to study emulators. That is why I have always been researching and aware of this topic and that is how I found it in the <a href="https://discord.com/invite/7nuaqZ2">emulator community at Discord</a>, a project for beginners of an emulator with only one instruction, plus a challenge: to be able to develop this in 7 days. I was captivated by the idea, especially by the fact it was a 2010 project, that is, I have help and material on the internet!</p><p>I completed the challenge and was extremely happy with the result and so I decided to share here what I learned from the development of emulators and about the technology used, openGL. So, let’s discover how to create an emulator for a single instruction processor using openGL. But first of all:</p><h3>What is OpenGL?</h3><p><a href="https://medium.com/@dmitrygz/what-is-opengl-and-how-to-start-learning-it-34f19cfa219f">OpenGL</a>, which stands for Open Graphics Library, is an API (Application Programming Interface) used in computer graphics, which exposes the resources of Video Hardware to programmers to put their creativity to 100%. This feature is super used in the development of 3D environments, games (like <a href="https://blog.counter-strike.net/">Counter Strike</a>) and other technologies.</p><p>Knowing what this tool is, it is interesting to understand some points of it to be able to follow the development of the emulator before putting your hand in the code or to prepare for the market, because openGL is a widely used tool (including <a href="https://totalcross.com/?utm_source=oracle&amp;utm_medium=article&amp;utm_campaign=emulator-opengl">TotalCross</a> — an open source framework for developing graphical interfaces for embedded and mobile systems — uses openGL and <a href="https://opensource.google/projects/skia">Skia </a>in the components).</p><h4>Understanding bytePusher</h4><p><em>bytePusher </em>is a virtual machine, with a CPU (The <a href="https://esolangs.org/wiki/ByteByteJump">ByteByteJump</a>) with just one instruction: copy a byte to location x and then jump to location y (yes, exactly as the name says). Basically, this is how the CPU works. And because of this simplicity, which allows it to be easy to use so that, depending on your skills, it takes up to 2 days to create a simple emulator (it was my first time, so I made it in 7 days)!</p><h3>Coding the emulator</h3><p>Starting at the heart of the emulator, the CPU, as stated above, is simple. It’s just an instruction: Copy this byte to that address, and jump to that, and that’s it.</p><p>To help me with the task of removing and putting data in memory, I created a function that reads the number of bytes you want (with a limit of 64 bits, or 8 bytes):</p><h4>Function to read data from memory</h4><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/2194c3b541e85513dd4138b4da596517/href">https://medium.com/media/2194c3b541e85513dd4138b4da596517/href</a></iframe><p>The variable PC, initialized with 0, when entering the loop will push the byte (8 bits) previously inserted to the left (the shift <em>&lt;&lt;</em>) and will do the OR logical operation with the value, to add the other byte.</p><p>Imagine this “push” as if I add zeros to the right of a number and then add it to another number. For example, 5, I put a zero (I push 5 to the left) and it becomes 50. So I take another value from memory (let’s assume 9), and I add it to 5 (doing the logical OR), and it becomes 59.</p><h4>Specifications virtual machine (VM)</h4><p>The CPU does not have a defined specification which address should start, and how many cycles should run before leaving for other tasks, however, the virtual machine (the bytepusher itself, which uses the CPU), has these well-defined aspects, which are:</p><ul><li>65535 cycles for each rendered frame, 16MB of RAM (already allocated);</li><li>Big-Endian;</li><li>256x256 screen, 1 byte per pixel, 216 colors;</li><li>16-key keyboard;</li><li>8 bit sound, mono, 256 samples per frame (15360 per second assuming 60 frames per second)</li></ul><p>According to the specification, the first 2 bytes of memory are reserved for the keys, at the beginning of each frame the variable PC (which points to which address the CPU should read the instructions) must be read from the third byte (that is, the address 2 of the memory, since it starts with 0) until byte 5 (address 4), and the remaining two bytes are. The starting address of the segment where the bytes describing the screen will be (a pointer in practice), and the other two last bytes, the audio segment</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/f1ce31c7749fe2844465ce3aa7300d36/href">https://medium.com/media/f1ce31c7749fe2844465ce3aa7300d36/href</a></iframe><h4>Implementing the CPU</h4><p>Knowing the details above, you can implement the CPU in this way:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/f6ccb767470c194835e44ea287e33237/href">https://medium.com/media/f6ccb767470c194835e44ea287e33237/href</a></iframe><p>Take the PC byte (the address you want to go to), copy the data pointed by PC (3 bytes in size) to the address 3 bytes after it (since it is the size of the data), and then place PC for the value that is 6 bytes ahead. Do this 65535 times to facilitate the implementation, I made a macro with the number of cycles</p><p>So, from that, we basically have the processor implemented, so we can go to the other part of the emulator (the part that involves the cute things on the screen)</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/8d9070b997a2d2f809c24c22e62c702d/href">https://medium.com/media/8d9070b997a2d2f809c24c22e62c702d/href</a></iframe><p>This program was developed to receive the name of the executable via the command line, and after that, load into an array. By the end, load in the emulator’s allocated memory, (being the object of the CPU).</p><p>CPU c = CPU();</p><p>The code to load data into memory is very simple:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/df62e1f7317da66d1eebd3de267f0925/href">https://medium.com/media/df62e1f7317da66d1eebd3de267f0925/href</a></iframe><p>After placing the ROM in memory, we initialize:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/80c121583a1c007f4d724642391c4b03/href">https://medium.com/media/80c121583a1c007f4d724642391c4b03/href</a></iframe><p>We created the SDL window, put its measurements (600 by 600) and its position, (100 on the x axis, and 100 on the y axis). use the header assert.h, in case this variable is not started correctly, the program does not continue. initialize the events, and the audio, and then load the system’s color palette.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/0e142db564c3a2841b070c1e38791844/href">https://medium.com/media/0e142db564c3a2841b070c1e38791844/href</a></iframe><p>According to the emulator specification (available in the references link), there are 216 colors, each RGB color component can have 6 different intensities, (6 * 6 * 6), these intensities varying from 0 to 5, the value color is stored in an 8-bit variable (after all, there are only 216 colors, no larger values ​​are needed).</p><p>Such a value of 216 colors is achieved as follows: Red * 36 + Green * 6 + Blue. As we know, each value can have a value from 0 to 5, to extract the blue color, we only need to remove the module (% 6) from the operation color. As the green value is multiplied by 6, divided by 6, and we remove the module again and red the same way.</p><p>After that, we will save these values ​​in a 32-bit variable, as we want this variable to hold 3 values ​​of 8 bits, we use the magic of C ++ pointers and references!</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/2c14d4d285e3704940deafcf8504ef09/href">https://medium.com/media/2c14d4d285e3704940deafcf8504ef09/href</a></iframe><p>Simply convert caught the reference <em>_color32val, </em>reinterpreted as a pointer to an 8-bit variable, and access to an array that does not cause problems because these places are already allocated. And after that, save in an array with the color palette</p><p>From this, let’s go to the coolest part of the emulator</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/da16905a6a2b63b8eab3f77a62f4e946/href">https://medium.com/media/da16905a6a2b63b8eab3f77a62f4e946/href</a></iframe><p>This first part of the code, I initialize the emulator audio with the parameters above:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/36630883a7c37acb30affc2f1daa2b7c/href">https://medium.com/media/36630883a7c37acb30affc2f1daa2b7c/href</a></iframe><p>From there, I leave the initial color of the system black, using the glclearcolor. Then, load the identity matrix, and use GlOrtho to map the space I’m going to render in 2D, maps the 256 by 256 of the screen, to the -1 space ,1.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/4d5d0f0dba60d53232c71dbd9c25b05d/href">https://medium.com/media/4d5d0f0dba60d53232c71dbd9c25b05d/href</a></iframe><p>With that we have the main loop, in the first part of the code, using SDL_QueueAudio, it is possible to reproduce the audio, as there are 256 samples per frame, fill in the last argument with this value, and take the pointer of the section where the audio is located using the getAudioSection() method;</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/79f80c6fc9c7317c1e47099b65dbb8ec/href">https://medium.com/media/79f80c6fc9c7317c1e47099b65dbb8ec/href</a></iframe><p>Notice that I convert this pointer from uint8_t * to int8_t *, because I want such values ​​with a negative or positive sign. From that, I call the CPU, so that it runs its number of necessary cycles. After that, we call glClear, to clean the screen and draw the new frame, and we take the memory section with the color bytes usingpointer arithmetic.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/40d137da43c8ff5f0d9db872c7a7c042/href">https://medium.com/media/40d137da43c8ff5f0d9db872c7a7c042/href</a></iframe><p>With that, we go through the 256 * 256 pixels that are in memory, and draw it:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/cc544c392e69b8f0850eec0fc936a885/href">https://medium.com/media/cc544c392e69b8f0850eec0fc936a885/href</a></iframe><p>As the color palette has already been loaded into memory, we only convert it to a vector and access it in the same way it was saved. After that, we draw a small square with the desired color, for each of the pixels.</p><p>So, just use SwapWindow to change the frame:</p><p>SDL_GL_SwapWindow(Window);</p><p>After that, using SDL, it is very simple to be able to see the button input, as we know that the keys are 16, from 0 to 10, from A to F, simply map these keys from the keyboard to the emulator.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/b6f836f9d53518fec64534fe2eff3f04/href">https://medium.com/media/b6f836f9d53518fec64534fe2eff3f04/href</a></iframe><p>I used the key down to find the key pressed, and then I did a logical OR with the value, to fill the 2 bytes of the 16 bits</p><p>In an analogous way:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/c26a66640eb22d292e09ef77006c1e19/href">https://medium.com/media/c26a66640eb22d292e09ef77006c1e19/href</a></iframe><p>I made an exclusive to remove the key pressed. After that, put it in memory, the CPU already has a function ready for it.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/60b96071b92ffc4585cd90f0d1c27b43/href">https://medium.com/media/60b96071b92ffc4585cd90f0d1c27b43/href</a></iframe><p>As I am compiling this code for x86, and x86 is little endian, the MSB is the last byte, we make this inversion. With this, we created an emulator for a single instruction processor using openGL</p><h3>Result</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/602/0*m_ueL8h75X-9Gn5u" /><figcaption>Result on simulator</figcaption></figure><h3>Conclusion</h3><p>I hope you enjoyed it and any questions just leave in the comments or enter there in the <a href="https://discord.com/invite/7nuaqZ2">emulator development community group</a> or <a href="https://discord.com/invite/KWwtDP5">TotalCross group</a>, on Discord, and I promise I’m going to help. The TotalCross community is very open to helping in learning and exchanging experience at any stage of development.</p><p>I am interning there now and I have learned a lot about graphics component development, which helps me with emulators since they use the same technology.</p><p>And if you finished, send the printout of the result to me =)</p><h3>References</h3><ul><li><a href="https://opengl.br.jaleco.com/">OpenGL</a></li><li><a href="https://skia.org/">Skia</a></li><li><a href="https://esolangs.org/wiki/BytePusher">https://esolangs.org/wiki/BytePusher</a></li><li><a href="https://totalcross.com/?utm_source=oracle&amp;utm_medium=article&amp;utm_campaign=emulator-opengl">TotalCross</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ff1ee09bf143" width="1" height="1" alt=""><hr><p><a href="https://medium.com/totalcross-community/opengl-ff1ee09bf143">How to create an emulator for a single instruction processor using openGL</a> was originally published in <a href="https://medium.com/totalcross-community">TotalCross Community</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Using local database with SQLite on Linux Arm and Android]]></title>
            <link>https://medium.com/totalcross-community/using-local-database-with-sqlite-on-linux-arm-and-android-93c806869e49?source=rss----caa1aff33d05---4</link>
            <guid isPermaLink="false">https://medium.com/p/93c806869e49</guid>
            <category><![CDATA[android]]></category>
            <category><![CDATA[embedded-systems]]></category>
            <category><![CDATA[sqlite]]></category>
            <category><![CDATA[java]]></category>
            <category><![CDATA[makers-tutorials]]></category>
            <dc:creator><![CDATA[Vaneska Sousa]]></dc:creator>
            <pubDate>Tue, 24 Nov 2020 13:19:57 GMT</pubDate>
            <atom:updated>2020-11-24T13:18:10.136Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8Plq-cPqqDJUXHeWG0sadg.png" /></figure><h4>Learn how to create, read, update and delete local data with SQLite</h4><p>It is already well known in mobile programming that it is necessary to build a local database which will record all data and, if necessary for your application, when the device is connected to the internet it will send this data to the server through a <a href="https://www.tutorialspoint.com/webservices/what_are_web_services.htm">web service</a>. There are several local database options but the best known and used is <a href="https://www.sqlite.org/index.html">SQLite</a>, which is the local and open source database used when developing native Android with Java.</p><p>In the development of embedded systems (<a href="https://en.wikipedia.org/wiki/Arch_Linux_ARM#:~:text=Arch%20Linux%20ARM%20is%20a,to%20be%20very%20Unix-like.">Linux Arm</a>) like <a href="http://raspberrypi.org/">Raspberry Pi</a>, <a href="https://beagleboard.org/bone">BeagleBone</a>, <a href="https://www.robocore.net/sbc/caninos-loucos-labrador-v2?newlang=english">Labrador</a>, <a href="https://www.toradex.com/">Toradex </a>and <a href="https://www.nxp.com/">NXP</a>, the scenario is very similar, with SQLite and GDBM as the most common options. This is because the Linux community prioritizes the use of free and open source software. In addition, these cards do not have much memory and that is why it’s necessary to be very careful how they are used, as it is necessary to share them with the sensors, interface etc. If your integrated device has limited storage — usually data stored locally for the time being until the device receives a connection — then it loads the data into the cloud. Alternatively, if it has a resistance connection, the small local storage can function as a stack for the embedded device to push the data temporarily in place. Then it tries to send the data to the cloud server too; if the operation was successful it cleans the local instance, freeing up space again and restarting the process.</p><p>The use of SQLite is so common in this part of shipments that <a href="https://www.automotivelinux.org/">Automotive Grade Linux</a> uses it in its projects. And with the arrival of <a href="https://medium.com/totalcross-community/automotive-grade-linux-agl-announced-totalcross-new-member-d68a72cacd02">TotalCross as part of this project of the Linux Foundation </a>this can bring even more benefits. Using Java together with the <a href="http://totalcross.com/">TotalCross</a> framework it is possible to generate applications for both Android and Linux Arm using SQLite embedded in the device, in order to generate compatibility with any platform and OS version on it.</p><p>This makes it even easier (and fluid) to automate houses, cars, or other embedded projects that are also integrated into your cell phone.</p><p>And if you’re still not completely sure about using SQLite, know that SQLite supports all relational database features. To access this database, you do not need to establish any type of connection to it, such as JDBC, ODBC and others.</p><p>To understand better let’s create a simple project in the next steps and learn how to do CRUD (Create, Read, Update and Delete) with Java and TotalCross.</p><h3>summary</h3><ol><li><a href="#9d7a">Creating a TotalCross Project with SQLite</a></li><li><a href="#bf68">Creating the Local Database</a></li><li><a href="#788f">Reading Local Data</a></li><li><a href="#3642">Updating Data</a></li><li><a href="#a703">Deleting Data</a></li><li><a href="#499c">User Interface</a></li><li><a href="#1636">Viewing Local Data</a></li><li><a href="#f714">Conclusion</a></li></ol><p>Remember that the link to download the source code is in the topic ‘References’ at the end of this session.</p><p>Let’s use <a href="https://github.com/TotalCross/sqlite-sample">this project</a>.</p><h3>Creating a TotalCross Project with SQLite</h3><h3>Project Structure</h3><p>As you will learn better from the chapters in the suggested<a href="https://learn.totalcross.com/guideline/suggested-architecture"> architecture</a> and<a href="https://learn.totalcross.com/guideline/suggested-design-patterns"> design patterns</a>, TotalCross suggests following the <a href="https://www.tutorialspoint.com/design_pattern/mvc_pattern.htm">MVC </a>and <a href="https://www.baeldung.com/java-dao-pattern">DAO </a>standard when creating your applications.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/638/0*h--I3sVih-0F4wri" /></figure><p>So let’s start by creating three packages:</p><ul><li><strong>ui: </strong>Where will all UI classes stay.</li><li><strong>util: </strong>This is the SQLite database creation class</li><li><strong>dao: </strong>This is the package that will save all Data Access Objects (DAO).</li></ul><p>Once this is done, our project will be structured as follows:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/1da507cc6d5f2f2a4996b504f2e9a713/href">https://medium.com/media/1da507cc6d5f2f2a4996b504f2e9a713/href</a></iframe><h3>Creating the local database</h3><p>Inside the <strong>package util,</strong> we will create a class called <strong>DatabaseManager </strong>and a static object of type SQLiteUtil called <strong>sqliteUtil</strong>.</p><p>That done, inside a static block, we will initialize the sqliteUtil passing as argument Settings.appPath and the name of our database in quotation marks. It is important to always put “<strong>.db</strong>” next to the name.</p><p>Now let’s go to our Statement (the interface used to execute SQL command) to establish the connection with our database and then pass the command to create the CPF table (CPF means “Natural Persons Register”; it is the Brazilian individual taxpayer registry identification).</p><p>Prior knowledge of SQLite is required to better work with the creation of your application’s local database. We recommend this<a href="http://sd.blackball.lv/library/The_Definitive_Guide_to_SQLite_2nd_edition.pdf"> PDF</a> to learn more.</p><blockquote>OBS: Always <strong>import </strong>from <strong>totalcross packages</strong>.</blockquote><p>Now we have finished the first part. Here’s how it went:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/844a611f7ffabf370355eb781abeaa95/href">https://medium.com/media/844a611f7ffabf370355eb781abeaa95/href</a></iframe><p>Now let’s create a static method to return our connection to the database so we can use it inside the DAO package when we manipulate data.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/209131506a9de63f8f10d98a0fb24ec1/href">https://medium.com/media/209131506a9de63f8f10d98a0fb24ec1/href</a></iframe><p>And ready. See the connection class with the database below:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/3b4b17609ebc841dbed55db1466a24a1/href">https://medium.com/media/3b4b17609ebc841dbed55db1466a24a1/href</a></iframe><h4>Inserting data into the table</h4><p><strong>Inside our DAO </strong>package, we will create a <strong>CPFDAO class</strong>. Let’s call it this because it is the name of our table in the database + DAO as the default name to say that that class corresponds to an access object to the database, in this case, the CPF.</p><p>Once this is done, we will create a method for registering the CPF in the local database. For this method, just ask as an argument the CPF of type String then create a connection with the bank and execute the SQLite command passing it as text in the .<em>executeUpdate</em>.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/8c4f6ec4e856664bd8e4230dfcc463ea/href">https://medium.com/media/8c4f6ec4e856664bd8e4230dfcc463ea/href</a></iframe><h3>Reading local data</h3><p>To make the data of a table not SQLite is very simple, just execute the <strong>Select</strong> command through an <em>executeQuery </em>to return the data from the table and then create a While to traverse all rows of the returned table and store that data within an ArrayList.</p><p>In the code below you will be able to return all the data registered in the local database. The call and display part for the user is in the<a href="https://totalcross.gitbook.io/playbook/learn-totalcross/how-to-store-data-sqlite#overview"> UI topic</a>.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/3050c27827ed1771c976b594f689dcc6/href">https://medium.com/media/3050c27827ed1771c976b594f689dcc6/href</a></iframe><h3>Updating Data</h3><p>Updating the data is also very simple; just pass the SQLite command called Update with the value of the old field and the current field. If you want to learn more about the way this command works in SQLite, we recommend this<a href="http://www.sqlitetutorial.net/sqlite-update/"> article</a>.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/794f7165c10b5070bc346e543567177c/href">https://medium.com/media/794f7165c10b5070bc346e543567177c/href</a></iframe><h3>Deleting Data</h3><p>To delete a record, simply execute the command<a href="http://www.sqlitetutorial.net/sqlite-delete/"> Delete</a> and pass through the PreparedStatement the value to be deleted, and run through the <em>executeUpdate</em>.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/e8208be5c1fe3aa87715c753669542df/href">https://medium.com/media/e8208be5c1fe3aa87715c753669542df/href</a></iframe><p>You can see the complete <em>CPFDAO.java </em>class in the link below:</p><p><a href="https://github.com/TotalCross/sqlite-sample/blob/main/src/main/java/com/totalcross/dao/CPFDAO.java">TotalCross/sqlite-sample</a></p><h3>User Interface</h3><p>In this chapter, our focus is not on the user interface but rather to learn the basics about SQLite and apply it to TotalCross. Knowing this, let’s put the interface code that we use to build this basic example here. If you have any doubts about this most graphic part, we recommend a quick read on the<a href="https://totalcross.gitbook.io/playbook/components/accordion-container"> Components</a> section in our documentation.</p><p>Remember that everything related to interfaces goes inside the <strong>UI package.</strong></p><h4>Initial Screen</h4><p>Where we call the method to register the CPF:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/0bb2f7ea66a78b79831c714693ac1bc6/href">https://medium.com/media/0bb2f7ea66a78b79831c714693ac1bc6/href</a></iframe><ol><li>Notice that on <strong>line 69</strong> we call the <strong>CPFDAO().InsertCPF</strong> (cpf) and register the CPF entered in the local database.</li><li>On <strong>line 70</strong> we call the <strong>getCPF()</strong> method to read the database data and assign the result to the cpfs array.</li><li>On <strong>line 135</strong> we call the <strong>deleteCPF(cpf)</strong> method to delete the CPF that was typed.</li></ol><h4>Update Screen</h4><p>And there is the interface where the data can be changed, just to test the update command with SQLite.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/d8e54e6cde0ef01841ceb03aa96b9db2/href">https://medium.com/media/d8e54e6cde0ef01841ceb03aa96b9db2/href</a></iframe><h3>Viewing local data</h3><p>To obtain the data registered in an SQLite database it is necessary to download a program called<a href="https://sqlitebrowser.org/"> DB Browser For SQLite</a>.</p><ul><li>After downloading and installing the program, simply run the file below to <strong>open the database</strong> and then select the .<strong>db</strong> file that is i<strong>nside your project</strong>.</li><li>Click “<strong>Browse Data</strong>” to see all the records of your SQLite database!</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*ckchpYukGMuEbqu8" /></figure><h3>Conclusion</h3><p>So now you can start with SQLite as your local database for both Linux Arm and Android! Although we use TotalCross, the SQLite commands are the same regardless of language and framework, and TotalCross is basically Java so you can apply the content of this article to a purely Java application without major changes.</p><p>You can ask any questions you may have about SQLite, development for Linux Arm or Android on the <a href="http://forum.totalcross.com/">TotalCross forum</a>, or you can join the community via <a href="https://t.me/totalcrosscommunity">Telegram </a>or <a href="https://discord.gg/KWwtDP5">Discord</a>!</p><h4>References</h4><ul><li>The entire project can be accessed through our<a href="https://github.com/TotalCross/sqlite-sample"> GitHub</a>;</li><li><a href="http://www.sqlitetutorial.net/">SQLite Tutorial</a>.</li><li><a href="https://totalcross.com/get-started/"><strong>Get Started with TotalCross</strong></a><strong>.</strong></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=93c806869e49" width="1" height="1" alt=""><hr><p><a href="https://medium.com/totalcross-community/using-local-database-with-sqlite-on-linux-arm-and-android-93c806869e49">Using local database with SQLite on Linux Arm and Android</a> was originally published in <a href="https://medium.com/totalcross-community">TotalCross Community</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Automotive Grade Linux (AGL) announced TotalCross as a new member]]></title>
            <link>https://medium.com/totalcross-community/automotive-grade-linux-agl-announced-totalcross-new-member-d68a72cacd02?source=rss----caa1aff33d05---4</link>
            <guid isPermaLink="false">https://medium.com/p/d68a72cacd02</guid>
            <category><![CDATA[embedded-systems]]></category>
            <category><![CDATA[community]]></category>
            <category><![CDATA[embedded-linux]]></category>
            <category><![CDATA[automotive-grade-linux]]></category>
            <category><![CDATA[totalcross]]></category>
            <dc:creator><![CDATA[Kaique Mancoso]]></dc:creator>
            <pubDate>Thu, 29 Oct 2020 12:43:31 GMT</pubDate>
            <atom:updated>2020-10-29T12:43:31.624Z</atom:updated>
            <content:encoded><![CDATA[<h4>AGL works on the development of an open source platform for connected car technologies and announces five new members, including TotalCross.</h4><p>We are happy to announce that TotalCross is a new member of <a href="https://www.automotivelinux.org/">Automotive Grade Linux (AGL)</a>, an open source project for automotive applications. The announcement was made on September 29th and named four other members besides TotalCross.</p><p>It is a wonderful achievement being part of something so impactful on the automotive industry, as AGL. The Linux Foundation hosts this innovative project, which is a reference on open operating systems and frameworks for this segment.</p><p>Along with <a href="https://www.l4b-software.com/">L4B Software</a>, <a href="https://www.sibros.tech/">Sibros</a>, <a href="http://www.sonatus.com/">Sonatus</a> and <a href="http://www.telechips.com/">Telechips</a>, TotalCross is part of the group of five new AGL members. Dan Cauchy, Executive Director of Automotive Grade Linux at <a href="https://www.linuxfoundation.org/">The Linux Foundation</a>, commented on the new step: “We are delighted to welcome our five new members and look forward to leveraging their expertise in embedded software, hardware, and connectivity to further expand the capabilities of AGL.”</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*cE-uliGYZXv7nCQyDiZ25Q.jpeg" /><figcaption><strong>Automotive Grade Linux at Embedded World 2020.</strong> Source: Charbax’s YouTube Channel</figcaption></figure><p>As a partner of AGL, TotalCross expects to help the automotive industry to acquire new levels of innovation and launch faster news products, ensuring an excellent user experience for consumers. Working together with Automotive Grade Linux and their partners, we intend to transform the way automobiles are built.</p><p>TotalCross is graded as a Bronze Member at AGL, next to big brands such as Intel, Hyundai, Mitsubishi Motors, Samsung, Nvidia, Toshiba, Fujitsu, Adobe and others. For us, it is an honor to be part of this wonderful team.</p><p>AGL today counts at least 146 brands contributing to shaping the future of the way we use and interact with our cars. Besides car manufacturers, suppliers and technology companies, a huge group of developers come together for this awesome mission of building a Linux-based open software platform, for applications that can serve as standard for the automotive industry.</p><p>The latest release of Automotive Grade Linux was the UCB 9.0 Software Platform. Known as Unified Code Base 9.0, with the codename “Itchy Icefish”, the release was launched in April of this year and includes new features for audio, connectivity, security, OTA and speech recognition.</p><p><a href="https://totalcross.com/?utm_source=medium&amp;utm_medium=article&amp;utm_campaign=agl-press-release">TotalCross</a> is an open source cross-platform framework developed to bring speed to GUI (graphical user interface) creation for embedded devices. TotalCross has the development benefits of Java without the need of Java running on the device, as it uses its own bytecode and virtual machine (TC bytecode and TCVM), created specifically for performance enhancement. TotalCross runtime is currently at 5MB to bring mobile-grade user experience even for low-end MPUs.</p><p>“GUI development is a time-consuming task in automotive projects. Our goal is to reduce it up to 80% and we believe that being part of AGL allows us a greater proximity to the automotive market, facilitating the understanding of its needs and specific requirements,” said Bruno Muniz, CEO and Co-founder of the TotalCross Platform.</p><p>We have a long journey ahead and being part of it with AGL is an important step for the future. TotalCross is committed to helping to build a strong community in the development of car applications.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d68a72cacd02" width="1" height="1" alt=""><hr><p><a href="https://medium.com/totalcross-community/automotive-grade-linux-agl-announced-totalcross-new-member-d68a72cacd02">Automotive Grade Linux (AGL) announced TotalCross as a new member</a> was originally published in <a href="https://medium.com/totalcross-community">TotalCross Community</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>