Android getting started

Source: Internet
Author: User

I think the Android entry-level learning strategy can be divided into the following aspects, and I hope that the majority of entry-level development will learn what they want to learn.

Content to be learned in the initial stage

◆ Step 1: configure the environment by yourself.

All adopt the latest SDK, ADT, ECLIPSE, JDK

◆ Step 2: compile or run the teaching example.

2.1 examples of the main operation at this time, such as hello world, and examples of SDK.

2.2 If you have a book, you can run the example in the book, such as SDK development Daquan and APIDemo In the SDK. The purpose of running these examples is that developers can see many effects that Android can achieve.

◆ Step 3: Enter the actual modification stage.

3.1 open-source code modify the program to get the desired effect. After running many examples, I began to consider rewriting the program myself. During the rewriting process, I learned and studied the usage of many controls.

The main learning items are as follows:

Activity

Intent

Control usage and attributes

TextView

EditText

ListView

ImageView/ImageButton

ImageSwitcher

Gallery

GridView

ScrollView

ProgressBar

SeekBar

RadioGroup, RadioButton

CheckBox

Spinner

DatePicker, TimePicker

Resource file

AndroidManifest. xml

Use String Resources

Use a String Array

Use color

Dimensions

Use simple Drawable Resources

Use Images

Use Animation

Use menu

Use XML files

Layout)

Use style)

Theme)

Use the original file

Resource reference

When learning these things, you should pay attention to listening to events, clicking, and long-clicking.

Menu and dialog, which are mainly used at this time. Later, you should learn to modify them to achieve more beautiful results.

3.2 coding debugging needs to be learned

Android Virtual Devices (AVD)

Use of Emulator

Use of Android Debug Bridge (ADB)

Use of Dalvik Debug Monitor Service (DDMS)

3.3 start learning more things

Service

Broadcast Receiver er

Content Provider

◆ Step 4: after learning the basic things, do some ANDROID platform-related learning.

For example, phone, SMS, battery power, screen, sound, vibration, gravity sensing, WIFI, etc. Learn on demand.

◆ Step 5: Learn what applications need

Network-related, database, location service, openGL, etc.

◆ Step 6. Check the DOC documentation provided by the SDK.

◆ Step 7: Clean the edge, such as the Android room display and software store.

◆ Step 8: Go to the system software code to see how people write it.

Address: http://android.git.kernel.org/

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.