Sending SMS on Win Mobile 5.0

Hi !
I am relatively new to J2Me and would like some help on sending SMS using a PDA. I have been trying to create a program (using WMA) which should enable me to send an sms via my PDA (O2 Zinc). Although there are no errors to the program, it simply refuse to send the SMS out.
A portion of the codes is found below:
private void jButton1MouseClicked(java.awt.event.MouseEvent evt) {                                     
try {
String addr = "sms://+6598292837";
jLabel1.setText("address added");
{color:#ff0000} MessageConnection conn = (MessageConnection) Connector.open(addr);{color}
jLabel2.setText("message connection set");
TextMessage msg =
(TextMessage)conn.newMessage(MessageConnection.TEXT_MESSAGE);
jLabel3.setText("text message set");
msg.setPayloadText("Hello World!");
jLabel4.setText("text set");
conn.send(msg);
}catch (Exception e){e.printStackTrace();}
I added in the jLabel text change to see which are the lines being executed. And it was found that the codes after {color:#ff0000}
MessageConnection conn = (MessageConnection) Connector.open(addr); {color:#000000}was never executed.
I must apologise i kinda s.u.c.k in using exception but i try to add this in and it caught the connection not found exception.
public void sendTxtMsg() throws IOException{
try{ ......
} catch (ConnectionNotFoundException ex) {ex.printStackTrace();jLabel3.setText("error: "+ex);}
have i missed out on any steps? or should i use a different approach to the problem?
Your help is very much appreciated! Thanks for all the help
Desperate Programmer.
{color}{color}

The JavaFX Mobile 1.2 runtime can only be run on Windows Mobile 6.1 and up

Similar Messages

  • Can We Send SmS To Any Mobile, Without Using Gsm Modem, Through Oracle

    Can We Send SmS To Any Mobile, Without Using Gsm Modem, Through Oracle ?
    suppose you don't have mobile connected to ur com port.

    is this helps?
    http://inside-apex.blogspot.com/2007/05/sending-sms-to-mobile-phone.html or
    Re: Send Message From Oracle To Mobile Device

  • How Can I send SMS to a Mobile Phone within Oracle

    How Can I send SMS to a Mobile Phone within Oracle

    It depends on how you are planning to use this feature.
    You can set up a mobile using special software in order to interface to it programatically - you can then, via this software interface, use this mobile to send SMS's.
    Some service providers support an e-mail interface. Where you send the SMS as a the e-mail content and the mobile number as the recipient's address, or as the subject of the e-mail. However, many service providers have long since stopped providing this type of mail interface due to abuse. Remember that service providers are there to make money - not offer one a service via bulk SMS's can be send.
    Some service providers have dial-up servers that works like the old style bulletin board systems (BBS's) of the 90's. You use a telnet like interface, dial into this BBS, and is prompted for mobile number, message to deliver, and even delivery confirmation. You can expect the cost of this phone call to this system, to also cover the cost of sending the SMS.
    Some companies provide a software server to interface with one or more service providers - this allows you to fairly easily use this server gateway to send SMS's for you. Such a gateway server will typically support a telnet interface - allowing you to send SMS's via it from inside PL/SQL.
    I've used all these options, and I've found the best one to be the last option. It is the easiest to use from a programming perspective. It comes with various management and reporting tools. So you need to do the very minimal in managing this whole SMS interface.

  • How to Send SMS to a mobile in CRM

    Hi all,
    I need to create a Method in a class for sending SMS to a mobile phone in CRM with importing parameters as 'MOBILE_NUMBER' and 'MESSAGE'. Please help me in this regard.
    Thank you in advance.
    Regards,
    Ravi.

    Hi,
    are you sure you really want to implement this function within Mobile Sales/Service application?
    If from CRM system you should rather chose another accordant forum.
    Regards,
    Wolfhard

  • How to send sms to one "mobile number" and retrieve store to mysql

    Hi All,
    I am using Clickatell api to send sms.Its perfectly working.My current requirement is *"I need one mobile number(sms provider/gateway) that should be receive any sms from various mobile numbers.If i give that number to my clients they will send a message to that number.If i get any sms on that number i will retrieve the sms and store it to my database".*
    please any one help me and give some ideas or the sms providers api
    by
    vijay

    This doesn't seem to have anything to do with JavaMail.
    Maybe you should ask the Clickatell API owners?

  • Wants to send sms to my mobile

    hi all,
    Iam new to sun Developer Forum..
    Help me out to do my project to send sms to mobile..
    Iam trying to connect modem here i need to fill serial port,baud rate,data bits
    i dont know how to get serial port no
    CommConnector connector =
    new ModemConnector( "1234567890", "", "COM99", 9600, 8, 1, 'N' );
    Is there any free message service providers to send sms from pc
    my id: [email protected]
    thanks in advance

    Hi vichutty23
    Thank you for posting and welcome to Nokia Support Discussions! 
    You can check from this link: http://www.whatsapp.com/faq/nokia/21099118 if your phone is compatible with WhatsApp. 
    The letter E represents the kind of speed you are using when connecting to the internet, in this case EDGE (2.5G) that would have a data transfer rate of 384 kbps.
    If you subscribe to a data packet provided by your service operator, indeed it is the internet connection provided by your operator.
    This icon will let you know when your phone is connected to the Internet, it must appear with a box when transferring data or Internet connection. When the phone is not connected to the Internet the"E" will appear with a line in the middle giving the image of being cut.
    If my post helped you, please don't forget to click on the "White Star" and if it resolved your issue click on "Accept as Solution"

  • Sending SMS to a mobile app from smpp server

    Hi frndz
    I have a j2me application which is listening to port number 1581
    So, any message for port number 1581 will be directed to my j2me application,
    problem is how can I send an SMS to a specific port number using SMPP server so my j2me app. receives the msg.
    I have my own SMPP server through which I am able to send simple messages
    so what modification required to send messages to a particular port
    thanks
    alpesh

    Thanks Senthil
    I tried two methods for sending msgs to a specific port from SMPP server
    (I) setting up the optional parameter (TLV values)
    The Code is:
    request.setDestAddr(ton, npi,mobile_no );
    request.setShortMessage("This msg is on port number 1581");
    request.setDestinationPort((short)0x62D); // HEX for 1581
    request.setSourcePort((short)0000);
    request.setReplaceIfPresentFlag(replaceifpresentflag);
    request.setRegisteredDelivery(registeredDelivery);
    (II) setting UDH parameter
    The Code is:
    // setting UDH parameter CODE
    ByteBuffer msgUDH=new ByteBuffer();
    msgUDH.appendByte((byte)6);
    msgUDH.appendByte((byte)5);
    msgUDH.appendByte((byte)4);
    msgUDH.appendShort((short)0x1581);
    msgUDH.appendShort((short)0x0000);
    // appending msg to the UDH header
    message="Sending Message on Specified Port";
    msgUDH.appendBuffer(new ByteBuffer(message.getBytes()));
    // submitting the msg
    request.setDestAddr(ton, npi,mobile_no );
    request.setMessagePayload(msgUDH);
    request.setProtocolId((byte)0xF5);
    request.setEsmClass((byte)(Data.SM_UDH_GSM));
    request.setReplaceIfPresentFlag(replaceifpresentflag);
    request.setRegisteredDelivery(registeredDelivery);
    I am submitting the message using any of the above method, message goes to mobile phone default Inbox, not to my J2ME app.
    any Idea, what is wrong?
    thanks
    alpesh

  • Keep getting a failed message when trying to send sms to UK mobile

    Why do I keep a failed message when trying to send a SMS to UK mobile

    That would be a good place to start since SMS is strictly a carrier feature.

  • Server script to send sms from pc to mobile

    hey can anybody help me how to develop a server side script which can send sms to a mobile, what all things to consider....please guide me in this.

    If you know the carrier then the easiest way to send a sms is send the email to the phone. The email address will be phonenumber@carrierspecific address. You can get the list of carrier specific email address at their website or search at google.
    Other way is to subscribe to a sms server like smsxchange and use their apis to send email.
    Third way is to connect a gprs modem/ phone to the pc and send the sms through the phone.
    Easiest and free is the email and next best if ready to pay is subscribe to an sms exchange provider.

  • How to send sms message from webdynpro to mobile

    Hi
    i am working on QA project.when system QA parameters are above standard values ,then i need to send SMS  message to Mobile of supervisor.Can anybody suggest how to implement this?
    Thanks
    Prasad

    Hai,
    Create a web service model for this web servicehttp://www.webservicex.net/SendSMS.asmx?WSDL
    this web service provides sms service through india.
    But it can only work :If your mobile number is 098XXXXXXXX ,Please enter as 98XXXXXXXX
    Create a view with two input fields (ToMobilenumber, from mail Addrees)
    Create a textedit Elemnt (Message).
    Create a button set the parameters to your web service and execute it.
    regards,
    Naga Raju

  • Can I use my MAC (G5 & OS 10.4) to send SMS from the UK?

    (The third of my first set of postings!)
    When I used an earlier PowerMac and OS 9, I was able to dial a Vodafone number (using the communications module of Claris Works) to send SMS messages to mobile phones.
    I have recently seen Widgets advertised which seem to offer such a facility, but not, apparently, in the UK.
    Is there any way of sending SMS messages from a Mac in the UK?
    Many thanks for responses/comments.

    I'm pretty sure this supports the UK:
    http://www.smsmac.com/en/index.html

  • How to send SMS by using ABAP program

    HI Gurus,
    I need to notify the vendor through sms when his goods are received. His details are stored in vendor master.
    My problem is that I am not able to find any function module for the same.
    Do any of you know how to send 'sms' to particular mobile number using ABAP.
    Are there any basis settings required for the same?
    Thanks and Regards,
    Saurabh

    Hi,
    Pls check the below links
    http://help.sap.com/saphelp_nw04/helpdata/en/58/97c43af280463ee10000000a114084/frameset.htm
    /people/ronen.fox/blog/2007/12/06/sending-sms-notification-via-business-workflow
    http://www.****************/Tutorials/Workflow/Workflow.htm
    You can use the FM: 'SO_DOCUMENT_SEND_API1' &
    'SO_DOCUMENT_SEND_API1_NEW'.
    to send the mail,sms etc.
    But you have to make some chamnges in the reciever table, jus go thru FM documnetaion once, you will fine the option for sending SMS thru either of this FM.
    Below is a sample code for sending e-mail.
    so, u can take help from this.
    data declarations
    DATA : v_sender TYPE soextreci1-receiver,
    v_doc TYPE sodocchgi1,
    it_paklist TYPE STANDARD TABLE OF sopcklsti1 ,
    wa_paklist TYPE sopcklsti1 ,
    it_obj_head TYPE STANDARD TABLE OF solisti1 ,
    it_obj_bin TYPE STANDARD TABLE OF solisti1 ,
    it_obj_txt TYPE STANDARD TABLE OF solisti1 ,
    it_obj_rcv TYPE STANDARD TABLE OF somlreci1 ,
    wa_obj_rcv TYPE somlreci1 ,
    v_desc(100).
    CONSTANTS: c_start(12) TYPE c VALUE '000000000000001',
    c_num(12) TYPE c VALUE '000000000000002',
    c_num1(12) TYPE c VALUE '000000000010030',
    c_raw(3) TYPE c VALUE 'RAW',
    c_test(4) TYPE c VALUE 'TEST',
    c_X(1) TYPE c VALUE 'X'.
    refresh internal tables
    REFRESH : it_paklist, it_obj_rcv.
    clear internal tables
    CLEAR : it_paklist, it_obj_rcv, v_sender.
    v_sender = sy-uname.
    fill internal table it_paklist
    wa_paklist-head_start = c_start.
    wa_paklist-head_num = c_num.
    wa_paklist-body_start = c_start.
    wa_paklist-body_num = c_num1.
    wa_paklist-obj_name = c_test .
    wa_paklist-doc_type = c_raw .
    wa_paklist-transf_bin = c_X .
    APPEND wa_paklist TO it_paklist.
    clear: wa_paklist.
    Data in the Header/subject Line
    v_desc = text-005 .
    v_doc-obj_name = c_objname .
    v_doc-obj_descr = v_desc.
    Mail text
    APPEND v_desc TO it_obj_txt.
    Preparing the receiver list
    wa_obj_rcv-rec_type = 'U'.
    wa_obj_rcv-rec_type = 'C'.
    v_dlist = 'SCE_TEST'.
    wa_obj_rcv-receiver = v_dlist. "Distribution list.
    wa_obj_rcv-receiver = Enter the mail id .
    APPEND wa_obj_rcv TO it_obj_rcv.
    Call the function module to send mail
    IF NOT it_obj_rcv[] IS INITIAL.
    CALL FUNCTION 'SO_DOCUMENT_SEND_API1'
    EXPORTING
    document_data = v_doc
    sender_address = v_sender
    sender_address_type = 'B'
    put_in_outbox = 'X'
    commit_work = 'X'
    TABLES
    packing_list = it_paklist
    object_header = it_obj_head
    contents_bin = it_obj_bin
    contents_txt = it_obj_txt
    receivers = it_obj_rcv
    EXCEPTIONS
    too_many_receivers = 1
    document_not_sent = 2
    document_type_not_exist = 3
    operation_no_authorization = 4
    parameter_error = 5
    x_error = 6
    enqueue_error = 7
    OTHERS = 8.
    IF sy-subrc NE 0.
    MESSAGE text-006 TYPE 'I' .
    ENDIF.
    ENDIF .

  • Problem to send sms

    We have made a test application in j2me which sends sms.
    The mobile server is "nokia 6681".
    Following is the result when we send sms to various other mobile
    Nokia 1100 message come but content says 'message can't be displayed'.
    Nokia 3310 sms reaches properly.
    Nokia 3120 sms never reaches and no other customize message come.
    will any body guide us what possiblily is the problem my id:[email protected]

    Hello ,
    I have the same problem, but on the nokia N70 and N90 ;
    the error message displayed is " ... security problem etc.... " but I have disabled all security setting on the phone and my App is compiled with a sign ; I don't understand why the App is run on some phone but doesn't it on nokia N90 e 9300 Communicator.
    Help me please!?

  • Send SMS to person responsible from a maintenance order

    Hi
    I want to send SMS on the mobile of person responsible for an operation of an order. SMS should contain details for that operation.
    Which exit/Badi is used for this.
    What is the basis for these developments.
    Kindly suggest.
    Thanx
    Ravi

    Ravi,
      Its actually very simple and There are number of ways to accomplish this all from ABAP and it all depends on what is available at the client site.please look up SMS / Email message from SDN  and there are pages of blogs and sample codes.
      From the application side It all depends on when you would be assigning the person responsible for the operation and when do you want to send the message and whether you would like to track the same as well.With the way the operation functionality on the order is setup, it would be easy to capture the trigger when the operation is "released".You could use the change document functionality available on system status change to capture the event. if thats not acceptable, then you would need to use the change document functionality to capture the Assiggnment of the operation and then Base your trigger based on it.
       You could then assign the above event to standard task, which will basically call the  send email function call (Ex: SO_OBJECT_SEND) but instead of the email address enter the entire cell phone number(Basis would have to have configured the SCOT transaction to send email from SAP before this can be done ) . After the message is sent successfully, You would need to also write an update call back to the Order operation to update a user status of the operation indicating that a SMS has been sent.
    Regards
    Narasimhan

  • Sending sms from server

    Well i have to send short message from webserver to any client.But not from client to client.Like any products inforamtions to clients.Because i can't find api in any webserver to send sms to client.While from client I have found api in sl45i to send to any smsc server.But not in webserver.
    I i will make this possible.
    Thanks
    Jawwad Ahmed

    I don't quite understand what you are trying to do but so far, here is what I have understood.
    1. You want to send SMS from Webserver to your mobile phone
    2. Want J2ME Emulator to process SMS.
    <1> Sending SMS from webserver is quite easy. You have several options:(a) connect a mobile phone to your server and 'talk' to the phone using Gnokii or GSMLib to send SMS. The mobile phone will take care of communicating with SMSC of your provider (b) get in touch with your provider and ask if you can connect to their SMSC directly. Some allow you to connect to their SMSC via a modem connection (c) look for public SMSC's, which are scarce.
    <2> Unfortunately, MIDP 1.0 does not allow you to retrieve SMS from the phone... nor does the Siemens SDK, AFAIK. You cannot process SMS using the Emulator as well. You need a real device to test your application.

Maybe you are looking for

  • Error messages after i have logged on

    everytime i log on and try  to add more credit or a pack i get a message saying sorry there is a problem getting your credit details and pack details this has been going on for months

  • Setting environment variables oracle forms 10g(10.1.2.0.2)

    Hi, We are migrating forms from 6i to 10g(10.1.2.0.2). We want to run reports in batch form Forms 10g and setting these environment variable(same as they are set in 6i).Please let me know correct path for these variables in Application Server. FORMS_

  • Adobe Apps Constantly Ask for the Same Updates

    Hello,  This is a frustrating problem that's been driving me nuts for weeks...  I install the updates for all my creative cloud apps. Then, next time I log in, SURPRISE, the same apps need to be updated again with the same updates. It's a crazy annoy

  • My version is 9.0.2.80

    :confused Textfirst I don't even know if I have the lastest version for my system Windows 2000 Professional and second I can't figure out why I keep getting the msg that my Adobe Flash Player is causing my system to run slow and could be making me un

  • Hp 2000 preparing automatic repair loop

    I recently purchased the notebook and do not have a windows 8 disk and cannot do anything from the InsydeH20 setup utility version F.37.  How can i get it to boot up?