Android app-personal application development [Android environment setup and description]

Source: Internet
Author: User

Build an Android system environment

1. What content does the android Environment contain?

Android SDK (software development kit) SDK
It includes the Android operating system, the simulator, the eclipse integrated environment, and the android development tool ADT.

2. Required software?

Android is developed based on Java, so the eclipse integrated environment must be installed.

Android SDK address: http://developer.android.com/sdk/

According to the latest Android SDK download, the verification code will not be mentioned. Of course, after installation, you must configure environment variables for future use.

Set the path to your own path in the SDK tools directory

Android ADT is integrated in ecilpse. Configure-install new in help.
Software adds the update field URL to download and install the ADT

Address: http://dl-ssl.google.com/android/eclipse/
Downloading updates is slow and you need to be patient. This is no better than Microsoft's.


After downloading and updating, you can see that the android OPERATION button is already available on the interface, and then set the environment in the configured Android environment SDK directory preferences.

Brief description of Android

BlogArticleToo many of them, so I won't be able to talk about it here. The younger brother is also working on this application based on the previous SL and flax experience.

First, let's take a look at the installed applications.ProgramComposition

It can be divided into activity, service, broadcast receiver broadcast reciver,
Content Provider content prodvider

What we have done is that the Android Application is composed of activities. You can understand the activity as a form and a presentation layer of the view.

Our components in the unit with activity as the carrier also have an inheritance relationship: for example, textview-> View-> object.

Android is also divided into important development elements:

Androidmanifest configuration file (entry point for configuring basic packgae, activity, and application execution)

Res/layout form layout file-layout editor

Velues resource file-resource editor-configure the resource file to facilitate internationalization later.

First, you must create windows, design the UI layout, add resource files, and add Java functional requirements.CodeWrite and configure androidmanifest.

after the final compilation is complete and there is no error, we can debug it through our simulator.

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.