•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the Java section within the Software Development category of DaniWeb, a massive community of 391,549 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,537 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our Java advertiser: Lunarpages Java Web Hosting
Views: 2642 | Replies: 2
![]() |
•
•
Join Date: Nov 2004
Location: Netherlands
Posts: 5,646
Reputation:
Rep Power: 18
Solved Threads: 191
SMS triggered bombs? And asking others to write the software for them?
What'll Al Qaeda think up next...
There are a great many SMS libraries out there for you to purchase (and some may even have a limited functionality free version).
As you obviously didn't even bother researching the subject or you'd have found those yourself you should first do that.
What'll Al Qaeda think up next...
There are a great many SMS libraries out there for you to purchase (and some may even have a limited functionality free version).
As you obviously didn't even bother researching the subject or you'd have found those yourself you should first do that.
42 Private messages asking for help will be ignored
In the frozen land of Nador they were forced to eat Steve's iMinstrels, and there was much rejoicing.
In the frozen land of Nador they were forced to eat Steve's iMinstrels, and there was much rejoicing.
•
•
Join Date: Jul 2006
Posts: 1
Reputation:
Rep Power: 0
Solved Threads: 0
hi
try it with this peace of code
MessageConnection smsconn = null;
smsconn = (MessageConnection) Connector.open(address); String address = "sms://" + phoneNumberField.getString() + ":50000"; // address for sending sms "sms://phno:portno"
MessageConnection smsconn = null;
try {
smsconn = (MessageConnection) Connector.open(address);
TextMessage txtmessage = (TextMessage)smsconn.newMessage(MessageConnection.TEXT_MESSAGE);
txtmessage.setAddress(address);
txtmessage.setPayloadText(messageField.getString());
smsconn.send(txtmessage);
thanks and regards
thiyagu.
try it with this peace of code
MessageConnection smsconn = null;
smsconn = (MessageConnection) Connector.open(address); String address = "sms://" + phoneNumberField.getString() + ":50000"; // address for sending sms "sms://phno:portno"
MessageConnection smsconn = null;
try {
smsconn = (MessageConnection) Connector.open(address);
TextMessage txtmessage = (TextMessage)smsconn.newMessage(MessageConnection.TEXT_MESSAGE);
txtmessage.setAddress(address);
txtmessage.setPayloadText(messageField.getString());
smsconn.send(txtmessage);
thanks and regards
thiyagu.
•
•
•
•
Originally Posted by usama
Hi All
How i can send SMS by Java Mobile Application.
I want the Class which used.
Thanx
Osama
![]() |
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
•
•
•
•
•
•
•
•
DaniWeb Java Marketplace
- how to send sms from web site to mobile (PHP)
- How to send sms from computer to mobile phone? (C++)
- Send SMS with ASP.NET Webform, (Codebehind VB.NET) (ASP.NET)
- Java app to send an SMS via DKU-5 serial cable (Java)
- send sms from pc to mobile in vb.net (VB.NET)
- send a sms when a new email arrives (ASP)
Other Threads in the Java Forum
- Previous Thread: Is there a Floating Scrollbar component for Tables
- Next Thread: java doubt-urgent



Linear Mode