Skip to content

Latest commit

 

History

History

MicroUI-Get-Started

Overview

This library contains simple examples to understand how to use the main MicroUI library APIs. It is recommended to study them in the following order :

BasicDrawings

BasicDrawingsAntiAliased

Text

PictosWithCustomFont

TransparentImages

FlippedImages

RotatedImages

ScaledImages

BufferedImages

DeformedImages

InputEvents

Note that the same set of resources (images and fonts) is used across all of the examples.

Usage

Run on Simulator

  1. Right-Click on the example to run .java file
  2. Select Run As -> MicroEJ Application
  3. Select your platform
  4. Press Ok

Run on Device

  1. Right-Click on the example to build .java file

  2. Select Run As -> Run Configurations...

  3. Select MicroEJ Application configuration kind

  4. Click on New launch configuration icon

  5. In Execution tab

    1. In Target frame, in Platform field, select a relevant platform
    2. In Execution frame
      1. Select Execute on Device
      2. In Settings field, select Build & Deploy
  6. Press Apply

  7. Press Run

The MicroEJ files for the 3rd-party BSP project are generated, to run the application on the device, you must compile the bsp project and then flash the .out file on your board, you can find more explanations in the README of your platform.

Requirements

This example has been tested on:

  • MicroEJ SDK 5.1
  • With a Platform that contains:
    • EDC-1.3
    • BON-1.4
    • MiCROUI-3.1
    • DRAWING-1.0

#Dependencies

All dependencies are retrieved transitively by Ivy resolver.

Credits

Font Author License
Font Awesome Dave Gand
http://fontawseome.io
SIL OFL 1.1 license-http://scripts.sil.org/OFL
Sans Adobe SIL Open FontLicense.txt

Source

N/A

Restrictions

None.


Markdown
Copyright 2019-2022 MicroEJ Corp. All rights reserved.
Use of this source code is governed by a BSD-style license that can be found with this software.