Tuesday, March 31, 2009

How to use Eclipse

Eclipse
Eclipse is a Java-based, extensible open source development platform. It is simply a framework and a set of services for building a development environment from plug-in components. Fortunately, Eclipse comes with a standard set of plug-ins, including the Java Development Tools (JDT). Eclipse also includes the Plug-in Development Environment (PDE), which is mainly of interest to developers who want to extend Eclipse, since it allows them to build tools that integrate seamlessly with the Eclipse environment. Because everything in Eclipse is a plug-in, all tool developers have a level playing field for offering extensions to Eclipse and providing a consistent, unified integrated development environment for users.
Although Eclipse is written in the Java language, its use isn't limited to the Java language. For example, plug-ins are available or planned that include support for programming languages like C/C++ and COBOL. The Eclipse framework can also be used as the basis for other types of applications unrelated to software development, such as content management systems. The Eclipse Workbench Eclipse The Eclipse Workbench consists of several panels known as views, such as the Navigator view at the top left. A collection of panels is called a perspective. The default perspective is the Resource Perspective, which is a basic, generic set of views for managing projects and viewing and editing files in a project. The Navigator view lets you create, select, and delete projects. The panel to the right of the Navigator is the editor area. Depending on the type of document selected in the Navigator, an appropriate editor window opens here. If Eclipse does not have an appropriate editor registered for a particular document type (for example, a .doc file on a Windows® system), Eclipse will try to open the document using an external editor. The Outline view, below the Navigator, presents an outline of the document in the editor. The precise nature of this outline depends on the editor and the type of document; for a Java source file, the outline displays any declared classes, attributes, and methods. The Tasks view gathers information about the project you are working on. This can be information generated by Eclipse, such as compilation errors, or it can be tasks that you add manually. Now, we'll create a project in the Navigator. Right click in the Navigator view, and then select New > Project. When the New Project dialog box appears, select Java on the left. Standard Eclipse has only one type of Java project, named Java Project. If there were a plug-in installed to supply support for JSPs and servlets, we would see an additional option here for Web applications. For now, select Java Project, enter "Hello" when prompted for the project name, then click Finish. Next, we'll take a look at the Java perspective. Depending on how you like to manage your screen, you can either change the perspective in the current window by selecting Window > Open Perspective > Java or you can open a new window by selecting Window > New Window and selecting the new perspective. The Java perspective, as you might expect, has a set of views that are better suited for Java development. One of these includes, as the top left view, a hierarchy containing various Java packages, classes, JARs, and miscellaneous files. This view is the called the Package Explorer. Also notice that the main menu has expanded to include two new menu items: Source and Refactor. Creating a new class in the Java perspective Eclipse Using the Java perspective, right-click on the Hello project, and select New > Class, as shown in Figure. In the dialog box that appears, type "Hello" as the class name. Under "Which method stubs would you like to create?" check "public static void main(String[] args)," then Finish. This will create a .java file with a Hello class and an empty main() method in the editor area as shown in Figure. The Hello class in the Java editor Eclipse Additionally, you can invoke code completion by using Ctrl+Space. Code completion provides a context-sensitive list of suggestions selectable by keyboard or mouse. The suggestions can be a list of methods specific to a particular object, or a code snippet to expand, based on various keywords like for or while. Syntax checking depends on incremental compilation. As you save your code, it is compiled in the background and checked for syntax errors. By default, syntax errors are underlined in red, and a red dot with a white X appears in the left margin. Other errors are indicated with a light bulb in the editor's left margin; these are problems that the editor might be able to fix for you -- a feature called Quick Fix. The code above has a light bulb next to the for statement because the declaration for i has been omitted. Double-clicking on the light bulb will bring up a list of suggested fixes. In this case, it will offer to create a class field i, a local variable i, or a method parameter i; clicking on each of these suggestions will display the code that would be generated. Figure shows the list of suggestions and the code it suggests for a local variable. Quick Fix suggestions Ecilpse Double-clicking on the suggestion inserts the code in the proper location in the code. Once the code compiles without error, you can execute the program by selecting Run from the Eclipse menu. A Launch Configurations dialog box appears, with appropriate defaults; click Run at the bottom right. A new tabbed panel appears in the lower panel (the Console), displaying the program's output as shown in Figure. Eclipse Java debugger Eclipse You can also run the program in the Java debugger. First, set a breakpoint in main() System.out.println() by double-clicking in the gray margin on the left side of the editor view, next to the call to System.out.println(). A blue dot will appear. From the Run menu, select Debug. As described above, a Launch Configurations dialog will appear. Select Run. The perspective will automatically change to the Debug perspective, with a number of interesting new views as shown in Figure. First, notice the Debug view at the top left of the perspective. This view shows the call stack and has a toolbar in the title bar that allows you to control the execution of the program, including buttons to resume, suspend, or terminate the program, step into the next statement, step over the next statement or return from a method. The panel at the top right contains a number of tabbed views, including Variables, Breakpoints, Expressions, and Display. I've clicked Variables so we can see the current value of i. You can obtain more information about any of the views with the context-sensitive help: click on the title of the view and press F1.

