Huawei E220 modem on Ubuntu with Dialog HSDPA

Type following command in terminal

$ sudo wvdialconf /etc/wvdial.conf

$ sudo gedit /etc/wvdial.conf

uncomment the ‘Phone‘ field and give the phone number as *99***1# and save the file.

*Esc ---> shift qw and Enter for save in vim edit ($ sudo vim /etc/wvdial.conf )

install the following files and add the huawei driver. Drivers

$ tar xjvf huawei.tar.bz2
$ cd huawei
$ su
$ make info
continue installation acoding to info file..

Install conection software using following .deb file Software

If you want to monitor network usage following package... Package

more info: Visit

Java Location API

Here is Example Java Location API example. But work for this want to support Java Location API in UR mobile and inbuilt GPS receiver(I only test with mobile emulator).

what is Location API:

The Java Location API for J2ME is intended to run on small client devices such as mobile phones.The Location API object model consists of 11 classes and two listener interfaces (LocationListener and ProximityListener), all in the javax.microedition.location package. Their design approach uses several standard patterns—Facade, Factory Method, Singleton, and Value Object, and standard JavaBeans-style accessors. Of the 11 classes, two are Exception classes (LocationException and LandmarkException) and another four (AddressInfo, Criteria, Orientation, and QualifiedCoordinates) are primarily value objects. Many of the properties of these objects may in practice be unavailable, depending on the location-finding technology implementing the API. Still, these properties anticipate likely future developmen…

Java interview ask question

Question: Why Java does not support multiple inheritence ?
Answer: Java DOES support multiple inheritance via interface implementation.

Question:What is the difference between final, finally and finalize?
Answer: o final - declare constant
o finally - handles exception
o finalize - helps in garbage collection

Question: Where and how can you use a private constructor.
Answer: Private constructor can be used if you do not want any other class to instanstiate the object , the instantiation is done from a static public method, this method is used when dealing with the factory method pattern when the designer wants only one controller (fatory method ) to create the object.

Question: In System.out.println(),what is System,out and println,pls explain?
Answer: System is a predefined final class,out is a PrintStream object and println is a built-in overloaded method in the out object.

Question: What is meant by "Abstract Interface"?
Answer: First, an interface is …

Netbeans Support Multi Language

Netbeans, the free, open source, software development environment from Sun Microsystems, has just reached version 6.1 (see the Netbeans 6.1 release notes for detailed info).New for version 6.1 is all-new, completely redesigned support for JavaScript (whether it’s standalone JavaScript, or embedded in other files e.g. HTML).

Java user groups and developers have contributed work to make NetBeansTM 6 IDE available in Japanese, Chinese, Brazilian Portuguese, English and Chinese. The NetBeans Translation Project provides opportunities for members of the community to localize the IDE and documentation.

We expect nearly netBeans support Sinhalese and Tamil language also.

Press Release

Netbeans challenges Other IDE's

Netbeans has a simple but powerful GUI designer. Create your application window, drag buttons onto it and then double click them to add code and events. If you’ve used the GUI builder in VBA applications, it looks and works a lot like that. And it is extremely easy to learn while at the same time providing powerful layout helpers.

Creating a State Diagram

A State diagram is a visual representation of an application's state machines. It shows the life of an object from birth to death. In this type of diagram, you see the behavior specifying the sequence of states that the object goes through in response to events over its lifetime, and you see the object's responses to those events.

You can use a State diagram when you are working on a real-time process-control application or a subsystem that involves concurrent processing, or when you want to express the behavior of a class over several use cases.

1. Create a UML Project and add a State diagram

1. Choose File New Project.

2. In the New Project wizard:
1. Select Categories UML.
2. Select Projects Platform-Independent Model.
3. Click Next.

3. In the New Platform-Independent Model panel:
1. Type a name for the UML project, such as MyUMLProject.
2. Choose a directory where the project will be stored.

4. Click Finish.

5. In…

NetBeans IDE Keyboard Shortcuts

Ctrl-Space Code completion Esc Close code completion Shift-Space Enter a space without expanding
an abbreviation Alt-F1 Display Javadoc Shift-F1 Search Javadoc Alt-Shift-I Import class Alt-U, G Append get to identifier Alt-U, S Append set to identifier Alt-U, I Append is to identifier Ctrl-Shift-F Reformat selection Ctrl-T Shift one tab to the right Ctrl-D Shift one tab to the left Ctrl-Shift-T Comment out with line comments
("//") Ctrl-Shift-D Remove line comments ("//") Ctrl-W Delete current or previous word Ctrl-E Remove the current line Ctrl-J, S Start recording macro Ctrl-J, E Stop macro recording Ctrl-[ Move insertion point to matching
bracket Ctrl-L Word match - forward Ctrl-K Word match - back Ctrl-F Find Ctrl-H Replace F3 Find next Shift-F3 Find previous Ctrl-F3 Search for word that insertion
point is on Alt-Shift-H Turn off search result highlighting Alt-Shift-O Fast Open class Alt-O Go to source Alt-G Go to declaration Ctrl-M Select next parameter Ctrl-…