By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
458,083 Members | 1,254 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 458,083 IT Pros & Developers. It's quick & easy.

Sending and receving Sms problem

100+
P: 107
I am currently doing a project that sending and receving the text messages in java. I am using the jsmsengine API for sending and receving the message..

But i am getting an error that

Connection to mobile failed.. Error no: -11

Pls any one hlp me..
Sep 13 '08 #1
Share this Question
Share on Google+
3 Replies


Expert 10K+
P: 11,448
Connection to mobile failed.. Error no: -11
Is that all your JVM tells you? No stacktrace or method or line number?

kind regards,

Jos
Sep 13 '08 #2

100+
P: 107
Is that all your JVM tells you? No stacktrace or method or line number?

kind regards,

Jos
Yes, and no stacktrace ..

but it shows an error message on the below method

srv.connect();

srv is an object of that API...

How to detect that GSM modem connect to my PC perfectly?
Sep 14 '08 #3

Expert 10K+
P: 11,448
Yes, and no stacktrace ..

but it shows an error message on the below method

srv.connect();

srv is an object of that API...

How to detect that GSM modem connect to my PC perfectly?
Well, obviously it doesn't connect at all (the connection is refused). You have to
study the API documentation for that method and see why no connection was
made.

kind regards,

Jos
Sep 14 '08 #4

Post your reply

Sign in to post your reply or Sign up for a free account.