Android Development (3) Andriod first application helloworld

Source: Internet
Author: User

Andriod's first application helloworld
1. Click File to create an Andriod project.

 

2. Enter the project name helloword (the above project name is changed to helloAndriod due to duplicate names)

3. Click Next and the following page appears. Select the Android platform version you have set up. Select 2.3.3.

 

4. On the next page, name a package name, for example, cn.com. hbsi. activity. Select Andriod version 10 (Android 2.3.3) selected before minimum)

 

5. Click Finish, right-click the created Hellworld package, select run as to execute Andriod Application, and then open the android Virtual Machine in advance.

 

6. If you want to modify Hello World and HelloAndriodActivity! For "My first Andriod application", click String. xml under values under res under helloworld.

 

 

7. Type "My first Andriod application" in the blue text box, save the application, and view the main. xml file in Layout under res.

8. run as Andriod Application.

 

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.