Problem sending SMS to a GROUP

Hi all

I recently created a group to send bulk sms to people.

When I select a group and send the message, it sends it to each of them.

When a group is selected, it displays a number beside him...

As... I have a selected group family, whenever I select that group sms, it shows me "family (4/7)" in the receipants view, and when I send the message it send only 4 of the 7 of them and not all the...

I tried to remove and add the group... but it did not help.

Please, if anyone can help me with this.

Thanks in advance.


Tags: Motorola Phones

Similar Questions

  • Problems sending SMS using SMSTransport

    I am trying to send an SMS using SMSTransport, but I get the following result when my application tries to send a message:

    TMTP::setupFdListener
    TMTP::handleConnected - Connected to ChatService
    New Session Request
    Open Success:
    Session Details "https://discoveryservice.blackberry.com/discoveryPoxmlServlet/" "1.0" "127.0.0.1" 8888
    creation of local SMS-MMS account succeeded
    Created instance of PIMCoreStatusManager
    PIMCoreStatusManager Constructor
    Calling AccountServicePrivate::defaultAccount for service type= "messages"
    Setting Curl Global Init 0
    GET 0x1
    URL Buffer: http://127.0.0.1:8888/accounts/default/messages 
    
    Curl Easy perform
    Curl Easy GetInfo response code
    Curl easy getInfo content_length_download
    Curl Error Code 0
    Response Code 200
    Get Contacts: (QVariant(int, 4) ) 
    
    PIMCoreAccessPool::getPca 0 Thread Id 0x1
    PIMCoreAccessPool::getPca a new PimAccess 0
    getContactDtails called 4
    GET 0x1
    URL Buffer: http://127.0.0.1:8888/contact/4/4 
    
    Curl Easy perform
    Curl Easy GetInfo response code
    Curl easy getInfo content_length_download
    Curl Error Code 0
    Response Code 200
    TMTP::send origPort 0 destPort 0
    TMTP::send attachments 0
    TMTP::send invalid attachment
    

    Here is the code I use to send the message:

    void AlertUtilities::sendSMSMessage(QString subject, QString body)
    {
        SmsTransport smsTransport;
        AccountService accountService;
        ContactService contactService;
        Account account = accountService.defaultAccount(Service::Messages);
        MessageBuilder* messageBuilder = MessageBuilder::create(account.id());
    
        QList contactIds = settings->getSelectedContacts();
    
        for (int i = 0; i < contactIds.length(); i++)
        {
            Contact contact = contactService.contactDetails(
                    contactIds.at(i).toInt());
    
            if (contact.phoneNumbers().length() > 0)
            {
                MessageContact messageContact = MessageContact(i + 1,
                        MessageContact::To, contact.displayName(),
                        contact.phoneNumbers().at(0).value());
                messageBuilder->addRecipient(messageContact);
            }
        }
    
        Message newMessage = messageBuilder->body(MessageBody::PlainText,
                QByteArray("This is a test"));
    
            smsTransport.send(0, newMessage);
    }
    

    Can someone help me understand what I'm doing wrong here?  There seems to be no documentation or examples on how to do it properly.

    Looks like I've got a code snippet rather autonomous and complete handy for this one as well.  (I think you can find others scattered around these forums as well.)  Here it is:

    void sendSms(const QString &messageText, const QStringList &phoneNumbers) {
        bb::pim::account::AccountService accountService;
        QList accountList =
            accountService.accounts(bb::pim::account::Service::Messages, "sms-mms");
    
        bb::pim::account::AccountKey smsAccountId = 0;
        if(!accountList.isEmpty()) {
            smsAccountId = accountList.first().id();
            qDebug() << "SMS-MMS account ID:" << smsAccountId;
        }
        else {
            qWarning() << "Could not find SMS account";
            return;
        }
    
        bb::pim::message::MessageService messageService;
    
        QList participants;
        foreach(const QString &phoneNumber, phoneNumbers) {
            bb::pim::message::MessageContact recipient = bb::pim::message::MessageContact(
                -1, bb::pim::message::MessageContact::To,
                phoneNumber, phoneNumber);
            participants.append(recipient);
        }
    
        bb::pim::message::ConversationBuilder *conversationBuilder =
            bb::pim::message::ConversationBuilder::create();
        conversationBuilder->accountId(smsAccountId);
        conversationBuilder->participants(participants);
    
        bb::pim::message::Conversation conversation = *conversationBuilder;
        bb::pim::message::ConversationKey conversationId = messageService.save(smsAccountId, conversation);
    
        bb::pim::message::MessageBuilder *builder =
            bb::pim::message::MessageBuilder::create(smsAccountId);
        builder->conversationId(conversationId);
    
        builder->addAttachment(bb::pim::message::Attachment("text/plain", "", messageText.toUtf8()));
    
        foreach(const bb::pim::message::MessageContact recipient, participants) {
            builder->addRecipient(recipient);
        }
    
        bb::pim::message::Message message = *builder;
    
        messageService.send(smsAccountId, message);
    
        delete builder;
        delete conversationBuilder;
    
  • BlackBerry Z10 problem receiving and sending SMS

    I'll have a problem, send and receive SMS messages. My carrier is Verizon. Maybe 1 out of 20 messages will make. When people called me and told me that they never got my messages, I tried to send me a few messages to check and none of them have been through. Does anyone know what would cause this and how to fix it? Thank you, Chris.

    Found the problem. For anyone who feels the same:

    Reach:

    -Area phone call

    -settings

    -Smart dial

    -country code: + 1

    -Guide: your area code

    -Link Nation No.: 10

    -L' use 1 for nothing (off)

    -Click on the reset bottom button

  • Problem with sending SMS programmatically to multiple recipients:

    Hello world

    I try to send information by SMS to multiple recipients at the same time programmatically. When I am trying to send SMS messages to a recipient, it works fine. I am able to send the data to a recipient successfully without any problems. But when I try to send to multiple recipients (more than one) in the code below loop 'for', it does not send to all recipients. That is to say, sometimes he sent the data to the only recipient if there are two numbers of beneficiaries (or) sometimes is not even send SMS to anyone (or the) sometimes sent to all recipients. Like that it is not consistent way when trying to send to multiple recipients at the same time.

    I even tried to use 'invokeAndWait' before calling the SMSThread code, but still the same problems.

    Could someone guide how I can resolve to send content to multiple users at the same time?

    public void SendMultipleSMS()
        {
            // multiple recipients stored here
            _data = (Vector) store.getContents();
            long totalSize = _data.size(); // totalSize - recipients count
            boolean yesLastSMS = false;
    
            // totalSize - recipients count
            if ( totalSize>0 )
            {
                _payload = null;
                _payload = contactsDetToSend(); // Content to send
    
                for ( int i=0; i			 

    I fixed it by moving beneficiaries 'for' code for the loop inside the SMSThread itself and sending to multile numbers at a time.

  • Contact retrieve and send sms problem

    Note: i have change some funtion

    Hi all

    I started a thread of smsListening incoming when private number send sms I called the contact of recovery funtion.i am not able to send sms.

      private  class ListeningThread extends Thread   {       public void run()      {
    
              try {
    
                   iContact=new ContactUtility();                (iContact).Retieveallcontact(address);            } catch (PIMException e) {                // TODO Auto-generated catch block                e.printStackTrace();          }
    
            }
    

    It is in a way I am recovery contact and send sms method...

    void Retieveallcontact(String address) throws PIMException    {    Enumeration e=contactList.items();       _sender = new SendThread();       _sender.openmessage(address);         _sender.start();              while(e.hasMoreElements())        {             _sender.send(innerStream.toString());                       }                 _sender.stop();    
    
        }     private class SendThread extends Thread    {        private volatile boolean _start = false;        String msg;        private volatile boolean _stop=false;        String Address;        String address = "sms://";                               MessageConnection smsconn = null;        // Requests are queued.        private synchronized void openmessage(String ddress)        {         Address=ddress;
    
                try {             smsconn = (MessageConnection)Connector.open(address);         } catch (IOException e) {             // TODO Auto-generated catch block                e.printStackTrace();          }           _stop = false;        }
    
            // Requests are queued.        private synchronized void send(String message)        {            _start = true;            msg=message;            _stop = false;        }        // Shutdown the thread.        private synchronized void stop()        {             if (smsconn != null) {                 try {                     smsconn.close();                  } catch (IOException ioe) {                       System.out.println("Closing connection caught: ");                    ioe.printStackTrace();                }             }
    
                 _stop = true;        }        public void run()        {
    
                for(;;)            {             if(_stop)             {                 return;               }                if ( _start )                {
    
                          TextMessage txtmessage =                              (TextMessage)smsconn.newMessage(MessageConnection.TEXT_MESSAGE , "//" + Address);
    
                              txtmessage.setPayloadText(msg);                           try {                             smsconn.send(txtmessage);                         } catch (InterruptedIOException e) {                              // TODO Auto-generated catch block                                e.printStackTrace();                          } catch (IOException e) {                             // TODO Auto-generated catch block                                e.printStackTrace();                          }
    
                        _start=false;                }     
    
                }        }    }
    

    Thank you

    Hi bbdeveloper,.

    I had solved the problem with the help of invokelater.thx for your answer anyway.

    THX,

    Ketan

  • Cannot send SMS to users no iMessage!

    This is probably my fourth post on this same issue that nobody is to give me an answer, or telling me to try something that I said did not work.

    I have an iPhone 6s with MetroPCS, for someone who is not using iMessage, the 'Add photos' icon is grayed out and it won't let me even to send an attachment. Before the last update, I was able to select the "Add attachments" button, but it is still impossible to send to the other person. I can't receive messages from group to anyone, unless they are all using iMessage, also to receive photos of users who are also no iMessage. iMessage is turned on, and I tried it works and stop. SMS is selected. I tried to take the sim card out, turning the phone, return, and reinsert the sim card and which worked for only 5 minutes, before aging again on the attachment button Add. WiFi and cellular data are both on, the two won't let me send an attachment. I reset the network settings, I did a hard reset on my phone. I did a reset based on my phone, I know that's not a problem of the carrier because it allows to work, until after I did an update in November 2015. Since then, she has been less effective. Please someone help me.

    Hi keakuki,

    I understand that you have difficulties to send SMS and MMS messages or receive group messages since you last updated your iPhone.   Your profile says you are using iOS 9.3.  You have updated to the latest version, which is iOS 9.3.1?  Once you have done this, the next step would be to see if MetroPCS has updated their software. given that the SMS and MMS messages must go through their system.

    If you can't send or receive messages on your iPhone, iPad or iPod touch

    Restart your device and check for updates

    1. Restart your device.
    2. Looking for a carrier settings update.
    3. Looking for an updated software iOS.
    1. Make sure that you are connected to the Internet through cellular data or Wi-Fi.
    2. Go to settings > Messages. Check that the type of message you are trying to send is lit (iMessage, SMS, MMS or e-mail group):

    If your messages are not sent or you do not receive the messages

    Check your details:

    1. Make sure you use the right phone number or email address of the contact.
    2. Go to settings > Messages > blocked and make sure that the contact is not on your list of blocking.

    If messages will not send to a certain person or you need assistance with group messages

    Sometimes it will not send your messages to a particular contact, or you might have problems with Group Messaging. For example, you could meet a group conversation and receive your own message. Or you could get a new phone number and see your old listed as a recipient in an existing group conversation.

    Delete the conversation * who has the problem and start a new conversation:

    1. Open your Messages and view your list of conversations.
    2. Straight shot left on the conversation you want to delete. Then, remove faucet.
    3. Open your Messages, type and enter the phone number or email address of your contact or contacts.
    4. Write a new message and press send.

    * When you delete a conversation, you will not be able to recover. If you want to save parts of conversations or their attachments, you can take screenshots. You can also tap a bubble attachment or message, and then tap more > save.

    Take care

  • My Iphone / imessage / facetime continues to send sms without authorization

    Hello

    I use the Apple as the Iphone products for centuries. Eversince I have spend provider to another (which has no contract with apple), my custody Iphone sms sending abroad without knowing me, until I receive my Bill.

    All messages are a number in the United Kingdom. I tried to find out which application is causing the problem. To read other users ' questions, I guess that's iMessage.

    I use my phone for sms not talkative iMessage. All the app are disabled, iMessage and FaceTime. How do these apps still send sms? I never authorized iMessage or any application to send sms. Apple why phone texting without knowing me?

    How can I block apps to send sms? If anyone knows how, please let me know. It is ridiculous that I have to pay for something I don't use. If apple likes to make apps that sends messages, apple should foot the Bill for the users.

    If this issue cannot be resolved, then I need to consider using android.

    See you soon,.

    A very frustrated iphone user

    frustrateduser_1_2_many wrote:

    Hello

    I use the Apple as the Iphone products for centuries. Eversince I have spend provider to another (which has no contract with apple), my custody Iphone sms sending abroad without knowing me, until I receive my Bill.

    All messages are a number in the United Kingdom. I tried to find out which application is causing the problem. To read other users ' questions, I guess that's iMessage.

    I use my phone for sms not talkative iMessage. All the app are disabled, iMessage and FaceTime. How do these apps still send sms? I never authorized iMessage or any application to send sms. Apple why phone texting without knowing me?

    How can I block apps to send sms? If anyone knows how, please let me know. It is ridiculous that I have to pay for something I don't use. If apple likes to make apps that sends messages, apple should foot the Bill for the users.

    If this issue cannot be resolved, then I need to consider using android.

    See you soon,.

    A very frustrated iphone user

    First, there is no Apple in this technical forum from user to user.

    Second we user do not care if you go to an Android phone, you are more than welcome.

    If you get an error when you try to activate FaceTime - Apple Support or iMessage

    You use a carrier not supported iphone as you said in your post, this is why he sends sms to the number to the United Kingdom.

    Take your problem with your phone operator.

  • Sending SMS from the Defy: two questions

    I've been with the Defy for a few weeks and I love the phone, but with all the power of Android, I lack some features, that I used to have in my old classic 'Hynek '. Perhaps they are there and I just have not found, but believe me, I really look...

    Two of them are currently particularly annoying when sending SMS. Here in Brazil, the long distance dialing format includes a code of long distance provider of your choice (specifically, you must dial 0 + code of the carrier + area code + phone number). So, I added all the entries on my directory, including the carrier code which usually has the lowest rates. But this format does not work to send text messages. to do this, use + 55 (the Brazil country code) + area code + phone number. There are a couple of other formats that the carrier has properly analysis and sends the message (for example, to send messages to phones in the same area code, just without any codes work phone number), but the format used for long distance calls cannot be used.

    My old phone had a feature that allows you to modify the number before sending the message, and I used that. With the Defy, I'll have to look up the number in the phone book and type it in the appropriate format, rather than choose the contact directly here as a destination. Is there a way to change the number before sending on the Defy? I tried, but it only allows me to delete this contact or include another. I also thought to including an additional entry phone just for SMS for each contact in the phone book, but it would be too complicated.

    The second feature is the ability to set the phone to send a request for confirmation of delivery as well as the message. As soon as the message was delivered to the recipient's phone, I got a message of confirmation by the carrier. While most of the messages are provided instantly, some, especially to another carrier, or if the recipient's phone is turned off or out of coverage in time, may take longer and sometimes it is important to know if the other person actually received it. My Defy not to do and I couldn't find any configuration option to allow this. I'm on the same carrier as before, so the feature support is not a problem.

    So, anyone know of a way to change the phone number before sending an SMS and request a delivery confirmation message?

    Thank you very much.

    Thank you, j0h4n. In the end, I solved both problems by simply using a different application. What I've explored, there doesn't seem to be a way to change the phone number of the addressee on the fly with the standard application, and everything by asking a delivery report is possible, he is not required by default, may not be configured to be requested by default and must be done individually for each message sent.

    But I explored the Android Market, try Handcent SMS and SMS GO and found both to be excellent. Both allow changing the number on the fly and NDRs that would be asked by default (in addition to many other interesting features). Since they have interfered with each other, I had to choose an and kept GOING SMS, I found a bit niftier to use and implemented the number editing best feature (Handcent editor a bit confused with this and I had to be careful when editing).

    Obviously, English isn't a problem for me, if not Handcent would have the head, because it is available, located in Portuguese (and many other languages), while SMS GO is only available in English and Chinese. But as it is, I liked it. I would still recommend Handcent and users should try both to see which they like best.

  • I can't send messages, whatsapp for group discussions and I think that is the update of ios software that is not compatible with my iphone 5 s

    I can't send messages, whatsapp for group discussions and I feel really lost. my friends can't receive my message and I am only able to send individual text messages. I think that its because of the version update of ios which is not compatible with my iphone 5 s. is a solution to this problem?

    I have the same problem, started this morning.

    I'm in iOS 9.1, using the iPhone 6. Don't know what happened, but I have also opened a disturbance with Whatsapp support as well.

    A focus group work, group chat messages cannot be delivered. Individual messages are working properly. I tried to remove and reinstall the application, remove the discussion group and recreate, all has not helped.

    A lack of ideas.

  • Sending messages to a group with Windows Mail

    I have 64 bit Windows Vista with the Service Pk 2 on my Dell computer. I used Windows Mail successfully several months I got the computer, including the sending of a large group of a newletter mail each week.  Last week, I did some cleaning and some names removed from my Contacts folder. This week, when I tried to send my newsletter, he seemed to go and appeared in my 'sent' folder, but no one has received.  I tried to send a total of 4 times now, and it has not disappeared yet.

    I have some suggestions, but that's all. I'll assume that the altered list of contacts is a coincidence that you have no error message.

    When a message in sent items, it was received by your ISP intact and the problem is somewhere from this point on. There are a few exceptions.

    1: Analysis of e-mail messages can fool Windows Mail by thinking that the message has been sent.

    Disable analysis in your e-mail anti-virus program. It is a redundant layer of protection that devours the CPUs, slows down sending and receiving and causes a multitude of problems such as time-outs, account setting changes and has even been responsible for the loss of messages. Your up-to-date A / V program will continue to protect you sufficiently. For more information, see:
    http://www.oehelp.com/OETips.aspx#3

    Why you don't need your anti-virus to scan your email
    http://thundercloud.NET/infoave/tutorials/email-scanning/index.htm

    Note that for some AV programs, it may be necessary to uninstall the program and reinstall in custom Mode and uncheck analysis when the option is the result of e-mail messages. Your best bet is to do it without worrying.

    2: How many people send you to the? It is possible that your ISP has reduced the authorized number. Check the mind, especially if you can send to a group of say 5 people without any problem.

    3: You can have a message stuck in the Outbox or sent items, even if you don't see it.

    How to remove an Undeletable Message stuck in Windows Mail
    http://www.Vistax64.com/tutorials/62560-Windows-Mail-problems.html

    WMUtil
    http://www.oehelp.com/WMUtil/default.aspx

    Bruce Hagen ~ MS - MVP [Mail]

  • Send SMS to the Simulator

    Hey,.

    I have an application that uses 10.3 specfic API and I need to send SMS messages to the device Simulator to test some features, but as far as I can see the Simulator controller is not supported for this... Is there something I can do? I only have one device that I use my driver all day and I don't want to use the sdk gold on it

    Thank you

    Daniel

    The problem is that the sms app is not installed in the Simulator, if you need a device to do everything related to sms.

  • BlackBerry Q10 Q10 SQN - 3 problem with sms!

    Hello bb,.

    Dear bb, I need your help... I have problem with Deliver text messages

    When I will write an SMS so no problem post but does not...

    -with my service provider is not a problem (Slovak telekom)

    -with the other service provider where to send a text message is not a problem (O2, Slovakia)

    -J' have test give my SIM card to another phone with android and there isn´t system no problem (Sony Xperia mini pro)

    Problems is the only software in my Q10 I know that 100%. When I use original the last 10.3.1.1779 link bb os so I have this problem with sms, but when I give for example the version 10.2.1.3175 of the software from this page: http://supportforums.blackberry.com/t5/BlackBerry-10-OS-Device-Software/Upgrading-OS10-devices-using... so my problem is solved. In my mobile is all good, the sim card is unlocked and registered by the blacberry services...

    Can you help me pls bb, I want to use os 10.3 because is very fast and pleasant

    Thank you

    First of all, there is no "official" AutoLoaders Automatic chargers are 100% unofficial methodology... but (with the exception of the ' leaks') they are built from the officially released OS components. Therefore, as long as the creator of the autoloader is a) reliable and b) is not an error (be gentle, because they are human too), then the autoloader should be quite safe.

    Here's a great archive (IMHO) of automatic Chargers:

    The link at the top of the first post of this thread is a great repository of Autoloaders... and the source is one that I consider to be very reliable.

    Good luck!

  • BlackBerry Z10 Z10 sending SMS randomly

    My Z10 BlackBerry seems to be to send text messages to short number #46246. But I'm not initiating them, or that they are displayed in messages on my phone. How can I know it? I have a texting plan and pay by text. These texts are showing up on my Bill. I have contacted my provider which confirms that they are definitely launched from my phone and say a few seconds, they can see later text received my phone to dial #46246. Usually, this happens once or twice a month in a group of 3 or 4 texts the same day. So a myseriously text is sent from my mobile to 46246 then a reception 46246, but none of it appears on the device. I fought this for a long time, send SMS 'STOP' to 46246, I contacted the company which I found 46246 is registered in the name. My carrier is ideas. The usual restarts, remove the battery, remove the SIM card, has been tried. At one point, I removed all applications of third part of the unit and there are always random texts sent. I don't know what these texts, and why the Z10 is their sending and costs me money!

    You indicate that you know who or what it is. You say that you have contacted the company. What is the company? What did say?

    You specify also is not your actual carrier. I read functions of carrier involving SMS, but it doesn't seem to be the answer that your carrier has an explanation.

    You can do a security wipe. In these conditions I'd be careful what I restore. I really start over from scratch and not restore from a backup.

    If somehow you have installed malicious software, the security wipe will clarify this point. If you do not restore, you don't put the malware on the device.

    I don't know what malware there might be. It's just one if given the opportunities and your comments.

  • When sending sms, some no-contact. SMS and some no-contact. not get?

    Hi all

    I developed the sms application, when I send the SMS from this application, some no-contact. to sms but some no-contact. do not get.

    can someone help me?

    concerning

    Savi

    Hi all

    I solved this problem. now I can send message to anyone of this sms application.

    If anyone need this app, I'm writing this request here... This works perfectly...

    package sms.savi;

    Net.rim.device.api.ui import. *;
    Net.rim.device.api.ui.component import. *;
    Net.rim.device.api.ui.container import. *;
    Javax.microedition.io import. *;
    Import Java.util;
    import java. IO;
    Javax.wireless.messaging import. *;

    class SmsDemo extends UiApplication {}

    Constants
    // ----------------------------------------------------------------
    private static final int MAX_PHONE_NUMBER_LENGTH = 32;

    Members
    // ------------------------------------------------------------------
    Private EditField _sendText.
    Private EditField _address; A phone number for outgoing SMS messages.
    Private _status EditField.
    Private ListeningThread _listener;
    private SendThread _sender.
    private StringBuffer _statusMsgs = new StringBuffer(); Caching for
    improved
    performance

    private MessageConnection _mc;
    Private boolean _stop = false;

    _sendMenuItem private MenuItem = new MenuItem ("send", 100, 10) {}
    public void run() {}
    String text = _sendText.getText ();
    String addr = _address.getText ();

    If (text.length > 0 () & addr.length () > 0) {}
    Send (addr, text);

    }
    }
    };

    Static
    // ------------------------------------------------------------------
    private static String _openString = "sms: / /"; See connector

    information on the implementation.

    Public Shared Sub main (String [] args) {}
    Create a new instance of the application and the beginning
    the application on the thread of the event.
    SmsDemo sms = new SmsDemo();
    sms.enterEventDispatcher ();
    }

    Inner classes
    // ------------------------------------------------------------
    private class ListeningThread extends Thread {}
    synchronized Private Sub {} stop()
    _stop = true;

    try {}
    If (_mc! = null) {}
    Close the connection so that the thread will return.
    _mc. Close();
    }
    } catch (IOException e) {}
    System.Err.println (try ());
    }
    }

    public void run() {}
    try {}
    _mc = Connector.open (_openString) (MessageConnection); Closed
    by
    the
    Stop()
    method.

    for (; {
    If {(_stop)
    return;
    }

    Message m = _mc.receive ();
    receivedSmsMessage (m);
    }
    } catch (IOException e) {}
    Probably the stream has been closed.
    System.Err.println (try ());
    }
    }
    }

    /**
    * A simple abstraction of an sms message, used by the SendThread class.
    */
    private static final class SmsMessage {}
    private String _address;
    private String _msg;

    private SmsMessage (String address, String msg) {}
    _address = address;
    _msg = msg;
    }

    Private Message toMessage (mc MessageConnection) {}
    TextMessage m = (mc.newMessage) (text)
    MessageConnection.TEXT_MESSAGE, ' / / ' + _address
    + "");
    m.setPayloadText (_msg);

    return m;
    }
    }

    /**
    * A thread to handle outbound transactions.
    */
    private class SendThread extends Thread {}
    private static final int TIMEOUT = 500; MS

    Create a vector of objects SmsMessage with an initial capacity of 10.
    For this implementation, it is unlikely that more than 10 messages
    queued at a time given.
    private vector _msgs = new Vector (10);

    volatile Boolean _start private = false;

    The applications are pending.
    private synchronized {void send (address of the string, String msg)
    _start = true;
    _msgs. AddElement (new SmsMessage (address, msg));
    }

    Termination of the thread.
    synchronized Private Sub {} stop()
    _stop = true;

    try {}
    If (_mc! = null) {}
    _mc. Close();
    }
    } catch (IOException e) {}
    System.Err.println (e);
    updateStatus (try ());
    }
    }

    public void run() {}

    for (; {
    Adjustment of the wire.
    While (! _start &! _stop) {}
    Sleep for a bit so we don't spin.
    try {}
    Sleep (timeout);
    } catch (InterruptedException e) {}
    System.Err.println (try ());
    }
    }

    Exit condition.
    If {(_stop)
    return;
    }

    While (true) {}
    try {}
    SmsMessage sms = null;

    synchronized (THIS) {}
    If (! _msgs.isEmpty ()) {}
    SMS = _msgs.firstElement () (SmsMessage);

    Delete the item so that we don't send it again.
    _msgs. RemoveElement (SMS);
    } else {}
    _start = false;
    break;
    }
    }

    _mc. Send (SMS.toMessage (_mc));
    _mc. Close();
    System.Exit (0);

    } catch (IOException e) {}
    System.Err.println (e);
    updateStatus (try ());
    }
    }
    }
    }
    }

    private class SmsDemoScreen extends form {}

    Constructor
    private SmsDemoScreen() {}
    Dim str As String = "8971833590";
    String = msgStr "How are you?"
    setTitle (new LabelField ("Demo SMS", LabelField.USE_ALL_WIDTH));

    _address = new EditField ("to:", "", MAX_PHONE_NUMBER_LENGTH,)
    EditField.FILTER_PHONE);
    Add (_address);
    Add (new SeparatorField());
    _sendText = new EditField ("Message:", "");
    Add (_sendText);

    /*
    * _status = new EditField(); Add (_Status);
    */

    addMenuItem (_sendMenuItem);
    }

    /**
    Prevent save them dialog box is displayed.
    *
    * @see net.rim.device.api.ui.container.MainScreen #onSavePrompt)
    */
    public boolean onSavePrompt() {}
    Returns true;
    }

    /**
    * Close the application
    *
    * @see net.rim.device.api.ui.Screen #close)
    */
    {} public void close()
    _listener. Stop();
    _sender. Stop();
    Super.Close ();
    }
    }

    Constructor
    private SmsDemo() {}
    _listener = new ListeningThread();
    _listener. Start();

    _sender = new SendThread();
    _sender. Start();

    Screen SmsDemoScreen = new SmsDemoScreen();
    pushScreen (screen);
    }

    /**
    * Update the GUI with the data just got.
    */
    {} private void updateStatus (final String msg)
    invokeLater (new Runnable() {}
    public void run() {}
    Delete the string buffer.
    _statusMsgs.Delete (0, _statusMsgs.length ());
    _statusMsgs.Append (_Status.GetText ());
    _statusMsgs.Append ('\n');
    _statusMsgs.Append (MSG);
    _Status.SetText (_statusMsgs.ToString ());
    }
    });

    }

    /**
    * A simple formatting of received sms message.
    */
    Private Sub receivedSmsMessage (Message m) {}
    String msg_app = m.getAddress ();
    Address of string = m.getAddress ();
    String msg = null;

    If (m instanceof TextMessage) {}
    TextMessage tm = m (text);
    MSG = tm.getPayloadText ();
    }

    StringBuffer sb = new StringBuffer();
    SB. Append("Received:");
    SB. Append ('\n');
    SB. Append("destination:");
    SB. Append (Address);
    SB. Append ('\n');
    SB. Append("Data:");
    SB. Append (MSG);
    SB. Append ('\n');

    updateStatus (sb.toString ());
    }

    private send Sub (String addr, String data) {}
    _sender. Send (addr, data);
    }
    }

    Of

    Savi

  • Cannot send SMS on Verizon device

    Quote from the old forum:

    Comments
    Cannot send SMS on Verizon device
    Posted the: March 7, 2007 20:11
     
    The following code snippet to send a text SMS using WMA works very well on a T-Mobile (e.g., 8700 g) and a Cingular device (e.g. 8700 c):

    Con MessageConnection = MessageConnection) Connector.open (address);

    TextMessage msg = (TextMessage) con.newMessage (MessageConnection.TEX T_MESSAGE);

    msg.setAddress (address);
    msg.setPayloadText (content);
    con. Send (MSG); throws IOException on Verizon devices

    However, the same code does not work on Verizon devices (e.g., 8703e and 7130e). The line: con.send (msg) throws an IOException exception. I tried to use different formats for "address" (e.g. "1234567", "+ 1234567", "8001234567", "+ 8001234567", '18001234567', ' + 18001234567 ", etc." "") but they all failed.

    Does anyone know if sending messages SMS using WMA is supported on devices from Verizon?

    Comments: Gerard
    Re: Unable to send SMS on Verizon device
    Posted the: July 10, 2007 11:23
     
    I am also having this problem. It seems that its associated port.

    Any input would be appreciated.

    Comments: comments
    Re: Unable to send SMS on Verizon device
    Posted the: August 10, 2007 14:55
     
    I am also having the same problem on a BB 8830 peripheral and a Verizon of older model device. Is this a problem with all Verizon or specific devices for CDMA based ripe?

    jclarke

    Messages: 1
    Join date: Jan 2008

    Re: Unable to send SMS on Verizon device
    Posted the: 8 January 2008 13:45
     
    I'm having the same problem on Verizon BB 8830. SMS fails with IOException null, however, http works very well.

    Sending sms: / / + 15555551212 {not the real number}

    Phone call log:

    S Java Exception - IOException
    E net.rim.sms - lat-0x8000001f
    d net.rim.sms - TXsb
    I have net.rim.sms - TXst


    a system - MMTpecPhone (3404) not
    a net.rim.sms - inch
    a system - MMTpecPhone (3404) not

    Any suggestions? All these are cryptic log messages are defined?

    Guest: Joe
    Re: Unable to send SMS on Verizon device
    Posted the: February 6, 2008 19:52
     
    I also note the same problem on a Sprint BlackBerry Pearl and 8830. Namely, impossible to send SMS messages and we get an IOException with null message when it fails. Exactly the same code works fine on blackberry mobile PHONE.

    Is there a solution to this problem?

    I think the quality of RIM devices on CDMA technology is of bad quality. RIM rushes these devices at the door. In addition to not being able to send SMS, Sprint devices also seem to inexplicably lose network and requires a MASTER WIPE to restore network connectivity. None of these problems occur on the bays of GSM.

    Jeyaprakash.c

    Messages: 49
    From: chennai, India
    Join date: Oct 2007

    Re: Unable to send SMS on Verizon device
    Posted the: March 21, 2008 01:45
     
    I also had this problem. the labour code will not send sms on cdma phones sprint and a few other oprators protects sms that api third party tat cdma phones requires a certificate level RIM and the operator...

    fpotter

    Messages: 28
    From: Mountain View, CA
    Join date: Feb, 2008

    Re: Unable to send SMS on Verizon device
    Posted the: April 23, 2008 04:53
     
    Someone could rim please chime in here and confirm whether or not sending SMS CDMA phones should work? I burned just 3 hours playing with different things and play with smsdemo.

    If this is a bug, it would be nice to have confirmation that we can all stop wasting our time.

    If it's something that requires the operator level signature, it would be nice to know, too.

    saziz

    Messages: 181


    Join date: Mar 2007

    Re: Unable to send SMS on Verizon device
    Posted the: April 23, 2008 11:14
     
    By program, sending messages on mobile CDMA is currently not supported. As a possible workaround, you can use the API call to send SMS messages via the Messaging Application:

    net.rim.blackberry.api.invoke.Invoke
    http://tinyurl.com/6yecb4

    SARIM
    BlackBerry developer journal
    www.blackberrydeveloperjournal.com

    Comments: Matthew Wheaton
    Re: Unable to send SMS on Verizon device
    Posted the: July 21, 2008 01:12
     
    True... but this just opened the app with pre-filled information. How to send without user intervention?

    This is possible by using the EventInjector and the trackball/wheel orders to send the message using the menu of the injection.

    Here is an example of code that seems to work on Sprint and Verizon devices:

            DatagramConnection connection = null;
            try {
    
                byte[] bytes = messageAsString.getBytes();
                connection = (DatagramConnection) Connector.open( url );
    
                Datagram datagram = connection.newDatagram( bytes, bytes.length );
    
                connection.send( datagram );
            }
            catch (Throwable t) {
                log.error( "Unable to send SMS to " + entry.getRecipient() + " with the url " + entry.getHttpRequest().getUrl() + ".  Message: " + t.getMessage(), t );
                throw t;
            }
            finally {
                IOUtility.safeClose( connection );
            }
    

Maybe you are looking for

  • HARD on my Tecra S2 drive is not accessible

    I have a laptop Tecra S2.Yesterday, he crashed and turned off the coast, I tried holding the button function and F3 to start in safe mode but nothing. I inserted my Windows XP CD to try and gets repairs there, but in the end said no hard drive found

  • Windows recovery environment

    My restore partition is removed. How to get it back. because I cannot reset my laptop factory settings!

  • BlackBerry smartphone App World is not available in my country?

    Hi all I just bought a Curve 8520 and I really like it. I tried to download apps, I realized that the App World is not available in Romania, where I live. Is there a way around this? I really want to use some of these applications... Thanks in advanc

  • For an Officejet 6500 E709n is the required HP Hpzlnt04.dll file?

    For an Officejet 6500 E709n is the required HP Hpzlnt04.dll file?  I was scanning plugins and Printer Monitor specified designation unknown. Then I searched on Google and said results it might be a virus named Hpzlnt04? It is necessary or can I remov

  • How to stop the unwanted movements between two keyframes?

    HelloI have created a few titles and am animation to move upwards and then downwards, then stops - I also applied a Gaussian blur.  3 keyframes.  1 start outside of the entire frame (so you don't see any).  2. go to a point (except it goes beyond thi