Early Google Android experience (roar ...)

Source: Internet
Author: User

Previously mentioned: if you cannot download the following content, use thunder to try it and solve the problem. The following articles are organized by me from other websites. Of course, the content of others is old. I just finished it today, supplemented by capturing pictures. The absolute download package is the latest ^ V ^ on.

 

(A severe protest against csdn disallowing the use of announcement JS)

 

1) download the SDK,

1.1) download http://dl.google.com/android/android-sdk_r05-windows.zip

1.2) Then decompress and put it in a directory such as: C:/android-sdk_r05-windows

1.3) execute the file: SDK setup.exe in the directory above (which of the robot icons)

Note: In general, the error "failed to fetch URL failed" appears:

A) modify the proxy configuration: Set HTTP Proxy Server: 10.159.192.62, HTTP Proxy port: 8080, and select the following tabs: Force https //..... using HTTP ..., ask before restaring ADB.

B) after Step 1 is completed, select the installed package or "Close the installer and re-run the SDK setup.exe", which contains sdk1.1, 1.5, 1.6, APIs and USB driver package. select All. Then you can start the installation.

 

It is very slow. It is best to let the computer download it during lunch. Maybe you can download it back-_ #. Now, all the sdks have been installed.

Digress: I don't know which prawn of the National Security Department must be a harmonious and purely technical website, but according to the above, you can save more time. I am here 100%. (Although a little slower)

 

 

2), install Google for our eclipse development plug-in (ADT), address: https://dl-ssl.google.com/android/eclipse/

Consider a problem with access, use the installation package: http://dl.google.com/android/ADT-0.9.6.zip (I use this)

I won't bother with installing the Eclipse plug-in. I won't go to articles by myself. You can try it in my blog. Yes.

 

 

 

3) understand the basic stages of development

You can check Wu's technical website and watch a few videos. Several Basic concepts have been clarified. As a Java developer, code is used.

A) video download connection.

The first part of the video is about Android, and the second part is about setting up an android development environment.

The second part of the video, the third part is the first Android application, and the fourth part is the basis of the android program.

The third part of the video is intent and activity, and activity lifecycle.

The fourth part of the video is about using service, and the eighth part is about content provider.

PPT document

B) several concepts in Development: (simple understanding)

1. Activity, user interface, is considered a user's interactive interface,
2. Intent and intent filter, jump between pages, including an action and a response. Intent filter describes what to do after a jump.
3. Broadcast intent extends er, which can be used to handle external tasks.
4. Service, a piece of code running in the background. It can run in its own process, or in the context of other application processes.

C) Program Composition

4), learning sample

Open C:/Android-SDK-Windows/platforms/Android-XX/samples/and you can see the code in it. For more information, see,

 

I learned this today and pay attention to it during debugging. If you have already started the simulator (the first startup is slow), you do not need to restart the later program. You can simply run or debug it.

 

Finally, it is recommended to buy books to learn: Google Android development entry refers to... (I bought this book, reading comments is good, please get started first)

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.