Third party Hippocampus play simulator
The first day of learning Android using the simulator is the hippocampus, so share the steps related to the hippocampus simulator:
Hippocampus play analogue organ network:
Http://droid4x.haimawan.com
Download the emulator for the relevant platform, which I am using under the WINS7 platform.
The first important point to add:
- About the Android development environment
Now the mainstream Android development environment is:
①eclipse + ADT + sdk②android Studio + Sdk③intellij idea + SDK now most of the domestic developers still use Eclipse, and Google announced no longer update ADT, and the official website also removed the integrated Android development ring The Eclipse download link, all of which means the developer will eventually transition to Android studio, which will be a long transition time, but if you're just learning Android, it's recommended to go directly to Android Studio. And many of the best open source projects are based on Android studio! Of course, in this tutorial two development environments will be an introduction, which depends on your own ~ there is a IntelliJ, and the same as Android studio, do not explain this!
Here my study is using ①eclipse + ADT + SDK + third-party simulator (Hippocampus simulator) This is a bit of attention.
First, let's build the Android development environment under Eclipse tools.
Preparation tools:
- Eclipse can be downloaded to eclipse website: http://www.eclipse.org/downloads/
- Android SDK Download: Https://pan.baidu.com/s/1c2yvNjU
- ADT Download: https://pan.baidu.com/s/1dFBlaH7
Ready Tool Ready:
- unzip eclipse: Find the Eclipse.exe run in the Unpacked folder, set the location of the project code after running (assign a good workspace)
- ADT Configuration: Click menu bar: Help , Install new software
Add ADT--> add
Click Local to add the ADT folder before downloading and unpacking.
- then the Fool-type next step, and finally will: Restart Eclipse -- See menu bar Yes no Android small icon appears if show installation complete
Next there is the SDK decompression configuration:
SDK Decompression Configuration: Click menu bar:Windows --- rreferences , Android --Select the Unpacked SDK package OK , Open re-verify
4. Create an AVD (Android simulator): Click menu bar: phone small icon , New ---- selected system version , skin screen resolution --- Set the SD card size ----start !
PS: The first time you start the AVD may be very slow, need to wait ~ more than just to build an environment for Android development, of course, the reason is to use a third-party simulator, only one of the reasons is that the Android SDK comes with the AVD simulator run is not flattering.
Next use a third-party hippocampus play simulator
Run in the Hippocampus play official website download or download the Hippocampus play simulator
After installation, it will be as follows:
1: Open the hippocampus play multi-open manager
Start the Hippocampus Play simulator Debug Configuration simulator
Because the emulator is just beginning to default to tablet mode, the next step is to set the screen size:
Click the Settings icon,
Select the screen resolution for the vertical screen phone type, and then restart the emulator.
So then we're going to go through eclipse to play our first Android program through the hippocampus playing simulator.
First of all:
- Open Eclipse, create an Android program project
Click File, New, select Other
Enter Android in the text box to select Android Application Project Click Next
Enter the software name
In the following version of the SDK configuration, temporarily follow the prompts to complete, which involves ANDROIDSDK version of the issue, in this temporarily not to say, I also understand not thorough
The following is a straight-up fool next when come
Direct Finish can
After the completion, notice that the interface has a button this control can be dragged to a phone-like interface, you can also through the console, clear understanding of the current operation of the situation.
Open Android devices configuration can be used to view the current connected Android information
How to open the View interface
OK, Next we operate the program
Select Hold down the Drag button control to the right of the phone model and let go,
When you are finished, click Activity_main.xml to display as text
In fact, before doing the drag button space, then the text form, will generate code, first we want to copy a textView1,
Open the project's directory SRC
Check open Mainactivity.java
Of course, here I do not say more about the principle, I will make up in the back, first share a simple Android program it
Add these two lines of code:
After that, restart our hippocampus simulator.
Then the mouse points to the project, right-click, select Run as running the program
After execution, the AVC will pop up a query currently available to connect to the Android machine, where the automatic matching is the hippocampus simulator
Select, click OK
Your console has a series of startup items
At the same time, the interface of your hippocampus simulator begins to execute the previously edited text content.
Well, the basic deployment and construction is so, after all, just started to learn, a lot of things are their own personal understanding, if there is wrong, although spray it, after all, I am very casual.
PS: Everyone likes words, praise each other, or mutual concern, the program ape again how to say are social creatures. Thank you.
Android Learn to use the Hippocampus simulator tutorial and build Android Environment