Skip to main content

Posts

Showing posts with the label JAVA

Android operating system history

               The  version history of the Android operating system  began with the release of the Android 1.0  beta  in November 2007.  Android is a  mobile operating system developed by  Google  and the  Open Handset Alliance , and has seen a number of  updates  to its base operating system since its original release. These updates typically fix  bugs  and add new features. Since April 2009, each Android version has been developed under a codename  based on a  dessert  item. These versions have released in alphabetical order: Cupcake ,  Donut ,  Eclair ,  Froyo ,  Gingerbread , Honeycomb  and  Ice Cream Sandwich . The pre-release versions of Android were dubbed Astro and Bender, but these names could not ultimately be used for  trademark  reasons. C,D,E,F,G,H,I :-    Cupcake ,  Donut ,  Eclair ...

New Release JAVA 7

On July 7, 2011, Oracle hosted multiple events around the world to celebrate an important milestone—the release of Java Platform, Standard Edition (Java SE) 7. With contributions from Java users around the world, Java 7 is an affirmation of the vibrancy of the Java community and of Oracle’s ongoing commitment to the language and technology. And now, Java 7 is available for download. This important release is the result of nearly five years of industry-wide development. This process involved open reviews, weekly builds, and extensive collaboration—all between Oracle engineers and members of the worldwide Java community via the OpenJDK project. In fact, Java SE 7 Reference Implementation is based entirely on the OpenJDK open source code. Discover what Java 7 can do for you. Download our resources today. Highlights of Technology Changes in Java SE 7 Swing IO and New IO Networking Security Concurrency Utilities Rich Internet Applications (RIA)/Deployment Requesting and ...

Storing Values to XML file using JAVA

Create a xml file named Test.xml in source folder. And using the pasted code we can write in to any xml file.. Many options are available for generating XML documents.  XmlWriter  is by no means the best tool for every XML creation task, but it can fill the gap that exists between approaches that are too simple, too heavy, and too complex. Here we used XMLEncoder class. using the BufferedOutputStream we can write to the xml file:) Here we have a small example which can easily understandable:::: /**  * @(#)DemoApp.java  *  * DemoApp application  *  * @Sujay  * @version 1.00 2011/7/25  */  import java.beans.XMLEncoder;  import java.io.BufferedOutputStream;  import java.io.FileOutputStream;  import java.io.FileNotFoundException; public class DemoApp extends javax.swing.JFrame{         public static void main(String[] args)throws FileNotFoundException     { ...