Before You Begin

Make sure you have gone through the Environment Setup Guide.

In this tutorial, you will create your first Eclipse Oniro application using the OpenHarmony template provided by DevEco Studio.

Prerequisites

  • The latest available version of DevEco Studio installed on your system.

What You Will Learn

  • Set Up DevEco Studio: Install and configure the necessary environment for application development.

  • Create a New Project: Use the [OpenHarmony] Empty Ability template to initialize a project.

  • Explore the Project Structure: Navigate different views, such as Ohos and Project Files, to locate and manage files.

  • Use the Previewer: Learn how to preview UI updates in real time, switch devices, rotate screens, and inspect components.

  • Build UI Components: Add Text and Button components to display messages and handle user interactions.

  • Implement Page Navigation: Use the router module to enable redirection between pages with transition effects.

  • Deploy on a Real Device: Install HDC, configure device settings, and run the application on a physical HiHope HH-SCDAYU200 Development Kit.

What You Will Build

  • An application with two pages that support mutual navigation.

Table of contents