Impossible to send SMS through J2ME with a HTC which OS is Windows Mobile

Hello,
I've developed a J2ME application with possibilty to send a SMS.
This works fine on some mobiles like Nokia 6300, but doesn't work on a HTC equipped with Windows Mobile.
Precisely, in the case of my HTC, the variable supportedSms below is allways null.
Can someone tell me how to solve this matter please?
            String supportedSms = System.getProperty("wireless.messaging.sms.smsc"); 
            if(supportedSms == null){
                    //this means the mobile can't send a sms through j2me code
            }else{
                    //this means the mobile can send a sms through j2me code
            }Regards

Sorry, for digging up this topic, but has anybody found a solution to the problem? My sms sending application seems to work on SE's, Nokias, Motorolas etc. but not on Windows Mobile. I am testing it on a HTC s710 with Windows Mobile v. 6.0.
Regards
Martin

Similar Messages

  • Is there any way to send sms through j2me

    hi all,
    is there any way to send sms through j2me or any way to communicate with real device through emulator or from emulator to another emulator
    any sugesstions appriciated
    abdul rafiq jani
    applitech solution limted

    what special API where i can get it any link or information about that APi
    regards
    abdul rafiq jani
    Applitech Solution Limited

  • Delay getting request id sending sms through WLNG with malformed number

    Hi everybody,
    I have a problem when I try to send a sms with a malformed cellphone number.
    In particular I used to send sms trought an ALSB 2.6 integration with WLNG, usually I receive the request id for the sent sms in one sencond but when the uri number is wrong a receive the request id after 30 seconds and i don't understand why.
    Anybody knows how to set up this parameter?
    Regards

    I'll try to set the content-type this evening.
    They also have a HTTP API but I wanna stay with XML first. And I know this part doesn't have anything to do with building or parsing XML, but I am gonna use the parsing part for the responses I get back.
    After I get this right, then I'll look into the HTTP API. But I just wanna finish this first.

  • I want to send sms through j2me

    plz help me.
    send ur replies as soon as possible.
    thank u.

    And is there any way to send sms in MIDP1 which doesn't support WMA (MessageConnection, TextMessage, ...) ?
    It seems it should, because in MIDP 1.0 documentation is note about sending sms using protocol sms://destination:port and that it returns DatagramConnection but there is no example and I really don't know how to create new Datagram to send TEXT message. It can only be created from array of bytes so it seems it can only send binary messages (?!).
    Plz help me...

  • How to send sms through java program?

    hi,
    i am trying to send sms through java program.i am usining ubuntu 6.04.i am using modem MC35i.i use the jSMSEnjine.jar and rxtxcomm.jar.
    these are the following program.
    import org.jsmsengine.*;
    import java.util.*;
    class SendMessage
         public static void main(String[] args)
              int status;
              // Create jSMSEngine service.
         CService srv = new CService("Com2",9600);
              //CService srv = new CService("COM2",9600);
              System.out.println();
              System.out.println("SendMessage(): sample application.");
              System.out.println(" Using " + srv._name + " " + srv._version);
              System.out.println();
              try
                   //     Initialize service.     
                   srv.initialize();
                   Thread thread =Thread.currentThread();
                   thread.sleep(1000);
                   System.out.println(srv);
                   //     Set the cache directory.
                   srv.setCacheDir(".\\");
                   //     Set the phonebook.
                   //     srv.setPhoneBook("../misc/phonebook.xml");
                   //     Connect to GSM device.
                   status = srv.connect();
                   //     Did we connect ok?
                   int st=CService.ERR_OK;
                   System.out.println(st);
                   System.out.println(status);
                   if (status == CService.ERR_OK)
                        //     Set the operation mode to PDU - default is ASCII.
                        srv.setOperationMode(CService.MODE_PDU);
                        // Set the SMSC number (set to default).
                        srv.setSmscNumber("");
                        //     Print out GSM device info...
                        System.out.println("Mobile Device Information: ");
                        System.out.println("     Manufacturer : " + srv.getDeviceInfo().getManufacturer());
                        System.out.println("     Model : " + srv.getDeviceInfo().getModel());
                        System.out.println("     Serial No : " + srv.getDeviceInfo().getSerialNo());
                        System.out.println("     IMSI : " + srv.getDeviceInfo().getImsi());
                        System.out.println("     S/W Version : " + srv.getDeviceInfo().getSwVersion());
                        System.out.println("     Battery Level : " + srv.getDeviceInfo().getBatteryLevel() + "%");
                        System.out.println("     Signal Level : " + srv.getDeviceInfo().getSignalLevel() + "%");
                        //     Create a COutgoingMessage object and dispatch it.
                        //     *** Please update the phone number with one of your choice ***
    // String smsLengthTest="Hi"+"\nTesting is going on.Test for sending unlimited number of charecter.So you will get N number of SMS.Initially I trancate the whole string by 70 charecter.Later I will put it upto 90 charecter.Some chararecter should kept for header portion.I don't know the total number.It is just test.If you got the sms u should appreciate me...This is Ripon...I have written sms program";
    String smsLengthTest="Hi\n"+"This is Govindo";
    int mao=smsLengthTest.length();
    System.out.println("Length of sms :"+mao);
    String smsNo="9433314095";
    smsNo="+91"+smsNo;
    if(mao<70)
    COutgoingMessage msg = new COutgoingMessage(smsNo,smsLengthTest);
    //     Character set is 7bit by default - lets make it UNICODE :)
    //     We can do this, because we are in PDU mode (look at line 63). When in ASCII mode,
    //          this does not make ANY difference...
    msg.setMessageEncoding(CMessage.MESSAGE_ENCODING_UNICODE);
    if (srv.sendMessage(msg) == CService.ERR_OK) System.out.println("Message Sent!");
    else System.out.println("Message Failed!");
    else
    // COutgoingMessage msg = new COutgoingMessage(smsNo,smsLengthTest);
    // LinkedList messageList;
    // messageList = new LinkedList();
    // messageList.add(msg);
    // LinkedList maooo=new LinkedList();
    // maooo=srv.splitLargeMessages(messageList);
    int sizelength=0;
    int counter=0;
    sizelength=smsLengthTest.length();
    System.out.println("SMS length :"+sizelength);
    int smsCntr=sizelength/70;
    System.out.println("smsCntr :"+smsCntr);
    counter=smsCntr+1;
    int j=70;
    int k=0;
    try
    for(int i=0;i<smsCntr;i++)
    String test="";
    test=test+i;
    test=smsLengthTest.substring(k,j);
    System.out.println(test);
    System.out.println(test.length());
    COutgoingMessage msg = new COutgoingMessage(smsNo, test);
    System.out.println("hi this is suman" + smsNo);
    //     Character set is 7bit by default - lets make it UNICODE :)
    //     We can do this, because we are in PDU mode (look at line 63). When in ASCII mode,
    //          this does not make ANY difference...
    msg.setMessageEncoding(CMessage.MESSAGE_ENCODING_UNICODE);
    if (srv.sendMessage(msg) == CService.ERR_OK) System.out.println("Message Sent!");
    else System.out.println("Message Failed!");
    k=k+70;
    j=j+70;
    catch(Exception e)
    System.out.println("Error...1");
    e.printStackTrace();
    e.getMessage();
    String lastPortion=smsLengthTest.substring(k);
    System.out.println(lastPortion);
    COutgoingMessage msg = new COutgoingMessage(smsNo, lastPortion);
    //     Character set is 7bit by default - lets make it UNICODE :)
    //     We can do this, because we are in PDU mode (look at line 63). When in ASCII mode,
    //          this does not make ANY difference...
    msg.setMessageEncoding(CMessage.MESSAGE_ENCODING_UNICODE);
    if (srv.sendMessage(msg) == CService.ERR_OK) System.out.println("Message Sent!");
    else System.out.println("Message Failed!");
                        // Disconnect from GSM device.
                        srv.disconnect();
                   else System.out.println("Connection to mobile failed, error: " + status);
              catch (Exception e)
                   e.printStackTrace();
              System.exit(0);
    the error is:
    SendMessage(): sample application.
    Using jSMSEngine API 1.2.6 (B1)
    org.jsmsengine.CService@addbf1
    0
    -101
    Connection to mobile failed, error: -101
    please help me,its very urgent.

    come back in about 5 years, we may have time for you by then.
    In the meantime, how about contacting the people who wrote that library and asking them nicely for help (rather than trying to order people to drop whatever they're doing and jump through hoops to accommodate your every wish as you're doing here)?

  • New line problem in sending sms through SAP

    Hi all,
    I need to send sms through sap. I have a code working fine.
    constants: c_tab type c value cl_abap_char_utilities=>NEWLINE.
    concatenate 'Sales INFO-' date3  into line1 separated by space.
      move 'Order Input' to line2.
      concatenate 'Day: Rs.' day_oamt   into line3 separated by space.
      concatenate 'MTH: Rs.' month_oamt into line4 separated by space.
      concatenate 'YTD: Rs.' yord       into line5 separated by space.
      move 'Billing' to line6.
      concatenate 'Day: Rs.' day_bamt   into line7 separated by space.
      concatenate 'MTH: Rs.' month_bamt into line8 separated by space.
      concatenate 'YTD: Rs.' ybill      into line9 separated by space.
    concatenate line1 line2 line3 line4 line5 line6 line7 line8 line9 into text separated by C_TAB
    concatenate '+91' m_no+len(10) into m_no.
    'http://************************************='
      M_NO
      '&msg='
       text
        '&************************************************=text'
       inTO WF_STRING.
    CALL METHOD cl_http_client=>create_by_url
        EXPORTING
          url                = wf_string
        IMPORTING
          client             = http_client
        EXCEPTIONS
          argument_not_found = 1
          plugin_not_active  = 2
          internal_error     = 3
          OTHERS             = 4.
      CALL METHOD http_client->send
        EXCEPTIONS
          http_communication_failure = 1
          http_invalid_state         = 2.
      CALL METHOD http_client->receive
        EXCEPTIONS
          http_communication_failure = 1
          http_invalid_state         = 2
          http_processing_failed     = 3.
      CLEAR result .
      result = http_client->response->get_cdata( ).
    I am able to send the message but it gets displayed in one line.
    SALES INFO- <dd.mm.yyyy> Order Input DAY: Rs.123 MTH: Rs.123 YTD: Rs.123 Billing DAY: Rs.123 MTH: Rs.123 YTD: Rs.123
    What I need to do is this.
    SALES INFO- <dd.mm.yyyy>
    Order Input
    DAY: Rs.123
    MTH: Rs.123
    YTD: Rs.123
    Billing
    DAY: Rs.123
    MTH: Rs.123
    YTD: Rs.123

    Have you tried with line feed?
    i.e.
    instead of:
    constants: c_tab type c value cl_abap_char_utilities=>NEWLINE.
    try:
    constants: c_tab type c value cl_abap_char_utilities=>CR_LF.

  • Is it possible to send SMS through java

    Hi all
    I m a student and as a part of my project I need to create an SMS server(SMS gateway). Can we send SMS through Java and if yes then send me the code for the same . Also on which GSM Modem will it Work , I've heard about Nokia GSM Modem N32. Kindly Guide me regarding the Same.
    Regards
    MoComp

    Hi all
    I m a student and as a part of my project I need to
    create an SMS server(SMS gateway). Can we send SMSSo YOU need to write it.
    through Java and if yes then send me the code for theIt's possible, as there are several commercial offerings out there.
    But as YOU need to write it it won't do for you to try and trick someone else into writing it so you can submit it as your own.
    same . Also on which GSM Modem will it Work , I've
    heard about Nokia GSM Modem N32. Kindly Guide me
    regarding the Same.All depends on how you implement it.
    A real server would have its own hardware and software to pipe directly into the network of a telco, and a contract with that telco to use their network to send messages.

  • Windows Phone - To be able to send sms through Nok...

    I would love to use a Lumia and to be able to send sms through Nokia Suite by connecting bthrough usb cable and also by bluetooth.
    I connect my Nokia Belle phones almost every day by bluetooth and send sms.
    The freedom to do that is long implemented i my daily life and the reason is plain simple;
    while surfing on the pc, checking business stuff, writing messages or whatever and not have to pick up the phone is such easy task, not to mention how easy it is too use the keyboard of the pc and the speed and accuracy of writing...people who like me have done this for years,
    surely will miss this feature or whatever you want to call it.
    Implement it, just do it. Please...
    Nokia 808 again (delight Belle), Nokia E7 and X7 ( again, all on Delight Belle...after some time on Nokia Lumia 925 (retired), 1020 (not that great)and Lumia 820 (Replaced my router at home, great for internet sharing).., N9 The best device ever (use it as much as Lumia 1020), Nokia 700 (Sport Phone/My Love :-) ) Nokia 701, Nokia E6 (Should have a follow-up from Nokia among with larger screen, NFC, Autofocus), Lumia 800 (Retired After 6 weeks), -Sports Tracker-Nokia Internet Radio-Handy Safe-Skype-Bambuser-Screenshot app pro-fMobi-ComingNext-Manual TaskSwitcher-jagiTimer-Easy StopWatch-Boldbeast-Equalizer-Financial Calculator-WiMP Music-YTasks-Davi-Thumbnail Folders-BizCalendar-Tiny7-Situations-nn reeder-Sport Timer-CameraLover-CameraPro-GrabRadio-LiveScore-Poddi-Gravity-SkyFilesPro

    Well, how shall I put it....
    I want to send sms when connected to nokia suite (bluetooth) just as I do now with Nokia Belle 700 or 701 using the keyboard of my laptop or pc.
    Read my contribution again....so underated "feature", once you get hooked, you are hooked....just to see the sms on the pc screen without take take up your phone and then quickly answer the sms and at the same time just to watch your pc screen and other activities on your pc screen/laptop...
    Nokia 808 again (delight Belle), Nokia E7 and X7 ( again, all on Delight Belle...after some time on Nokia Lumia 925 (retired), 1020 (not that great)and Lumia 820 (Replaced my router at home, great for internet sharing).., N9 The best device ever (use it as much as Lumia 1020), Nokia 700 (Sport Phone/My Love :-) ) Nokia 701, Nokia E6 (Should have a follow-up from Nokia among with larger screen, NFC, Autofocus), Lumia 800 (Retired After 6 weeks), -Sports Tracker-Nokia Internet Radio-Handy Safe-Skype-Bambuser-Screenshot app pro-fMobi-ComingNext-Manual TaskSwitcher-jagiTimer-Easy StopWatch-Boldbeast-Equalizer-Financial Calculator-WiMP Music-YTasks-Davi-Thumbnail Folders-BizCalendar-Tiny7-Situations-nn reeder-Sport Timer-CameraLover-CameraPro-GrabRadio-LiveScore-Poddi-Gravity-SkyFilesPro

  • Which Mobile Networks Operator could be used to send SMS through SKYPE in China?

    Which Mobile Networks Operator could be used to send SMS through SKYPE in China?

    I actually found a workable solution, based off of your suggestion.
    Sprint has partnered with Google to integrate native Google Voice onto the iPhone, using your existing Sprint phone number, for free. The only downside is, you loose visual voicemail. But, you can set Google Voice to transcribe my voicemails and send them via email, which I hear can be quite funny when it gets it wrong.
    But, not being a fan of Google's "all or nothing" approach, where they take over all your sms, voicemail, and calls, I opted to set up a free account and use Google Hangouts app to make outgoing calls. Using it this way, with out applying for a Google Voice number, or switching  my Sprint number over to Google, the caller ID just says "No Caller ID", which is ideal, since having an additional phone number pop up, might lead to confusion as to which one to use to contact me.
    So, thanks for pointing me  in  the right direction.  It's not perfect, as I imagine many friends will kick me over to voicemail when the see "no caller ID" pop up on  their phones, but it'll get the job done.
    Problem solved.

  • How to send invoice through email with output type RD00?

    What are the configuration settings to send invoices through email with output type RD00?

    Hi,
    Please go through the following links:
    [E-mail|Email Configuration Settings]
    [e-mail|Re: EMAIL BILLING DOCUMENT TO CUSTOMER THROUGH SEND MAIL OPTION IN VF02]
    After triggering the output,goto T.Code SOST and process it.
    So that e-mail will be triggered immediately.
    You can use External send/EDI/simple mail for this.
    Regards,
    Krishna.

  • What are the steps for sending SMS through IMS5.1

    I have IMS 5.1 solaris version and I want to send SMS through this Messaging server, Is there any need for the gateway/any other server/requirements for accomplishing this?

    iPlanet Messaging Server 5.2 supports one-way email to an SMS gateway.For SMS channel configuration please refer to
    http://docs.iplanet.com/docs/manuals/messaging/technotes/5.2sms.html

  • Send SMS through GSM modem

    Hello,
    We have a requirement of sending SMS after PGI . Could anybody please help me on how to use GSM Modem to send SMS through SAP?

    Hey, I can give you another tip. I am using a very reliable integration program. Its name is Ozeki NG SMS Gateway. I hope they dont cut my tip out, because this software is very useful and stable. You are also able to add this message sending function to different clients for example HP Openview or Sharepoint etc.
    Sorry again, I did not intend to advertise or something like that.
    http://www.sms-integration.com/
    Have a nice day
    Jozef

  • TS3276 When I try sending emails through Mail with my iCloud account, it says "Unable to Sign Message"

    I cannot send messgaes through Mail with my iCloud account. Whenever I try sending them, it tells me "Unable to sign message".
    Does anybody know how to fix it?

    Check if you have set the correct language and country in your Apple TV. Maybe you are trying to connect to the wrong iTunes store.

  • Send SMS from J2ME application to a mobile number...

    Hi guys,
    Need your help on sending SMS from J2ME application saved from mobile to send to another mobile number...
    I have tried the WMA demo from suns WTK it send message but the other number cannot received the message.
    Please help or give any idea or sample code that can guide
    me...
    Thanks in Advance...
    Regards,
    Psyeu

    WMADemo works fine.
    Try to do this:
    1. Open WMADemo
    2. Run WMA Console (File->Utilites->WMA Console)
    3. On the top of the window of WMA Console you will see the number of "Console's phone". If you don't have any started emulators, the number will be +5550000.
    4. Run WMADemo
    5. Select SMS Send in emulator menu.
    6. In destination address write +5550000
    7. Enter message
    8. Push "Send" command. Emulator asks you to send SMS. Push "OK" twise.
    9. Then you will see your message in WMA Console

  • I can send sms through java but now i need help for.......???

    hi i am working on a project where i have to read and send sms automaticaly.i succesfully build it also with the jsmsengine and nokia 3220 mobile phone and now i have to fix up some bugs.any interested candidate can contact with me so that we can fix those bug and i also want to know how can i send EMS through mobile.
    is ther any java api that can better that the jsmsengine api??
    thanx

    How did you move you rlibrary to the external drive?
    Did you follow these steps -> iTunes: Moving your iTunes Music folder
    or did you simply drag it over?
    Don't just drag it over.
    This morning, I attempted to download itunes to the new external drive so I could play and easily import my music from there, and itunes won't download to the external hard drive! The error message I'm getting says itunes will only download to the startup disk/
    Do you mean you are trying to download the iTunes program so you can install it?

Maybe you are looking for

  • Problem with uppercase character in batch number

    Hi all, I have the following case: Currently we have a batch number v10047 (character "v" in lowercase), we can see this batch in MMBE, MB52. We want to transfer posting this batch, but when entering its number, SAP auto change the "v" from lowercase

  • UI delegate for a custom component

    Hello folks, I am trying to write (as said in the subject) a UI delegate for a custom component. I found the following in a Java FAQ (http://www.mindspring.com/~scdrye/java/faq.html#plaf_delegate): 8.3. How do I create a UI delegate for my custom com

  • How to set selecting a page to whole page instead of sections?

    Hello all and thanks in advance for the help. I have users that are on acrobt 9 and we have to print to image our documents so they can not be modified and we submit them.  I have 5 users that use this feature and the new users that print to pdf (wit

  • OBIEE/Apps installation

    Hi, I worked on standalone OBIEE but currently working on OBIEE integrated with Oracle Apps. We do have a vanilla rpd that comes with OBIEE. My question is does this vanilla rpd cover all modules and does it have subject areas covered for all modules

  • FM for ENQUEUE and DEQUEUE of Views.

    Hi, I need the Fucntiona module to Enqueue a View and later to Dequeue a View. Regards, Deepthi.