Getting started with eclipse android development and getting started with eclipseandroid

Source: Internet
Author: User

Getting started with eclipse android development and getting started with eclipseandroid

1. device window

The window for viewing android running status is consistent with the content of DDMS

2. android. bat

Run the adb operation in the adb path to re-connect the android system

Adb kill-server
Adb start-server

You can also click

3. source override the parent class Method

Override/implement method: a shortcut to override the parent class method

4. eclipse prompt

Window> Preferences> Java> Editor-Content Assist> Auto activation triggers for Java

The Code sets the following content:. abcdefghijklmnopqrstuvwxyz (,

Window> Preferences> Xml Files> Editor> Content Assist> Auto activation> Prompt when these characters are inserted

In xml, the following message is displayed: <=:. abcdefghijklmnopqrstuvwxyz (, <=:. abcdefghijklmnopqrstuvwxyz (,

5. There are three steps to insert a new Activity:
A. Create a new Activity code. Here we use "new. class" as an example.
B. Add the description of the new Activity in AndroidManifest. xml.
C. Call the original Activity to start a new Activity.

6. recompile

Project> clean

7. R File

Rewrite the import android. R path and enter the path according to the local directory.

8. mainfest. xml

<Intent-filter> startup entry

Android: name ="Bind Location PathOr.*"

9. logcat query the running result


Four major android components:

Activity (window)

Service (services, including local services and remote services)

Broadcast Receiver (asynchronous reception of Broadcast Intent, divided into normal Broadcast and ordered Broadcast, to achieve inter-process communication)

Content Provider (Data Type query, android. provider)

Important components:

Intent interactive message (common to four main components)

Bundle data


Android sdk api reference:

Http://www.android-doc.com/

Copyright Disclaimer: This article is an original article by the blogger and cannot be reproduced without the permission of the blogger.

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.