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



Related Tutorials

Java program to get location meta data from an image

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

Archived Comments

1. Very good. but why i can search data then report v
View Tutorial          By: ARMAN AHMED at 2015-04-27 13:18:04

2. hi i want to know
can i sent picture of si

View Tutorial          By: Nauman Khalid at 2011-12-10 11:50:39

3. This tutorial is so simple, often we dont need to
View Tutorial          By: NIrjhar at 2011-12-12 03:29:52

4. tnx
View Tutorial          By: arion at 2011-06-03 01:24:30

5. Hi...Really nice post..But i got the error like
View Tutorial          By: Nithya at 2013-04-11 09:37:50

6. hi
Instead of sending a int type pass an ar

View Tutorial          By: Sanju at 2014-12-04 08:51:18

7. Thank you I have understood the flow now.
<

View Tutorial          By: Shyam at 2012-05-17 13:14:40

8. Hi, thanks for your code, I have modified a little
View Tutorial          By: Armando at 2010-08-10 09:34:35

9. plz any one send me the code for sending and recei
View Tutorial          By: ankush at 2013-09-20 07:47:27

10. hi...
how can i get this 5 files...of java.

View Tutorial          By: loveu at 2010-09-19 12:04:10