Comment on Tutorial - How to Send SMS using Java Program (full code sample included) By Emiley J.



Comment Added by : Mudra

Comment Added at : 2010-06-04 15:04:55

Comment on Tutorial : How to Send SMS using Java Program (full code sample included) By Emiley J.
What is the use of "SMSConnector" in this? Does it need to be changed ??
The below errors come while compliling...PLEASE help me out...I need to submit my project in 3 days...and anyhow i need to solve this error...PLEASE GUIDE me through this...

C:\sms\sms\src\smsPackage>javac SerialConnection.java
SerialConnection.java:22: cannot find symbol
symbol : class SerialParameters
location: class smsPackage.SerialConnection
private SerialParameters parameters;
^
SerialConnection.java:51: cannot find symbol
symbol : class SerialParameters
location: class smsPackage.SerialConnection
public SerialConnection(SerialParameters parameters) {
^
SerialConnection.java:65: cannot find symbol
symbol : class SerialConnectionException
location: class smsPackage.SerialConnection
public void openConnection() throws SerialConnectionException {
^
SerialConnection.java:155: cannot find symbol
symbol : class SerialConnectionException
location: class smsPackage.SerialConnection
public void setConnectionParameters() throws SerialConnectionException {
^
SerialConnection.java:92: cannot find symbol
symbol : class SerialConnectionException
location: class smsPackage.SerialConnection
throw new SerialConnectionException(e.getMessage());
^
SerialConnection.java:101: cannot find symbol
symbol : class SerialConnectionException
location: class smsPackage.SerialConnection
} catch (SerialConnectionException e) {
^
SerialConnection.java:113: cannot find symbol
symbol : class SerialConnectionException
location: class smsPackage.SerialConnection
throw new SerialConnectionException("Error opening i/o streams");
^
SerialConnection.java:128: cannot find symbol
symbol : class SerialConnectionException
location: class smsPackage.SerialConnection
throw new SerialConnectionException("too many listeners added");
^
SerialConnection.java:176: cannot find symbol
symbol : class SerialConnectionException
location: class smsPackage.SerialConnection
throw new SerialConnectionException("Unsupported parameter");
^
SerialConnection.java:181: setFlowControlMode(int) in javax.comm.SerialPort cann
ot be applied to (boolean)
sPort.setFlowControlMode( (parameters.getFlowControlIn())
^
SerialConnection.java:184: cannot find symbol
symbol : class SerialConnectionException
location: class smsPackage.SerialConnection
throw new SerialConnectionException("Unsupported flow control");
^
11 errors


i guess there is some error related to SerialPort...how to check it?
I have connected E71 as a GSM Modem..it supports internet so...And when i try to QueryModem in properties of Modem-Port in Control Panel...they say that the port is used by some application...but i have not opened any IE or any other window using the same port...

Reply soon...


View Tutorial



Subscribe to Tutorials

Related Tutorials

Program using concept of byte long short and int in java

Update contents of a file within a jar file

Tomcat and httpd configured in port 8080 and 80

Java File

Java String

Count number of vowels, consonants and digits in a String in Java

Reverse a number in Java

Student marks calculation program in Java

Handling Fractions in Java

Calculate gross salary in Java

Calculate average sale of the week in Java

Vector in Java - Sample Program

MultiLevel Inheritance sample in Java

Multiple Inheritance sample in Java

Java program using Method Overriding

Archived Comments

1. 0
View Tutorial          By: zareen at 2011-08-20 08:27:28

2. Hi, from where i can download javax.comm API jar f
View Tutorial          By: Chandra at 2008-11-19 11:49:46

3. im trying to just store the data taken from editex
View Tutorial          By: praveen at 2014-08-05 15:19:51

4. thanq for this tutorial. It is very useful. But i'
View Tutorial          By: syahmi at 2010-03-06 02:55:05

5. I want to send a message using mobile browser to s
View Tutorial          By: Richa Bhatia at 2009-12-08 22:33:36

6. hey i need a sms recieving code....
View Tutorial          By: Kishore at 2009-08-06 09:11:13

7. i want to know how to connect one page to another
View Tutorial          By: mahesh at 2009-08-26 01:31:40

8. This does not work in following case :
Cli

View Tutorial          By: Amardeep at 2010-01-20 05:59:21

9. Hello MR, I was running sms package to send sms, a
View Tutorial          By: Ronized at 2008-12-29 16:53:33

10. Seriously very nice explanation.... Thank You
View Tutorial          By: Pulkit agrawal at 2012-03-20 10:28:10