20145311 experimental Four "Android Development Basics" programming process experiment content
• Install Android Studio
• Run the Android AVD simulator
• Use Android to run out of the virtual phone and display HelloWorld and your own school number
Experimental steps
The first is the installation of Android Studio:
Almost just follow the default installation, we want to install I feel is an android SDK, so that the development of Android, the other is just a development environment, using idea plus the SDK is also possible.
The following are the installation finishes:
Create a new project after running
After you create your project, choose android-----------and layout, into the project you built:
Then modify the content that needs to be output
You can modify the output text directly in the preview location.
You can also use code to modify
Finally, the implementation is done on the phone:
Create a phone:
Mobile Interface:
I've also done a little bit more than that in idea, but it's also very useful.
Need to install a adb.exe program to develop Android in idea
Problems encountered:
This error occurred while doing preview in idea, updating idea or not, presumably the SDK version is too low.
Experiment Summary and experience
This experiment is still a familiar to the environment, installation I did not encounter any problem, is running when the computer is particularly slow, it is unbearable,
Encountered the problem is not many, mainly is to open the mobile phone, how to display their input text on the phone interface, which also let me know that the SDK is just for Android
Developed a plugin-like feature, with idea can completely achieve some of the features of Android studio, so I use the idea again implemented again, than the Android studio
A lot faster, is the phone comes out still some cards, but Android Studio can have a preview, my idea of the preview out of some problems, I updated or not able to handle,
In short, it is very useful, the first contact with programming to develop mobile phones, or very interesting, especially in the computer can see the mobile interface,
But there's a lot to learn about Android development.
PSP (Personal software Process)
Steps |
Time Consuming |
percentage |
Demand analysis |
5min |
5 |
Design |
20min |
20 |
Code implementation |
5min |
5 |
Test |
40min |
40 |
Analysis Summary |
30min |
30 |
20145311 experimental Four "Android Development Basics"