Basic Learning records for Android applications

Source: Internet
Author: User

01 _ Preface

Preface: I learned about Android. This article also describes how to record the Android Application development process. The Android 4.2 version used in the video is based on version, identify the differences and record them. Will be updated constantly. After writing the underlying code, you need to write an Apk for testing.

02 _ build an Android Development Environment

I use Ubuntu, so I have this article:

1. Install Eclipse

There are two ways to install Eclipse: 1. apt-get install eclipse 2. Download the installation package. If you encounter errors in the following steps when installing Eclipse using the first method, do not worry about the errors. Use the second Installation Method to reinstall Eclipse. When using eclipse-java-indigo-sr2-linux-gtk.tar.gz; 3.7, the xml parsing feature is extremely slow.

Ii. ADT Installation

Adtrecommends release installation. In other words, I chose adt-22.3.0.zip. I chose 22. 6. * and then rolled back to 22.3.0 after it was unavailable. This is really easy to use. Here is a brief description of the issues with version 22. 6. *: 1. fragment_main.xml will be created by default. 2. If you want to be compatible with the 2.3 program, each application will have an additional appcompat_v7 app. Do not check "Online Detection" When importing the zip package of ADT ".

Iii. SDK Installation

SDK selection and ADT companion version: android-sdk_r22.3-linux.tgz. It feels good to use! We do not recommend that you update the SDK to version 22. 6. * When downloading other SDK packages. Select "4.2" for the application development version. For virtual machines, 4.4 is not recommended, and 4.4 is prone to crash.

03 _ create and start a mobile phone simulator and learn to use the ANDROID operating system

1. If you want to use a simulator, pay attention to the following points:

1. Do not want the simulator to fill the screen, manually start and set the size

2. If you want the simulator to run faster, select the x86 version CPU (it seems that only 4.4 of the CPU is supported currently)

3. The functions that can be debugged by the simulator include: (list the things that were previously considered not to be debugged)

A. Dialing

B...

4. Lao Luo's blog has

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.