[062] Getting started with Android Development

Source: Internet
Author: User
● · ● Directory:

A1 ............ Android Directory Overview
ANATOMY OF AN ANDROID APPLICATION
Use the "Visualization" method to add a String
AndroidManifest. xml
A2 ............ Android development skills
A3 ............ Create a project for Android
A4 ............ Android console display
A5 ............ Android text message instance

Android directory introduction:

  • Src:
    Xx. java: source file of the program.
  • Gen:
    R. java: automatically generated and cannot be modified at will.
  • Assets:
    The file in does not generate an id in R. java.
  • Res:
    All the files in R. java generate a unique id, which can be used to access the files.
    Drawable-xhdpi: The resolution is the highest, and the image displayed is the smallest, but it looks clear!
    Drawable-hdpi: Second.
    Drawable-mdpi: Intermediate.
    Drawable-ldpi: The minimum resolution, the maximum image displayed, but not clear.
    The location of the picture, divided into high, low and different image resolution.
    Placing images in different folders has different resolutions!
    Layout:
    Xx. xml: Layout file. Each Activity corresponds to a layout file.
    Values:
    String. xml: contains some field values for internationalization of the software.
    <String-array> A string array can be written.
  • AndroidManifest. xml:
    Configure the entire application, including application, activity, icon, tag, and license.
    When creating an activity, you must register it in the file. Otherwise, the title of the activity cannot be displayed. The title of the activity must be defined in this file.

See Beginning Android 4 Application Development Page30.

Related Article

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.