Send sms to mobile using java

hi All
I have a simple application, whenever a particular record goes to the database I need to send an sms to a mobile. I would appreciate if anyone can help me as to what steps I need to follow to do this.Is there any java api that can help me achieve this.
Thanks
Oliver,
India.

Any takers??

Similar Messages

  • How to send sms to mobile from tomcatserver using java code?

    Hi,
    Could you please let me know that,
    How to send sms to mobile from tomcatserver using java code? Please provide the code snippet.
    Thanks in advance.

    Yes, but something needs to send that message. You can't just take an arbitrary computer and send an SMS, it does not have the hardware to do that.
    So either you have a mobile through which you do that or more likely - you use some sort of online service to do it. Whatever choice you make will determine what code you will have to write to get it done. Nobody is going to deliver the code to you, that's your job. It is also your job to figure out what service you are going to use.

  • Can we use MIDP 1.0 to send SMS from mobile phone to server

    hello,
    I want to develop MIDlet which send sms from mobile phone to server
    using midp 1.0
    and also if any one knows about the mobile phone which suppoet midp 1.0 (java enabled) then tell me
    thanks in advance
    s.j.koradiya

    hi,
    SMS API(WMA) is an optional package. It is not a MIDP1.0 or MIDP2.0 api's.
    There are phones which has WMA api with MIDP1.0 support .... Nokia 3650
    Seimens has some phone with their own api's to send sms.Check out seimens site for more info
    BTW, What do you mean buy sending SMS to Server????
    If you want to send message to server you can do it with Http.
    HTH
    phani

  • Send sms to mobile through forms 6i

    Dear sirs, I want to send sms on mobile through forms 6i
    it is avalible? and how to do it?
    pls help me
    Thanks in advance
    Yasser

    You need a service provider to get the sms to the telecom companies. If you have a deal with a telco they will tell you how to send an sms via them.
    If you are not sending too many sms messages, you can connect your smartphone to your PC and use the phone's sms service. This can be costly if you want to send many messages. There is standard software for that, e.g.
    http://www.sendgroupsms.com/
    Google for "sms gateway" for more info.

  • Computerised call from PC to a mobile using java applets

    i want to know whether it is possible to make a call from PC to mobile using java applets. Please give me a correct reply with proof.

    The situation is like this.
    We are transfering the JAR file from the PC to the Mobile using Bluetooth.
    Our J2ME project is already install on Nokia's 6600 and given to the salesman's on the field. Now i have updated my software and i want to upgrade the same on their mobiles. For this i can't call all the 2000 salesman's who are all over the country (India) to my place to get the latest software installed and configure.
    If i have a GPRS like solution for transfering my file from my PC to the remote mobile. I would be better. If you know any this related to this kindly reply me.

  • How to send HTML Format Mail using Java Mail in oracle 9i Forms

    Dear All
    could you please tell me how to send HTML Format Mail using Java Mail in oracle 9i Forms and how to implement the java mail ?
    if it is possible, could you please send me the sample code? please very urgent
    Thanks
    P.Sivaraman

    Hello,
    <p>Here is a Form sample.</p>
    Francois

  • Sending an e-mail using java

    Hi,
    I am sending an e-mail using java. It works fine, but I wanted to know if there is any possibility to attach a document, without using a File object. Because I have to write the File object and then delete it at the end. I would like to know if I can use for example a byte [], or something else.
    Thank you very much.
    This is my code, if that helps.
    public static void sendWithAttach(String p_sender, String p_receiver, String p_subject,
    String p_comment, int p_nombrePiecesJoints, HashMap<String, byte[]> p_files) {
    Properties props = System.getProperties();
    props.put("mail.smtp.host", Solapcore.getCurrent().getServletConfig().getServletContext().getInitParameter("SMTP"));
    Session session = Session.getDefaultInstance(props, null);
    MimeMessage sender = new MimeMessage(session);
    MimeBodyPart mbp1 = new MimeBodyPart();
    Multipart mp = new MimeMultipart();
    List<File> listeFiles = new ArrayList<File>();
    try {
    //On assigne to, from, subject, body, priority
    sender.setRecipients(javax.mail.Message.RecipientType.TO,
    InternetAddress.parse(p_receiver, false));
    sender.setFrom(new InternetAddress(p_sender));
    sender.setSubject(p_subject);
    mbp1.setText(p_comment);
    //sender.setPriority(0);
    mp.addBodyPart(mbp1);
    //On attache les documents
    for(Map.Entry<String, byte[]> entry : p_files.entrySet()) {
    MimeBodyPart mbp2 = new MimeBodyPart();
    String fileName = entry.getKey();
    byte [] dataFile = entry.getValue();
    File file = new File(fileName);
    FileOutputStream fos = new FileOutputStream(file);
    fos.write(dataFile);
    mbp2.attachFile(file);
    mbp2.setFileName(fileName);
    mp.addBodyPart(mbp2);
    listeFiles.add(file);
    sender.setContent(mp);
    Transport.send(sender);
    }catch(MessagingException mex) {
    mex.printStackTrace();
    }catch(FileNotFoundException fnf) {
    fnf.printStackTrace();
    }catch(IOException ioe) {
    ioe.printStackTrace();
    }finally {
    Iterator<File> itListeFiles = listeFiles.iterator();
    while(itListeFiles.hasNext()) {
    File tempFile = (File)itListeFiles.next();
    tempFile.delete();
    }

    Thank you very much.
       public static void sendWithAttach(String p_sender, String p_receiver, String p_subject,
          String p_comment, int p_nombrePiecesJoints, HashMap<String, byte[]> p_files) {
        Properties props = System.getProperties();
        props.put("mail.smtp.host", Solapcore.getCurrent().getServletConfig().getServletContext().getInitParameter("SMTP"));
        Session session = Session.getDefaultInstance(props, null);
        MimeMessage sender = new MimeMessage(session);
        MimeBodyPart mbp1 = new MimeBodyPart();
        Multipart mp = new MimeMultipart();
        List<File> listeFiles = new ArrayList<File>();
        try {
          //On assigne to, from, subject, body, priority
          sender.setRecipients(javax.mail.Message.RecipientType.TO,
              InternetAddress.parse(p_receiver, false));
          sender.setFrom(new InternetAddress(p_sender));
          sender.setSubject(p_subject);
          mbp1.setText(p_comment);
          //sender.setPriority(0);
          mp.addBodyPart(mbp1);
          //On attache les documents
          for(Map.Entry<String, byte[]> entry : p_files.entrySet()) {
            MimeBodyPart mbp2 = new MimeBodyPart();
            String fileName = entry.getKey();
            byte [] dataFile = entry.getValue();
            File file = new File(fileName);
            FileOutputStream fos = new FileOutputStream(file);
            fos.write(dataFile);
            mbp2.attachFile(file);
            mbp2.setFileName(fileName);
            mp.addBodyPart(mbp2);
            listeFiles.add(file);
          sender.setContent(mp);
          Transport.send(sender);
        }catch(MessagingException mex) {
          mex.printStackTrace();
        }catch(FileNotFoundException fnf) {
          fnf.printStackTrace();
        }catch(IOException ioe) {
          ioe.printStackTrace();
        }finally {
          Iterator<File> itListeFiles = listeFiles.iterator();
          while(itListeFiles.hasNext()) {
            File tempFile = (File)itListeFiles.next();
            tempFile.delete();
        }

  • Can any one please send me sample programs using java mapping..

    <b>Can any one please send me sample programs using java mapping with input and output?</b>
    please let me know how to get started with java mapping?
    Prerequisites for java mapping ?
    What are the jars need to be deployed for SAX,DOM.  And how to do it in NWDS?
    Use of Execute() and setparameter() ... StreamTransformation?
    Some sample program using java mapping with simple logic(input and output)?

    Hi,
    Did you go thro these blogs?
    /people/prasad.ulagappan2/blog/2005/06/29/java-mapping-part-i
    /people/prasad.ulagappan2/blog/2005/06/29/java-mapping-part-ii
    /people/prasad.ulagappan2/blog/2005/06/29/java-mapping-part-iii
    Nice blogs to start Java Mapping.
    Go thro this one too.
    /people/stefan.grube/blog/2006/10/23/testing-and-debugging-java-mapping-in-developer-studio
    Regards,
    P.Venkat
    Message was edited by:
            Venkataramanan

  • How can I send SMS from Mobile To PC? Plz Help me...

    I created one Midlet that has the user interface to get the details from the user.
    I want to send those details to server as SMS.
    What can I do with WMA.How can I send SMS from Mobile to PC.
    Plz help me to send SMS from Mobile to PC.

    Hi Senthilnathan,
    I too try for the same, if anyone has the idea please reply
    Regards
    Karthi

  • Sending sms on mobil phone by ABAP Program

    Hello all,
    can any on give me example program to send sms on mobile phone by ABAP Program.
    Thanks
    Rajesh Choudhary

    Hi,
    check this link Rich's reply might help you.
    Re: How to send  a mailt to cell pone number or pager
    Regards,
    Amit

  • Send sms to mobile over internet

    I want to send sms over Internet. i m unable to make this module..
    from where i can get sms server and gateway in java .
    where i can find this complete module.

    Sree,
    If you directly ask for any example source, nobody would probably help you out. Show the effort and tell when you getting stuck and then people would be really helpful.
    To send SMS you need to use SMPP protocol. There are many open source libraries and one of them is logica . Using this library you can send sms to any real SMSC or simulator.

  • How to Send sms from mobile

    Hi
    i have 6230 Nokia mobile based on s40 2nd edition plateform which support jar files . i have installed the examples(jar files which come with the java wap toolkit) with Nokia pc suite.Mostly applications work on the mobile. But the problem is i have also installed the smssend application (which come with java wap toolkit)in mobile. when i run, it execute successfully and does not show any error.But the sms is not sent. i do not know what is the problem.
    Kindly Acknowledge
    Mr. S.Singh

    Hello Sahib,
    Here is a sample code to do this:
    public boolean sendSms(String number, String message){
        boolean result = true;
        try {
          //sets address to send message
          String addr = "sms://"+number;
          // opens connection
          MessageConnection conn = (MessageConnection) Connector.open(addr);
          // prepares text message
          TextMessage msg =
          (TextMessage)conn.newMessage(MessageConnection.TEXT_MESSAGE);
          //set text
          msg.setPayloadText(message);
          // send message
          conn.send(msg);
          conn.close();
        } catch (SecurityException se) {
            // probably the user has not allowed to send sms
            // you may want to handle this differently
            result = false;
        } catch (Exception e) {
            result = false;
        return result;
      }If you want to download the full source code see this: [HowToSendTextSMSMIDlet.zip|http://www.forum.nokia.com/piazza/wiki/images/4/4e/HowToSendTextSMSMIDlet.zip]
    Hope i'm helping,
    Nathan Paulino Campos

  • How to send a string from sender to receiver side using java

    I am doing a project on Digital Signature.I have already done with the GUI using java swing.
    Now i want to send a string from the sender side to the receiver side on the click of a button using socket programming.
    Please can anybody provide me with the code as early as possible.

    http://catb.org/~esr/faqs/smart-questions.html

  • Want to send PDF as attachement using Java Mail

    HI,
    I am using Java mail API for sending PDF as attachment. Here is my sample code
    messageBodyPart = new MimeBodyPart();
    messageBodyPart.setDataHandler(new DataHandler("String data for PDF using iText", "text/plain" ));
    I am generating String for PDF file using iTEXT but I am unable to find out mimetype for passing into DataHandler as second paramete.
    Any idea?
    Thanks
    Shailesh

    Don't convert the data to String. It isn't text so
    you'll damage the binary content by doing that. In
    the "demos" directory of your JavaMail download
    you'll find a ByteArrayDataSource class you can use
    instead of a FileDataSource. Yes, this worked for me. I create the pdf in memory as as StringBuffer and I just changed the code from
    messageBodyPart.setDataHandler(new DataHandler(pdf.toString(), "application/pdf"));
    to
    messageBodyPart.setDataHandler(new DataHandler(new ByteArrayDataSource(pdf.toString(), "application/pdf")));
    and it worked.
    Thanks a lot for your help,
    Dennis

  • Send sms from mobile to mobile via bluetooth

    Hey guys,
    How do you send a single sms or en masse to another mobile?
    The option is there for all other files eg photos, videos and pdf etc
    All of my old nokia mobiles could do this but it appears not the N8....
    Why has this option been removed or is there anotherway of doing it?
    any help appreciated

    Nagan wrote:
    Can anyone tell me what are the requirements for sending SMS(Short Message Service) from mobile to PC.This forum is for the Sun Messaging Server product. I fail to see what your question has to do with this product.
    Regards,
    Shane.

Maybe you are looking for

  • Firefox hangs if I try to open Options in the Tools menu

    When I select Options from the Tools menu this hangs Firefox and any tabs that may be open. I have to End the non responding program through Task Manager. This happens any/everytime I try to access Options. This only happens on my laptop, not my PC.

  • ITunes no longer burning MP3 discs?

    I am running iTunes 6.0.2 on my iBook which has, until recently, worked well. I don't know at what (upgrade) point things changed, but in the past when I created a long playlist and then selected 'burn' I would be told that the list is too long for a

  • User exit/BADI for Return PO item delivery Address

    Hi Guyz, We have a requirement where in when a PO item is marked as return PO item(In ME21n/ME22n/ME23n We have check box at item level) and click on enter/Check/Save, In delivery address of item details we have to populate Vendor address. By default

  • Calculating Standard working hours based on location/department

    Hi Experts, In Fusion HCM 8.0 Is there any way to calculate the Standard working hours based on location/department and FLSA code? For new hires, can this be populated based on above criteria? Please let me know how to proceed on this. Thanks in adva

  • Login on Developer App

    I have a DPS app with entitlement that I'm setting up. I just developed an entitlement site and added in subscribers. When I download the Developer app (.ipa) file on my iPad should the login feature work? I'm at this step: Once I get my integrator I