What Android is about activity and common ADB commands as well as the Android project structure is understood

Source: Internet
Author: User

Summarize some of the things you learned about Android before

One: AndroidUsed in ADBCommand (ADB android Debug Bridge)

1.adb devices view the emulator device and reconnect.

2.adb kill-server turn off all simulator devices.

3.adb install-r URL (Installation path), installation,-R for replacement.

4. adb uninstall URL(unload path), uninstall.

5.adb push< local file >< remote path > upload file.

6.adb Pull < remote path >< local path > download file.

Two: AndroidProject structure

1.SRC Catalog: Java source files for applications

2.gen Catalog: The ADT plugin helps us generate the files.

3.assets Directory: General storage of large resource files.

4.bin directory: Compiled files.

5.libs Catalog: Deraicoux.

6.res Directory: Resource file.

7.res Directory: Resource files (especially when placing picture files, names can only be numbers and lowercase letters, otherwise it will make the program error)

Three: What is activity?

Android is divided into four components: the Activity user interaction component, the service background services component, the Broadcastreceiver broadcast notification component, and the ContentProvider data Provider component. Activity is a standalone, one of the Android application components that can interact with the user, it acts as an interface framework for the application, and is responsible for dynamically loading various user interface views, implementing message delivery and so on.

What Android is about activity and common ADB commands as well as the Android project structure is understood

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.