Old Notes

Spring Boot

Instead of using @EnableAutoConfiguration, @ComponentScan & @Configuration on a class, you could just use only @SpringBootApplication which is equivalent to using @Configuration, @EnableAutoConfiguration and @ComponentScan with their default attributes.
http://websystique.com/spring-boot/spring-boot-introduction-hello-world-example/


Eclipse

eclipse:clean \\Deletes the .project, .classpath, .wtpmodules files and .settings folder used by Eclipse.
eclipse:eclipse \\build the project into eclipse project like structure.



JAXB

Java Architecture for XML Binding (JAXB) is a Java standard that defines how Java objects are converted from and to XML.JAXB defines an API for reading and writing Java objects to and from XML documents.Using JAXB annotation to convert Java object to / from XML file. Use JAXB to do following stuffs :Marshalling – Convert a Java object into a XML file.Unmarshalling – Convert XML content into a Java Object.
SAX
SAX (Simple API for XML) is a Java API for sequential reading of XML files.
StaX
Stax (Streaming API for XML) is an API for reading and writing XML Documents.
XPath
XPath (XML Path Language) is a language for selecting / searching nodes from an XML document.



UI Testing on android

There are two really useful commands you should know: "adb shell am display-size" and "adb shell am display-density".

These two commands will tell an attached device to emulate a display resolution or density other than the native display properties of the device. You can tell either property to reset by telling it "reset" as the resolution or density argument.

Bu blogdaki popüler yayınlar

About Android padding, margin, width, height, wrap_content, match_parent, R Class