The previous period of time by the company's business development needs, exploratory into the field of Android development. Everything starts from scratch, Java basics, Java Advanced, Android framework learning, Eclipse familiarity, and eventually to the first instant Messenger app to complete, after one months of time. Implementation content includes an Instant Messaging server, MySQL database setup, Android client communication app. After completion, the company temporarily abandoned Android for strategic consideration. Let me think, hey, or do not too believe the leader's words as good ... <, ..... While the memory is not vague, intends to record this experience and learning process for future needs.
Only a language can be called a technician, the real programmer should not be confined to the language, or limited to the platform. I never argue that Java is good or. NET good, or Windows convenient or Linux strong, multi-body, while young, horizontal open vision, things only experienced before know good and bad, if can reach the world martial arts can be used for me, that is simply the best.
Well, starting with Java, the best way to learn Java is to compare it with. Net. Imagine doing. NET development What do we need? A running environment, the. NET Framework, a set of SDKs that contain the underlying BCL, compilers, and a development tool, visual Studio,over, we learn Java from the perspective mentioned above.
First Java is running in the JRE, and the SDK for. Net Framework,java is jdk,jdk Java development Kit. Simply put, the JDK is a developer-oriented SDK that provides a Java development environment and a running environment. The JRE is installed automatically when you install the JDK. The SDK is software Development Kit generally refers to a software development package, which can include function libraries, compiler programs, and so on. The jdk is divided into three versions of Java Se,j2ee,j2me , which consist of the following basic components:
javac– compiler to convert the source program to bytecode------------------corresponds to. NET CSC (CSC is. NET compiler, more details please own Baidu ... )jar– Packaging tool to package related class files into a single file----------the process of building a class library with. NET is similar to the equivalent. NET command csc.exe/t (arget): library/r (eference): Xxx.dll Xx.cs (meaning that when the build target is generated for the class library, reference Xxx.dll will compile Xx.cs together)javadoc– Document generator, extracting documents from source notes-----------.NET has third-party documentation toolsJdb–debugger, error-checking tool----------------------------Skip overjava– run the compiled Java program (. class suffix)----------Java's "CS" file ends in. Java and is compiled into. class. (. What is the net compiled? (Answer: IL code))Appletviewer: Applet browser, a Java browser that executes Java applets on HTML files. --- a bit similar with. NET Cassini (ok if you do not know Cassini words and please Baidu ... ) Javah: Generates a C procedure that can invoke a Java procedure, or a header file that can be called by a Java program. ----------------Java's local library invocation name is JNI, Java Native Interface, equivalent to P/invoke, of course, Java for this also has a special ndk, is convenient for C/S and Java to call each other SDK suite, the reader does not know, Subsequent Android sections will be supplementedThe Javap:java disassembler, which displays the accessible functionality and data in the compiled class file, shows the meaning of the byte code. -------------ilspy similar to. NETJconsole:java Tools for system commissioning and monitoring----------------Skip overJavase similar to the SDK,J2EE used in developing WinForm and the SDK used to develop ASP., the Java EE generally uses spring and hbernate to include IOC and AOP functions, which are ORM frameworks, similar to. NET EF,J2ME similar to the SDK used to develop the WinCE program. Java's syntax is similar to. NET, and its data structure is about the same as in. NET, except that it has a different term, which canWhen you use it, you check it.,It 's important to get started quickly, if you're right. NET has confidence, then developing Java is not a difficult process. The Java Class API is available on the webCHM HandbookDownload, so about the Java language itself, the beginning can be very fast. I'll get to the end of the presentation. More please: http://www.w3cschool.cc/java/java-data-structures.html, of course, here is also a brief introduction. As you can see, it's really similar, after all, C # is a development from Java. Introduction of the JRE and JDK, followed by the introduction of development tools, Java development tools mainly have eclipse and IntelliJ idea, the latter is also the famous ReSharper developers, I do Android development, I chose Eclipse. Tell me about my one months of distribution: Java+eclipse: One week Android framework: Two weeks Android client app+mysql+ server: one week.so you don't have to tangle or panic on the Java language itself. Although the language itself is closest to the developer, it is the most remote from the actual running machine code. I'll introduce Java in the future when I'm developing Android. OK, let's call it a day, and next we'll do an analysis of the Android framework. The comrades who want to make apps for their girlfriends, please pay attention to my follow-up articles.
. NET programmer to play one of the Android series ~java Quick Start