Thursday, March 26, 2009

Voltaic Generator Solar Laptop Charger

Voltaic Generator Solar Laptop Charger Now a days, everybody does not want to compromise with anything. Same story is with the new technology which includes all gadgets like cellphone, laptops, mobiles etc. Today, These gadgets becomes a primary for people that have many activities in cyber world. The Voltaic Generator is the first solar bag powerful enough to charge a laptop. This solar laptop charger has high-efficiency cells and includes a battery pack custom designed to efficiently store and convert the electricity generated. It will also charge cell phones and most other hand held electronics. Solar panel generates up to 15 watts using 20% efficient cells, enough to fully charge the Voltaic battery in about 5 hours. The included battery pack stores the equivalent of a typical laptop charge and automatically delivers the required output voltages. If you are think that this stuff is brittle and easy to break you are wrong, the fabric of this bag is made from recycled PET which makes this stuff tough and water resistant. Technical Specifications: Material: 600D shell made from 100% recycled PET (soda bottles). Webbing, mesh and 150D lining all made from 100% recycled PET. Aluminum frame covered in UV resistant PU. Aluminum and PU hardware. Silicon handle. Weight: 4.5 lbs (2,050 grams) including solar panel and battery. Dimensions: 17"x12"x 3.5" (43x31x9cm) -- will hold up to a 17" MacBook Pro Volume: 700 cubic inches (12 liters) In addition to a laptop plug the bag includes adapters for phones, USB devices and a car charger, and there's a battery inside the bag to improve the efficiency of the panel and to keep the juice flowing when you're in the shade. It all sounds great, but the bad news here is the price: $599. Yeah, your money might be better spent on a few spares batteries, but if you're going to be spending a week or so away from plugs, the Voltaic Generator just might be the ticket.

Tuesday, March 24, 2009

HTC launches new android phones in 2009

HTC smartphone
High Tech Computer(HTC) will be releasing at least a couple more Android smartphones later this year in addition to the Magic. HTC is expected to launch its second Android-powered handset, codenamed Sapphire in may 2009. The new models will involve a BlackBerry-like model with a QWERTY keyboard to go along with the operating system. HTC has done really well to keep the entire thing under wraps, but we do hope that these new models will be able to offer more of a challenge to the iPhone, considering how the Pre will be out later this summer as well as the iPhone's 3.0 update. Earlier market rumors was that HTC's second Android-based phone will come out in March or April. Sources also says, In addition to continuing to cooperate with T-Mobile, HTC will also team up with Vodafone to jointly promote sales of the Sapphire handset. In 2009, HTC will introduce more Android-based handsets for other telecom service providers worldwide. Meanwhile, HTC continues to push sales of its smartphones by releasing, on January 22, its latest GPS-enabled handset, the new HTC Touch Cruise.

Monday, March 23, 2009

Tata Nano launched

