Searching Google From Your Application - Online Code


By using this code sample you can search the any string by Google search engine with in your application. Please remember this code is work only on "Windows" plateform because it uses the "Intenet Explorer" for searching and it is assumed that your "Windows" is installed on C:\ drive but if it has another location, please specify that in the code it is mendetory to put correct loaction of your "Windows" istallation directory in the code.

Source Code

import java.util.Scanner;

public class SearchGoogle

    public static void main(String[] args)
        System.out.print("Ask the RKG - Google Search, Your Question and Press Enter: ");
        Scanner input
... (login or register to view full code)

To view full code, you must Login or Register, its FREE.

Hey, registering yourself just takes less than a minute and opens up a whole new GetGyan experience.


No comment yet. Be the first to post a comment.