Android Concise Development Tutorial III: The first application Hello World

Source: Internet
Author: User
Tags empty min

After the Android development environment is installed and the Android emulator is created, you can start writing the first Android app "Hello,world". The following example uses the Eclipse IDE.

After you install ADT plugin, the new project type that you create adds an Android project kind:

Select the Android project item type, and the following dialog box appears:

Project Name:hello World

Build target: Choose android 1.6 And if your build target list is empty, you forget to set up the Android SDK installation directory. You can set up the SDK path through Windows-> Preferences-> Android.

Application Name:hello World

Package Name:com.pstreets.android.example, if you have developed Java or. Net Framework applications, the package name is not unfamiliar.

Create Activity:helloworld. Activity is a new concept unique to the Android platform. As a reference to Java me or Windows Mobile CE application, it resembles the form class for the UI class in Java me and Windows Mobile.

Min SDK Version: Can be empty. The Android platform has more versions, from 1.5 to the current 3.0. The Android platform supports backward compatibility. Min SDK version indicates the most version of your application support development. 4 corresponds to Android 1.5.

Click "Finish" to create the "Hello World" project in Eclipse's workspace:

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.