Get the App
SLTechnology News&Howtos  ›  Development  › 

What are the basics of Android

Shulou Source: shulou.com Published: 2022-06-02 03:41:51 11月15日 Update

What are the basic knowledge of Android? in view of this question, this article introduces in detail the corresponding analysis and solutions, hoping to help more partners who want to solve this problem to find a more simple and feasible way.

Today, let's start the basic journey of Android!

I. the system framework of Android

The system architecture of Android is divided into four layers.

1. Application application layer

2. Framework application framework layer

3. Libraries system runtime and system class library layer (cUniverse +)

4. Linux kernel and hardware driver layer

II. Introduction of Android application development system

1. Four components: Activity,Service,BroadcastReceiver (broadcast receiver) and ContentProvider (content provider).

2. UI control

3. Multithreading: Handler mechanism, AsyncTask.

4. Network access

5. Data storage

6. Resource management: image resources, layout resources, animation resources, constant resources, raw resources, assets resources

7. Animation and menu

8. Advanced components

9. Event distribution mechanism

10. System service

11. Third-party class libraries

12. Screen adaptation

Description of the directory structure of the Android project

Src: source fil

Gen: system resource generation package

Bin: target fil

Assets: non-Android resource files that store application configuration files

Libs: third-party class package

Res: different resource files (drawable (image resources), layout (layout resources), values (constant resources), menu (menu resources).

AndroidManifest.xml: application manifest file

Project.properties: apply project properties file

The answers to the questions about the basic knowledge of Android are shared here. I hope the above content can be of some help to you. If you still have a lot of doubts to be solved, you can follow the industry information channel to learn more about it.

Tags: Resources files systems applications fundamentals knowledge problems basics content animation images layouts constants more mechanisms frameworks third parties components menus projects Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Apple Shulou Technology MySQL Microsoft Xiaomi