Latest Tutorials| Questions and Answers|Ask Questions?|Site Map



Login         

View Questions and Answers by Category

Advertisements


 
Have Programming Question? Ask it here!
 
 
 


isha
sms application
1 Answer(s)      6 years and a month ago
Posted in : Development process



Advertisement
View Answers

October 11, 2008 at 6:11 PM


Hi friend,

Code to help solve the problem :

void send(byte data[]) {

try {

String dest= "sms://456475565:5001";;

MessageConnection Conn =
(MessageConnection)Connector.open(dest);


BinaryMessage bmsg = (BinaryMessage)Conn.newMessage(
MessageConnection.BINARY_MESSAGE);


bmsg.setAddress(dest);


bmsg.setPayloadData(data);


Conn.send(bmsg);
Conn.close();

} catch(Exception e) {

System.out.println("e="+e);
fm.append("e="+e);
}
}

For more information,Tutorials and Examples on J2ME visit to :

http://www.roseindia.net/j2me/

Thanks


Related Tutorials/Questions & Answers:
sms application - Development process
sms application  how to send sms from our website to mobile device  Hi friend, Code to help solve the problem : void send(byte data[]) { try { String dest= "sms://456475565:5001
Sms to mobile using java application
Sms to mobile using java application  Hi, i want to send sms to mobile using java application. But i dont have any idea for this procees. So kindly suggest me any ideas. regards vijayalakshmi
Advertisements
SMS Receiving JAVA application from GSM modem
SMS Receiving JAVA application from GSM modem  Hey does any one having SMS reeving JAVA application
sms/mail alert for dynamic web application
sms/mail alert for dynamic web application  hi friends, how can i integrate sms/mail alert with my dynamic web application created using servlet? can anyone give me any idea for this related coding
SMS Sending
SMS Sending  i create one java swing standalone application....i need to send sms in my software application....can you guide how write the code....i wrote one code using way-2-sms but it show an error url action is wrong....how
Sms Progam
Sms Progam  i have to send SMS from pc to mobile in my java program
SMS Send and Recieve - JSP-Servlet
SMS Send and Recieve  How can i embedded SMS service to send and receive SMS from mobile to my application
sms functionality
sms functionality  i want to implement sms functionality in web site for sending as well as receiving.i am using jsp and xamp as backend.please guide me
Develop Bulk SMS sender
Develop Bulk SMS sender   Hi, i Want to implement Bulk SMS sender Application using java is it possible through XMPP ? any other technology
swing sms
swing sms  HOW TO SEND SMS MESSAGE FROM SWING USING SQL DATABASE
SMS Parsing
SMS Parsing  Hello Friends I am working on the code in which The text message(SMS) is send to receiver. There are two webpages UDHCSender &... types the SMS sender number & in another webpage it shows the Sender name &
sms prob
sms prob  Hi, i want to send sms to mobile in calling mode with voice using java struts 2.0 code. But i dont have any idea for this procees. So kindly suggest me any ideas
sms gateway - Development process
sms gateway  I need to develop one sms gateway in java. Let me know What are the things required to built that application? And it will be great if anybody is having the functionality related documents or else the development
Sending SMS From Java Programs
Sending SMS From Java Programs  I want to develop and application to send sms from my computer, can someone please help me, like tell me where to start and what i need
how to send sms on mobile
how to send sms on mobile  send sms on mobile by using struts + spring
sms gateway - MobileApplications
sms gateway  Is it possible to create our own sms gateways in java. IF it possible how
sms - JSP-Servlet
sms  Hi What are the requriments for sending the sms? what is the procedure? Any source code for simple message sending(sms) in java or jsp and servlets
SMS alert system using Java - JSP-Servlet
SMS alert system using Java  Respected Sir/Mam, I need to develop an SMS alert application. Scope of the application: Basically... recipients. This can be developed using any kind of componentsThanks
sms from pc to mobile
sms from pc to mobile  Sir I am developing a website and i need a code to send sms on any mobile from the wbesite.pls help me. thanx in advance
sms from pc to mobile
sms from pc to mobile  Sir I am developing a website and i need a code to send sms on any mobile from the wbesite.pls help me. thanx in advance
Java SMS Progam
Java SMS Progam  Hai to all, I have to send SMS alerts in my applicaton in java technology with out using any gateways and GSM Modems. Thanks
sms(gsm) - MobileApplications
sms(gsm)  I heard that using GSM we can send only 10sms per second. Is it rigt? is there any other way so that we can send 250 SMS per second
SMS using Java
SMS using Java  I am having a concern , where is the main class... program ?? I am trying to execute this a java application in my eclipse...;This is regarding your post for sending SMS from a PC( http://www.roseindia.net/answers
bulk sms - MobileApplications
Bulk SMS  how we can create our own program to send bulk SMS
sms gateway - MobileApplications
; ); method.addParameter( "messageType", "SMS:WAPPUSH:application/vnd.wap.sic"...SMS gateway for Java developer  SMS API for JAVA developers  Hi,SMS API for JAVA developersThe following example gives you detailed
java sms problem
java sms problem  i am developing web site in which i have to maintain sms system where one can message his/her detail and it should be stored in the database.please give me some idea how to maintain it as i am beginner.Thank you
sending sms from laptop to mobile
sending sms from laptop to mobile   sending sms from laptop to mobile for multi users
sending sms from laptop to mobile
sending sms from laptop to mobile   sending sms from laptop to mobile for multi users
send sms from pc to mobile
send sms from pc to mobile  java program to send sms from pc to mobile
j2me sms coding - Java Beginners
j2me sms coding  please send me the source code to send sms and making a call from mobile
sendimg multi sms
sendimg multi sms  i want to send multiple sms from a distribution list decleared in the server...how do i connect my code to server
 

 

 

DMCA.com