Monday, 3 March 2014

      Read an XML File usin Java

      Read an XML File usin Java

      ReadXMLFile .java import javax.xml.parsers.DocumentBuilderFactory;import javax.xml.parsers.DocumentBuilder;import org.w3c.dom.Document;import org.w3c.dom.NodeList;import org.w3c.dom.Node;import org.w3c.dom.Element;import java.io.File;public class ReadXMLFile {  public static void main(String ...

      Read More

      Friday, 28 February 2014

      Fetching a Web page in WEB-HARVEST(PART:2)

      Fetching a Web page in WEB-HARVEST(PART:2)

      <?xml version="1.0" encoding="UTF-8"?> <config>     <var-def name="datestring">           <file action="read" path="date.txt"></file>     ...

      Read More

      Wednesday, 26 February 2014

      Fetching a Webpage in WEB-HARVEST(PART:1)

      Fetching a Webpage in WEB-HARVEST(PART:1)

      Now we'll be to fetching webpages.  Look at the following script: <?xml version="1.0" encoding="UTF-8"?><config>    <var-def name="datestring">          <file action="read" path="date.txt"></file>    ...

      Read More

      Reading a file in Web-Harvest

      Reading a file in Web-Harvest

       Reading a File To begin with, let's look at how we can read information from a file into Web-Harvest.  In this example, I'm going to assume we have a file in our working directory called "date.txt" and that file contains a single line with a date in the format YYYYMMDD, e.g., 20121110.  ...

      Read More

      Installing Web-Harvest

      Installing Web-Harvest

      Installing Web-Harvest is trivial. Download the latest "Single self-executable JAR file" from the website here . This contains a single Jar file.  Put that somewhere on your computer and ...

      Read More

      Using WEB HARVEST for Content Scraping

      Using WEB HARVEST for Content Scraping

      "Web scraping" is the process of crawling over a web site, downloading web pages intended for human consumption, extracting information, and saving it in a machine-readable format.  With the advent of the Web 2.0 and services-based architectures, web scraping has largely fallen into disuse, ...

      Read More

      Wednesday, 5 February 2014

      Motorola G....Launches in India

      Motorola G....Launches in India

      BUY ON FLIPKART NOW..!!  Apart from Flipkart, Snapdeal is also retailing Moto G. As of now, the pre-order booking has been closed due non-availability of stocks. It recorded 1000 orders ...

      Read More

      Sunday, 19 January 2014

      Android Local SQLite Database Example

      Android Local SQLite Database Example

      Android platform includes the SQLite embedded database and provides out of the box support to use it via Android APIs. In this tutorial we shall see how to get started with SQLitedatabase in Android. ...

      Read More

      Simple SQLiteHelper example in android

      Simple SQLiteHelper example in android

      DOWNLOAD : SQLiteHelper.jar This jar has the following functions. 1. public SQLiteHelper(Context context, String dbname, CursorFactory factory, int version) This constructor is used to initialize SQLiteOpenHelper class. 2. public void createTable(String table_name, String[] fields, String[] types) This ...

      Read More

      Update Samsung Galaxy Y GT-S5360 to Android 4.4 KitKat

      Update Samsung Galaxy Y GT-S5360 to Android 4.4 KitKat

        Hello readers as you know that Google  has recently released Android 4.4 KitKat and many of the devices already started receiving the update.Today we have Samsung Galaxy y GT-S5360 ...

      Read More

      JDBC Connection for Postgres

      JDBC Connection for Postgres

      STEPS : 1.Download the postgre JDBC driver 2.While executing the program first  GRANT ALL PRIVILEGES ON TABLE ttt TO aaa; 3.set the class path for the .jar driver  export CLASSPATH=/home/exam/Desktop/postgresql.jar:. 4.execute the program import java.sql.Connection;  import java.sql.DriverManager;  ...

      Read More

      Installing Wireshark on Ubuntu 12.04 LTS

      Installing Wireshark on Ubuntu 12.04 LTS

      Installing wireshark on Ubuntu 12.04 LTD and limiting packet capture to one group, in this case the group wireshark. I’m sure you can use these instructions for other debian based distributions. Although ...

      Read More

      Wednesday, 15 January 2014

      Zoom Image Demo In Android, Zoom Image Example with code in Android , MotionEvent, Matrix example in Android

      Zoom Image Demo In Android, Zoom Image Example with code in Android , MotionEvent, Matrix example in Android

      1- Screen   2-MainActivity package com.kiran.zoomimage; import android.annotation.SuppressLint; import android.app.Activity; import android.graphics.Matrix; import ...

      Read More

      Total Pageviews

      DjKiRu Initative. Powered by Blogger.