On 23rd of March Latest Tata Nano -  the most awaited India Car has finally launched. Tata Nano is a revolutionary car give its price band. Its the lowest in Indian Markets starting at . Tata Nano has been  launched in 3 variants :-
1) Standard
2) Deluxe
3) Luxury
Tata Nano base model will cost 1.25 Lakhs ex showroom. The major difference between base model and top model is going to be AC, Power Windows and Power Steering - All these would not be present in the base model.
Tata Nano is available in wide variet of colours based on what variant you choose.
1) Tata Nano base Colors : bright red, ivory white, summer blue
2)Tata Nano LX : bright red, ivory white, summer blue, champagne gold, lunar silver ( Refer for Tata Nano Lx Colors)
3) Tata Nano CX :champagne gold, lunar silver, sunshine yellowthree colors to start with - Red, Yellow and Silver (Refer for Tata Nano Cx Colors)
How to book Tata Nano ?
You can Purchase The Booking Form (Booking Form Value will be Rs. 300 to Rs. 500 - I will update as soon as i know the exact price) From the Authorised Dealer of Tata Nano or Any SBI Bank Branch (State Bank of India), Westside Retail Stores or Croma Electronics Retail Stores and can submit with the Booking Amount of about 70 to 80% of Car Value. Find the Tata Nano Booking Center in your City. Search Tata Form Booking Form Submission Center in Your City. Tata Nano Online Booking with Delivery Details. Tata Nano first production batch / lot of 3000 cars are dispatched from Pantnagar (Uttarakhand) and the Launching will be in a Stadium at Marine Drive in Mumbai. It is also heard that Tata Nano is being presented to celeberities like our President Smt Pratibha Patil, our Prime Minister Shri Manmohan Singh, Shri L.K. Advani, Sachin Tendulkar, Mahendra Singh Dhoni and likes. 
You have to provide some documents with the Booking form of Tata Nano. You have to attach the Photo Copy of Identity Proof and Address Proof. You can attach photocopy of Election Card, Ration Card, Driving License, Passport Copy, PAN Card, etc.
Picture Gallery Of Tata Nano For more Tata Nano Photos
Go grab a Tata Nano now !! Only 3000 units in first batch book it asap. Currently only Petrol versions are available and Diesel version of Tata Nano  can be expected later this year.
Official website of Tata Nano is - http://tatanano.inservices.tatamotors.com/tatamotors/
Wikipedia also has good info on Tata Nano - http://en.wikipedia.org/wiki/Tata_Nano (though a little outdated - doesnt contain all fresh details about available colors prices etc)

Friday, March 6, 2009

Dell XPS 730x Gaming Desktop

Dell XPS 730x Gaming Desktop
Finally, Dell, leading PC maker all over the globe, has recently launched the future of Gaming as its new Gaming system "XPS 730x Gaming Desktop". It was Dell's latest high-end Gaming machine. Dell has got its game on once more (it does so every year or so) with the XPS 730x. Replacing the XPS 730, the highlight of the machine is that it features Intel’s spiffy new Core i7 processor, making the XPS 730x one the world’s most extreme and overclockable gaming desktops. XPS 730x packs all of its punch into a rock-solid, ATX-compliant chassis available in Brushed Aluminum, Anodized Victory Red or Stealth Blue with optional X-panel side covers. Customize your lighting with Alienware's cutting-edge AlienFX® software. Designed from the ground up to support the XPS 730x platform, AlienFX gives the user an intuitive interface to set each of the five chassis LED zones to one of 16 colors. Millions of unique color combinations are at your fingertips. Intel’s Core i7 processor boasts improved physics, greater environmental interactivity, more intelligent AI and an overall boost in the immerse, and a real-to-life experience. With the new Intel QuickPath Architecture, the XPS 730x offers an ATI Radeon 4870 X2 graphics card, and is available with KillerNIC from Bigfoot, a gaming network card that offers smoother, more responsive online game play during intense action. The XPS 730x is even available with Dell’s patented two-stage H2C cooling system to keep your overclocked CPU and chipset cool and collected. The innovative H2C hybrid solution combines a liquid radiator, a thermoelectric cooling module and control circuitry, which optimises CPU cooling with minimal power consumption. The XPS 730x puts more control in your hands with the new XPS Thermal Monitor utility. Factory installed on all XPS 730x systems, the XPS Thermal Monitor utility gives you the ability to edit and profile the chassis fan settings so you can fine tune your thermal performance. Available in aluminium (silver), blue, or red, the base system includes an Intel Core i7 processor Extreme Edition 965 processor (3.20GHz, 8MB L2 cache, 6.4GT/s), 1-kilowatt power supply, 3GB (1067MHz) tri-channel DDR3 SDRAM, 1GB nVidia GeForce GTX 280 graphics card, 640GB Serial ATA (7200rpm) storage (two 320GB drives), Creative Soundblaster X-Fi Titanium audio card, 16X DVD+/- RW drive, 19-in-1 media card reader with Bluetooth, and Windows Vista SP1 Home Premium (64-bit). There's room for up to two more PCIe graphics cards (in addition to the included single Nvidia GeForce GTX 280), one PCIe x1 card, and an additional PCI card. The Dell's new High power Gaming system carry the high price tag approx Rs. 1,00,360 in India.

