Getting started

For novices, here is an introductory guide.

Tools

  1. Before starting to use our screen, we must first use the Install ok;
  2. Open the tool, and simply get familiar with Development Environment, you can try Create a new project,browse what is there, and don’t have to delve into the details inside;
  3. There is nothing on the newly created project UI. We can drag and drop a text control on it, and then compilerun to our See the effect on the screen; Note: If your machine is a wifi version, you must configure the ADB IP to download normally; refer to the document;
  4. We have provided a large amount of Sample code, select the code package of the corresponding platform size, download it, unzip it, and import into the tool; there are many projects, these are behind The chapter will introduce in detail, here we can choose the example we are interested in Run to see the effect on our screen;

At this point, I believe you will be able to use the simple tool;

Rules

After getting familiar with the tools, let’s take a look at the development rules of this screen;

  1. Understand the directory structure of the project, you can know what the project contains, and in which directory our code, UI and resources are stored;
  2. Next, let's take a look at what content is automatically generated by the tool, what is the correspondence between the UI file and the source code and the control naming rule on the UI; After understanding these, we know where our code needs to be filled in and how to operate the controls;

Control articles

The development interface is inseparable from the use of each control. In the navigation bar of the document, there is a special chapter to introduce the use of each control —— Control Introduction

Serial port

  1. First, we must know the communication model
  2. Then try it out according to the provided case, and then add some protocols and functions on this basis;
  3. Then go to study the realization of communication framework;

Upgrade

There are two upgrade methods:

  1. Make image file —— update.img file; in this way, the program is solidified into the machine, and the program is still there when power is off. Pay attention to the normal download The difference between debugging; this method is also our most commonly used;
  2. Make a flash card —— format the whole machine; the system has a new version update, we will officially provide the corresponding sd file, make it into a flash card and flash the machine to upgrade; like: the system can’t turn on, The system needs to support new functions or fix related bugs, etc., in these cases, you need to flash the machine;

Debugging

Currently, the program can only be debugged by Add Log;

Module articles

See Core Module Instructions

Hardware

See Hardware Instructions

Question

Here are some common problems and solutions;

contact us

QQ group:371608200

powered by Gitbooklast modified: 2023-08-24 15:40:01

results matching ""

    No results matching ""