Training Content
——————————————————————————————————————————————————————————————————yesterday summer mainly talked about two aspects of Android mobile phone development
One: Java language development mobile phone Android ① ready to send software tools environment (can be built directly on the local environment) Develop Ide:eclipse (second only to VS's powerful IDE) a whole bunch of other stuff: Android SDK Emulator SDK JDK DAT Building Eclipse+andro development environment under ②window installation steps: Typically first install the AVA Runtime JRE (no eclipse is running), then install the JDK Install the Android SDK, and if you have already installed Eclipse, you can install the plugin directly inside the IDE. This is similar to the use of VS extensions and updates. in the IDE's help, select Install new software to add the SDK. This online installation requires a VPN to Google's developer website to download. or download the offline SDK Manager.exe file, but be aware that the version number, with a mismatch, will cause many needs to be reinstalled. download Eclipse for Android develop tool (Android development tools), which is what we often call Android ADT Tool, which integrates the Android phone end End of the various tools. is the toolkit used in the development of the whole, we can do the development of Android directly inside. (Extract to the specified directory after downloading, this summer said must pay attention to the path) There is also a Java environment variable is set, this setting depends on the specific situation ③java Writing the Hello World of the Android phone Project: Add the workspace First, then add the project (similar to vs c++6.0) Select File > New > Android Project, named HelloWorld. (This is similar to VS solution + Engineering) Configure emulator: Add emulator terminal, configure select the corresponding mobile device (yesterday has not been successful, can not be simulated) Write code: Find Helloworld.java file write:
this seems to be an instant compilation, and each modification compiles and is slow. There is no incremental compile feature for vs. The compilation process differs significantly from vs. deployment: Because it cannot be deployed to the emulator, all options are deployed directly to the Android phone (open development This mode) Open the phone and find a robot icon app that opens write Hello World This is the entire Java development mobile phone for Android notes. The overall feeling or environment is more complicated to build. Second: C # language development mobile phone Android ① ready to send software tools environment (using virtual machines) Development ide:vs2010 (the best IDE in the universe, not one) Environment: VMware + Windows7 SP1 + some basic common software (clean environment) Other tools: ②window under the Vs2010+mono development environment (the installation of this environment is called complex, just a clean virtual machine under the system are very, do not use castrated version of the system and software, or the subsequent crack will not succeed) Install order (in fact, if you install the other version only need to uninstall 5 and 6 of things and then reinstall mono-android-4.10.01068 and xamarin.ios_setup-1.8.361.0) 1,JDK 2,android SDK 3,GTK Sharp 4,xamarin Studio 5,xamarin.visualstudio_setup (Install 1-5) Finally, it is cracked (step by step) http://blog.itpub.net/22392018/viewspace-764994/(online hack process) finally is the software pair's settings vs the SVN plugin ... ③c# Writing the Hello World of the Android phone Open VS, there are two more iOS and Android we chose Android to find Android application (. NET Framework 4.0) Add Hello World Project (as with the VS development WinForm process) Select the page form template Toolbox to select the Add button we found the XML page, this is the design page, similar to the WPF schema The final package deployment after the build, and Java use is a touch of the same
Learning Experience
Learn about the two modes of developing Android phones throughout the learning process Two modes are more complicated to build the environment. Some people say 30 days to learn Android mobile app development. The first 29 days to learn to build and configure the environment, the last day to learn to write Hello World and deploy the application, there is some truth Java Open the advantages of cubby more, complete online data, writing is relatively simple, Java simulator running code C # Development is mainly IDE powerful, familiar interface, C # directly written, Xia said that Microsoft's things more suitable for lazy people, indeed, I also prefer this The disadvantage is that the operation is slower and less efficient. There is less information, it is recommended to learn the basics of Java in the first mono Mono Development is the first C # language through the mechanism of mono to parse into the Java language, in the Java language to resolve the native code. Now it seems that the addition of a C # directly generates native code
in fact, the language is all figured out, the language itself is not important, it is important to learn how to use it and software development and architecture ideas. the above is purely personal understanding, novice, do not spray! Online Analysis Data Reference Information: Books:① C # developing Android apps-using mono_for_android and. net-c# ② Crazy Android Handout (with CD-ROM 1 source code ) these are all relatively basic. Online Environment Construction website:http://blog.csdn.net/yzhj2005/article/details/6980676 http://www.cr173.com/viewimg_20099_1.htmlend!
Welcome to Exchange, sharing the programmer inspirational story. QQ Group of Happy programmers:
Android mobile App development training handout notes and tips (Java and mono two modes)