Sample code illustrating what is possible to build for Linux Arm using TotalCross.
These are our samples:
Sample Name | Description | Project Name |
---|---|---|
Bad Apple | Bad Apple animation running at 60 fps with totalcross for Linux Arm | bad-apple |
Breakout | Breakout game built with totalcross para Linux arm e Android | breakout |
Corona chart | Animated coronavirus data chart | corona-chart-app |
Dashboard | Graphical User Interfce of a panel that uses several functions of embedded systems | dashboard-sample |
KnowCode Hello World | First application (Hello World) using KnowCode | hello-knowcode |
TotalCross Hello World | first application (Hello World) using TotalCross | hello-world |
Printer | Example of a graphical printer user interface | printer-application |
Expanding Raspberry Pi ports | Expanding the Raspberry Pi ports using an Arduino | rpi-expansion-ports-sample |
Toradex Launcher | Responsive sample to run on Toradex launcher | toradex-launcher-sample |
Home Appliance | Sample of Home Automation | home-applianceXML |
Medical Device | Sample of Oxygen and Pulse Monitor | medical-device |
They are available for download here:
Version | Source | Binaries |
---|---|---|
v1.0.0 | Source | Binaries |
git clone https://github.com/TotalCross/embedded-samples/
or download the .zip by clicking the green "Code" button next to repo name and choosing "Download ZIP".- If you downloaded .zip file, uncompress it in a folder and open it.
- If you are using Linux, run
code <embedded-samples>
or open VS Code and Click in "File > Open..." and select totalcross-embedded-samples in the file dialog that will be shown. - With project opened in VS Code, navigate to desired sample folder (like HomeApplianceXML).
- Look for its [SampleName]Application.java and right-click.
- Choose the "Run" option in the popup.
- Alternatively, follow the instructions in each sample's README for setting up and running the sample.
- Have a nice time developing with TotalCross!
If you prefer to use another IDE, like Eclipse, IntelliJ, on anyother, see Getting Started
Choose the way to contribute and follow these steps:
- Fork this repository.
- Create a branch:
git checkout -b <branch_name>
. - Make your changes and commit them:
git commit -m '<commit_message>'
- Push to the original branch:
git push origin <project_name>/<location>
- Create the pull request.
- Find bugs and let us know by creating a bug report;
- Create features request to indicate the features you want to see working with TotalCross;
- Be part of our community.
- Getting Started with TotalCross;
- Tutorial Videos;
- Building GUI in Android Studio and running on Raspberry Pi
Copyright (c) TotalCross Platform. All rights reserved.
Licensed under the MIT License.