Wednesday, March 4, 2009

MicroSoft Zune MP3 Player

MicroSoft Zune starts with a digital media player and adds a twist. You can wirelessly share selected full-length sample tracks, playlists, pictures or your homegrown tracks directly from Zune to Zune. You can listen to the full-length songs that you receive up to three times in three days, flag the ones you like and easily buy them the next time you sync up. You can discover new music in the Zune Marketplace, and show off your favorite pictures and videos on the big, bright screen. Zune has all that and a built in FM tuner, too. Let your inner DJ run wild. Zune is Hard drive based MP3 player. Having 120 GB memory, MP3 player also supports Hi-Speed USB, Wi-Fi. Its 3.2" built-in LCD display is having color depth 262,144 color which provide 320 x 240 resolution. The MP3 player is also compatible with all the digital audio standards like WMA, AAC, Audible, MP3, WMAPro etc. It also supports MPEG-4, WMV, H.264 video standards. It is also having a FM radio which can tune on more then 20 stations. Apart from music, MP3 player is also equipped with digital clock and built-in games which makes the device more then a MP3 player. It has a integrated lithium battery which can provide run time up to 30 hrs. MicroSoft Zune having dimension of 4.4 * 2.4 * 0.5 inch and weight of 4.5 oZ. Zune is available in 2 colors i.e Red and Silver. The price of the Microsoft MP3 player is around Rs. 12,999.

Monday, March 2, 2009

Cowan MP3 Player

Cowan MP3 Player
Some time back, Cowan, a korean company, came back with its new MP3 player. The stylish S9, first seen at the IFA in Berlin has finally made its Indian debut. With its stylish, curved-back ergonomic design, the 8GB Cowon S9 video MP3 player is quite the eye-catcher, and the perfect way to enjoy your favorite movies, TV shows, photos, and music on the go. It has a vibrant 3.3-inch widescreen touchscreen display, Bluetooth support for wireless devices, a voice recorder with built-in microphone, FM radio/recorder, and plenty more, proving that the S9's beauty is way more than skin deep. The S9 boasts a 16 million color, 3.3-inch AMOLED display with a 480 x 272 pixel resolution. The S9 will play AVI and WMV video files, with codec support for Xvid SP/ASP and WMV9 SP/MP. The S9 also makes browsing your content fun and easy. The S9's track control buttons are conveniently placed on the top of the device for use while carrying in your pocket--perfect for use on the bus or subway.Cowon S9 powered by dual-core CPU 500MHz featuring T-DMB digital television tuner, Bluetooth connection, FM radio, text/photo viewer, e-dictionary, tv-out and G-sensor accelerator. The MP3 player can be enhanced with its different enhancements like BBE for clarifies music, Mach3Bass for enhances low-frequency bass spectrum, MP Enhance for restores distorted digital music, 3D Surround for provides 3D sound effect, 5-Band EQ for customizable equalizer with adjustable band and bandwidth filter. The box contains Cowon S9, Earphones, USB 2.0 cable, Manual CD, Quick Start Guide. Cowan MP3 Player Cowon S9 will be available in 3 different capacities: 4GB (219,000 KRW), 8 GB (259,000 KRW), and 16GB (309,000 KRW). New MP3 player carry the price tag of Rs 13,500 for 4GB modal in India.