Migration Guide¶
The MicroUI implementation is provided by the MicroEJ UI Pack. According the MicroEJ UI Pack used to build the MicroEJ Platform, the application has to be updated.
- Refer to the table that illustrates the implemented MicroUI API for each MicroEJ UI Pack.
- Refer to the latest MicroUI API Changelog.
- Refer to the latest Drawing API Changelog.
The following chapters describe the changes to perform in the application according the MicroEJ UI Pack used to build the MicroEJ Platform.
From 12.x to 13.x¶
- Update ej.api#microui dependency to the latest available version
3.x
. - Add ej.api#drawing dependency.
<dependencies>
<dependency org="ej.api" name="microui" rev="3.1.0"/>
<dependency org="ej.api" name="drawing" rev="1.0.3"/>
</dependencies>
From 10.x to 12.x¶
- In MicroEJ application launcher >
Configuration
tab > MicroUI: checkUse Flying Images
when the application is using the flying images (propertycom.microej.library.microui.flyingimage.enabled
). - In MicroEJ application launcher, increase the Java heap: it now contains MicroUI images metadata (size, format, clip etc.). The iceatea heap has been automatically decreased.
From 9.x to 10.x¶
- In MicroEJ application launcher >
Configuration
tab > MicroUI: set the image heap size (property ej.microui.memory.imagesheap.size).