10 days to learn Android-first day

Source: Internet
Author: User

Original: 10 days to learn Android-first day

Note 1: This series of tutorials only for beginners, master do not enter!

NOTE 2: This series of tutorials does not take into account the Android version below 4.0.

Note 3: This series of tutorials assumes that you understand some of the basics of programming and understand the Java language a little bit.

Talk a little nonsense.

Since when to talk about it, it should be a long time ago.

In the early spring of 2008, working in Japan for one months, when I was hanging out with my colleagues in the mall, I found an electronic device that I had never seen before, a mobile phone with a big screen (which could be called a giant screen at that time), a MP3 with a large capacity (80G), and, yes, perhaps the smartest you have guessed, One is the iphone 1, one is ipod Classic,

So, a new era is open, of course, we are bystanders, the real protagonist is Apple and Google.

The real start was in 2007, when Apple and Google released the IPhone1 and Android operating systems, and since then, the iphone has been iterative at the rate of a generation of products each year, and Android has released many successful, failed versions. , the specific figures do not list, as long as we know that the smart is the future, as a programmer, but also always aim at the latest technology.

Like Google Glass.

Needless to say, we come to the point, the goal of this tutorial is not just to let you learn to write some examples, but also to make a complete operation of the application, in the process, you will slowly grasp the necessary knowledge of Android development, and how to solve the problems encountered, in the end, You'll start making your own apps with your own ingenuity.

Come on, baby!

工欲善其事, its prerequisite

The era of mobile internet, how many entrepreneurs blockbuster, promotion pay, when the general manager, as CEO, marry mating, embark on the pinnacle of life. Believe me, all this is not a dream, but the beginning of a step, you have to have the following hardware and software:

1. At least one device

Domestic buy mobile phone, choose how many, Samsung, Sony, LG, moto even Nokia these international manufacturers of brands, to HTC, Millet, Meizu, China cool United These domestic well-known manufacturers, even Gionee, bumblebee, small pepper These fake goods, high middle and low any choice. But for our developers, the best choice must be Google's pro-son, with a focus on Nexus 4, or the upcoming next-generation flagship of Google.

2. A computer

Android development is simply too human to compare to the requirements of iOS development for computers. Whether you're windows, Linux, or Mac, Android can be developed as long as the Java environment is installed.

This article assumes that you are using the Windows environment, the following operations are based on the WIN8 system, if your operating system is not Windows, then install Java and so I think it is more.

3. Software Environment

First install the Java environment, please step http://www.oracle.com/technetwork/java/javase/downloads/index.html download.

Second, Google recommends the use of Eclipse+adt combination, please visit http://developer.android.com/sdk/index.html download.

Don't tell me you can't go to this website, please find a way.

Start the Android Tour

After installing the above environment, unzip the downloaded Adt-bundle-windows.....zip file, open Eclipse, first confirm the Android environment is complete.

Select Menu File >> New >> Android application Project,

Where application name completes the demo, the project name and package name are automatically generated, we leave the default values, and then select the minimum Required SDK for API14, We are only developing for more than 4.0 versions.

When you're done, click [Next] until the last step, click [Finish], and our first app is ready.

After connecting your phone, right-click on the root node of the project to select [Run as] >> [Android application], the device selection box will pop up,

See, my phone is Xiaomi 3.

If the device does not appear, please check the USB cable is connected, the driver is installed, whether the phone has been turned on [USB debugging], everything is OK, click [OK], the program will run to the phone.

Well, the first day to come here, everything is difficult at the beginning, I believe in the configuration of the environment in the process, we have encountered a lot of problems, please use the good Baidu, Google these tools.

Starting tomorrow, we are about to have a new goal.

10 days to learn Android-first day

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.