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. very useful example. Thanks for this help.
View Tutorial          By: Saurabh at 2010-04-23 04:50:13

2. I want get data from Mysql into Spinner by using P
View Tutorial          By: Dilsha at 2013-07-06 05:17:58

3. Great explanations! I looked for other guides and
View Tutorial          By: A.Lepe at 2010-09-15 21:36:42

4. Java is very interesting,I wish to do certificate
View Tutorial          By: Dzunisani Chauke at 2012-11-05 10:19:35

5. Hi,
I am getting this exception..My modem i

View Tutorial          By: divya at 2008-04-27 04:12:19

6. This is a simple app and its working good.......
View Tutorial          By: sathish at 2012-04-23 12:16:07

7. thanks for your tutorial, but how to us it?

View Tutorial          By: Desman Gea at 2014-07-18 16:54:41

8. I have tried that but still getting the same error
View Tutorial          By: pra at 2008-04-14 21:55:44

9. Thanks...it was very helpful :)
View Tutorial          By: Swathi at 2012-01-25 06:49:46

10. everything is easy to learn from your website.I un
View Tutorial          By: sumitra barua at 2012-05-30 03:13:10