What we are going to do is a chat software, so I tried to do a login interface. Originally intended to use the technical implementation of the previous paragraph, and then did a sudden, but not perfect. I just bought this android book last week, so I taught myself a part of the knowledge. Then I try to do the landing screen of the mobile phone terminal.
For Android Development, the first is to install the software: Eclipse+jdk+sdk+adt (although Android Studio is now very popular, but I am still using Eclipse configuration, feel accustomed to eclipse)
You can download all the software directly here: http://www.android-studio.org/
Why not go directly to the official website to download? For some reason, they cannot be downloaded directly into these websites. Of course, if you have the ability to FQ, it is best to download the software, the following is the official website of these software:
1.eclipse:http://www.eclipse.org/downloads/
2.jdk:http://www.oracle.com/technetwork/java/javase/downloads/index-jsp-138363.html
2.sdk:http://developer.android.com/sdk/installing/index.html
3.adt:http://developer.android.com/tools/sdk/eclipse-adt.html
After all the software is downloaded, the next step is the focus.
1. Configure the JDK. It's always difficult to configure it at first, and then it's much better to configure it. You can try to configure more than a few times, this is the basic skills it. This is the tutorial for configuring the JDK: http://jingyan.baidu.com/article/6dad5075d1dc40a123e36ea3.html.
Note: The original path of the variable value at the end of the number, if not, enter the first, and then enter the above code. Variable values are filled in.; %java_home%\lib;%java_home%\lib\tools.jar (note the first point) this is one of the two most noteworthy places, often making mistakes here and poorly configured. Configuration successfully opened CMD input java-version Note there is a space in the middle. appears, it indicates a successful configuration.
2. Open the SDK download resource
,
Then check Tools,extras, and Android 4.0 (API 14) and the above version are checked, and then click Install Packages, the next will be a long wait, I was waiting for two hours is not good, so patiently wait! After the download is done.
3. (Install SDK) Open Eclipse, click menu Window->preferences, enter the following screen
My is already installed, so there are many, just installed without, click Browse, enter the location of your SDK installation can, click Apply, then click OK.
4. Install ADT, open Eclipse, and on the menu bar choose Help->install New Software The following interface appears:
After dot add
Click Archive to enter the installation location of your ADT, followed by the next step, the installation will appear this
Then just click Yes. This completes the installation. (This is offline installation, can also be installed online, details can be Baidu)
Note: Do not look so simple, I also groped for a relatively long time to complete, during the period also appeared a number of problems, also 1100 degrees to solve, a start to install which has so smooth, not to go a lot of detours, and then now their own summary under the convenience of the future to remember. Of course, there is absolutely no mistake in pressing this installation.
Summary: Mainly lies in their own to try more, try a lot more traps slowly know, install this said difficult not difficult, but also not easy, in fact, I tried to configure once before, but failed, this serious really to put it configured, in addition to careful also have patience, sometimes gas to hit the keyboard are not configured well , it's frustrating to feel like I've wasted an afternoon of bad configuration. This time should be patient and slow to try to do, do not give up easily.
Then write a hello and try it:
File->new->others->android->android Application Project->next
Then just fill in the hello.
Always next, then the project is set up, right click on the project name run as->android application, you can see. The instructions were successful.
next talk about my interface design, I seriously read a few days after the book himself slowly imitate made the interface, probably did an afternoon, the following is
This page jumps out when you click Register
Interface is very simple, the back will continue to improve, moreover, the location of the button design is not very good, I think the back of their own slowly to ponder. Next week, you'll be able to make a message with a mobile phone number.
2016-04-06 00:43:48
Pre-project installation software and login interface (ECLIPSE+JDK+SDK+ADT)