This example shows how to listen the MicroUI input events.
- MICROEJ SDK 6.
- A VEE Port that contains:
- EDC-1.3 or higher.
- BON-1.4 or higher.
- MICROUI-3.4 or higher.
This example has been tested on:
- Android Studio with MicroEJ plugin for Android Studio 0.1.2.
- STM32F7508-DK VEE Port 2.2.0.
Press the screen or push the board buttons to generate events.
By default, the sample will use the STM32F7508-DK VEE Port.
Refer to the Select a VEE Port documentation for more information.
In Android Studio:
- Open the Gradle tool window by clicking on the elephant icon on the right side,
- Expand the
Tasks
list, - From the
Tasks
list, expand themicroej
list, - Double-click on
runOnSimulator
, - The application starts, the traces are visible in the Run view.
Alternative ways to run in simulation are described in the Run on Simulator documentation.
Make sure to properly setup the VEE Port environment before going further. Refer to the VEE Port README for more information.
In Android Studio:
- Open the Gradle tool window by clicking on the elephant on the right side,
- Expand the
Tasks
list, - From the
Tasks
list, expand themicroej
list, - Double-Click on
runOnDevice
. - The device is flashed. Use the appropriate tool to retrieve the execution traces.
Alternative ways to run on device are described in the Run on Device documentation.
All dependencies are retrieved transitively by Ivy resolver.
N/A
None.
Markdown
Copyright 2016-2024 MicroEJ Corp. All rights reserved.
Use of this source code is governed by a BSD-style license that can be found with this software.