Search for "android Eclipse" on GoogleSource code"The result is not suitable, because Google's eclipse Android development plug-in has been updated to ADT 8.0.1. The corresponding Lib is associated with the Java source.CodeThe method has also changed.Follow these steps to obtain the
Eclipse install Java anti-compile pluginPreface: In the actual development almost will use some framework to assist the project development work, for some framework code we always have some curious heart, want to find out, the source of course better, for some of the code in the jar package we need to use the Anti-comp
eclipse and myeclipse is much worse than that of Microsoft Visual Studio, mainly eclipse. myeclipse has many options which are disabled by default, you need to manually configure the configuration by the developer. If you are not clear about eclipse, the code prompt function of myeclipse is as powerful as that of Micr
1. Use Eclipse to write a HelloWorld (1) Select the Working space
The workspace is actually the directory where we write the source code.
(2) Create a Java project
"File-new-java Project"
(3) Create a package
"To expand the project, build a package Com.kim under the source bu
Background
Just when writing code, wrote more than 10 lines can be said to be repeated code: If the whole method or class of code more, feel that they are too TM occupy the place, to the reader in reading code caused great difficulties, so that the thought can be "condensed" into a line, the first flash in the m
Transferred from: http://blog.csdn.net/yushuwai2010/article/details/11856129By default, Eclipse's code hinting feature is much worse than Microsoftvisualstudio, primarily because eclipse itself has many options that are turned off by default, and are manually configured by the developer themselves. If the developer is not sure, it is not known that the Code hints
1. Eclipse User name settings:
Under Eclipse's installation path, open the Eclipse.ini configuration file, as shown in the following figure:
Add under-vmargs:-duser.name= your Name
2. Annotation format and various major profiles
(1). Single line (single-line) Note: "//..."
(2). Block Comment: "/*......*/"
(3). Documentation Comment: "/**......*/"
(4). Javadoc Annotation Label Syntax
@author the description of the class indicates the author who de
Finish.If you get a security warning saying this authenticity or validity of the software can ' t be established, click ok
When the installation completes, restart Eclipse.Source: >
Download SDK
Http://developer.android.com/sdk/index.html#Other
Import Android Source code
1. Cancel Porject > Build Automatically2,
to-import the formatter, go to the Preferences, section
File menu bar, select New--> to create the Java project name, and tap finish. AsFigure 1-2 Creating a Java ProjectL 3. Expand the project, select the source package src, right-click on the project's SRC directory to create the class, specify the class name Hello, create the main method and write the source code System.out.println ("HelloWorld");Figure 1-3 Creati
Recently in the research JDK source code, found that debug can not view the value of the variable in the source code. Since the JDK provided by Sun does not look at the running local variables, it needs to recompile the Rt.jar.The following six steps are a concrete step to compiling the JDK:Step 1:locate the JDK sourceFirst navigate to the JDK install directory, and locate the Src.zip file. This file contai
Enhance the code auto-Prompt function of eclipse and myeclipse
By default, the code prompt function of eclipse and myeclipse is much worse than that of Microsoft Visual Studio, mainly eclipse. myeclipse has many options which are disabled by default, you need to manually con
**************************************** **************************************** **************************************** ***Author: EasyWave time: 2013.01.03
Category: Android source code analysis statement: reprinted. Please keep the link
NOTE: If any error occurs, please correct it. These are my Learning Log articles ......
**************************************** **************************************** **************************************** **
First, install the Checkstyle plug-in in eclipse
1, into the http://eclipse-cs.sourceforge.net/
2, drag the "install" directly to the Eclipse window
Eclipse will automatically download for installation
Second, configure the code Templates in
object's own life cycle and its relationships, and to improve the developer's use of the pattern. There are currently three types of dependency injection: The setup-based approach, the builder-based approach, and the interface-based injection approach, spring supports the first two.2.AOP aspect-oriented programmingOrientation-oriented programming is a major model of software development, making it easier to build and implement large-scale enterprise-level development. With spring-implemented in
PATH =/usr/local/jdk6/bin: $ PATH at the end of the/. bash_profile file.Execution path ---- search for the directory list of local executable files in the operating systemSimilar to the environment variables set in the global region cache area in windows, save the settings and open any control window with the correct path.
3. Configure the JRE Environment (JRE is a java runtime environment that includes virtual machines but does not contain compilers
form, a few points can be seen. Although the post-compilation actions are self-building, VS does not introduce this concept, I directly see what I want to use. Unconsciously. "This is the initiative to build their own ah." "VS also supports copying non-code files to the compiled folder after compilation.In my example, both reader and viewer are connected to the database, and I want to put the connection string in a file, such as Connection.txt, with
("Java.library.path", "c:/mylib");This is not the way to achieve the goal, because the property is read-only. Sun's forum has discussed how to modify the Java.library.path in the code, the conclusion is: Can not be modified by code! If the "java-djava.library.path=c:/mylib" such a way to write too dead, it is only through the shell programming methods such as pr
The compiled source code can be imported into eclipse for convenience.
1. Copy. classpath from the source code directory \ Development \ ide \ eclipse to the source code root directory.
2. Change the eclipse cache settings
Modi
-2.1.3/samples/Cpp/SimpleGame this little game as an example to illustrate.Let's say your eclipse is clean, that is, the Package Explorer bar on the left is empty.
Import Libcocos2d-x to Eclipse, right-click the Package Explorer blank area, import->existing Android Code into Workspace, and then in the next window root directory where you navigate to coco
prevent external calls to error, you can draw on to later configure their own files:
1 2 3 4 5 6 7 8 9101112131415161718192021222324252627282930313233343536373839
-Optimizationpasses5-Dontusemixedcaseclassnames-Dontskipnonpubliclibraryclasses-Dontpreverify-Verbose-Optimizations!Code/Simplification/Arithmetic,!Field/*,!Class/Merging/*-KeepPublicClass*ExtendsAndroid.App.Activity-KeepPublicClass*ExtendsAndroid.App.Application-KeepPublic
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.