SMS sender name

Hello

When I call the Menu and call the Menu item in the list of SMS messages like this:

        if(context instanceof TextMessage){
          TextMessage text = (TextMessage) context;
          sNum = text.getAddress();

        }

then the nums is only indicated the number of the sender. How can I retrieve the name of the sender of the SMS?

You will have to go find the phone number in the Contacts list (no small feat since there is no phone on this database index).

Tags: BlackBerry Developers

Similar Questions

  • No visible blackBerry Smartphones SMS sender name

    When I receive an SMS to a number saved under a name in my contacts, I don't see the name of the sender. It's only the telephone number provided.

    I seems that I changed a setting somewhere, because so far, the sender was shown with its name.

    Thanks for the support

    I found the error.

    The parameter modified by me is:

    From the main screen, press , the call log appears-> menu-> options-> Chip component-> National number length-> for my carrier is 8, and I was there through 12 beliving that this is correct.

    Concerning

  • TB change the sender name to my name to email classic. Fritz! Box send a pushmail with the name "Fritz!" Box '. In the Inbox of my ISP of this name is present. ...

    TB change the sender name to my name to email classic.
    Fritz! Box send a pushmail with the name of the sender "Fritz!" Box' to my standard email address.
    In the Inbox of my ISP of this name is present. Get this mail with TB the name "Fritz!" Box"is changed in lastname, firstname. This is the full name of my standard email address as I stated in my address book.

    In the toolbar > Options > view > advanced and turn off "see the show only the names of the people in my address book."

  • BlackBerry Smartphones SMS sending / is not receiving

    Hello everyone, I am working on a Sprint 8530 on a BES server:

    Software: v5.0.0.654

    Platform: 4.2.0.298

    Work e-mails, MMS works to send and receive internet works, and it can receive SMS messages, it can not just send SMS. I can't understand it, there is no option to reply to the sms, when I send an sms, or when I brought to compose a. I went to Options > SMS text to check the settings, I don't know what they are supposed to be, but they have matched mine (mine is same phone & software, etc.) and mine works. The only difference is at the bottom of the text of SMS on mine it says "turn off auto text: No." and there is no option on the other phone. I'm lost, I did a hard reset, I even updated the profile just for laughs, still no change. I also went to the Options > MMS to check and make sure that there is no setting that rejected the SMS, but I see what I think it might affect.

    Just in case where someone asks, the settings under Options > SMS are:

    Conversational style: bubbles

    Show names: Yes

    Full name: me

    Press to send: Yes

    Data encoding: Ascii

    Priority: normal

    Callback number: (is the # correct for the phone)

    OK, the BES reset fixed it... surprised me, but I guess it should not consider more how invasive BES...

  • One of my regular emails displaying the wrong sender name.

    When I receive an e-mail from the ancestry of insiders, it shows in my email list with the title of the correct e-mail and the sender Richmond SF Blog. I get e-mails from the blog of SF in Richmond and they present the correct sender. Enamel of ancestry initiated himself, the sender indicates correctly. It is only in the list of emails it appears fine.

    I have two senders in my address book and I checked the info on each entry. It is true in my address book.

    OK, you win. Go to the menu Tools > options > advanced > reading and display and cut while the option to display names.

  • SMS sending/Editing and functions copy paste text supported in Firefox OS?

    Couldn't find options to send SMS or change text messages, neither could find the options copy paste general text. More importantly, in the dial pad, the cursor cannot move to the location you want to add numbers. Am I wrong? If yes how to do these things?

    Dial pad is an excellent suggestion! You must file a bug for it by going to https://bugzilla.mozilla.com

    Regarding text editing, would be only considered the problem of copy / paste? We currently do not support the copy and paste, but obviously, that will come in the future.

  • no SMS sending or receiving messages iPhone 6s

    Using current iOS and Messages on iPhone 6s.  Unable to send or receive SMS txt to others. He worked past.  It seems that I send (green), but it is not received by others and others may not send to me.  Everything looks normal on my side, just as in the past, but no communication is finished...

    Just try to restore your phone, but first, try an iCloud or iTunes backup before restoring.

  • How a SMS sending first?

    just after sending an SMS, I found that the phone number was wrong! Skype in waiting/trying to send text msg. How to stop sending?

    OK, Neil, but I not find anything at this time no discounts on the site of Skype! It's a shame, but it's not cataclysmic!
    Anyway thanks a lot for your messages
    Nice day
    Richard

  • When you open an e-mail sender name is here and email does not display any content.

    I opened an email with content, but reading the advertisement youtube poped upwards and a small window asking if I wanted to block it, and I did. After that, I get important emails from my Bank and my friends who doesn't display the sender's name, but does not show the content of the email... email is empty. How can I unlock so I can see the content of the emails?

    [Moved from the community centre of Participation]

    Hi Don: Thank you very much for your quick response.

    My son has fixed the problem I had with my Macbook emails not showing their content.  He clicked on a little left hand (AdBlock icon) located the bar where I write the links I want to explore. For him, it was very easy, but last night I panic when I saw my emails that had no content.

  • Windows Fax and Scan "Sender Name" empty (Windows Server 2008 Standard)

    Hi all

    I am using Windows Server 2008 Standard (32-bit) with a RocketModem III card.  I have the latest drivers for the RocketModem.

    Using Windows Fax and Scan, I can send and receive faxes fine.  The only problem is when I see the fax, the name of the sender is blank.  I am trying to display the telephone number that someone sends me the fax to.

    I had thought it might also be under CSID, but everything I have complete options because it puts there.  I guess that means I want the CSID show for all those who sent faxes to me.

    It might be worth noting that I have active CallerID and you have a real fax machine that shows the incoming number very well.

    Does anyone have an idea where I could go wrong here?  Thanks in advance for the help!

    This issue is beyond the scope of this site and must be placed on Technet or MSDN

    http://social.technet.Microsoft.com/forums/en-us/home

    http://social.msdn.Microsoft.com/forums/en-us/home

  • Support for multiple sms sending?

    Hello

    can someone tell me where is the LAG of code to send multiple text messages.

    I am only able to send a single sms.

    private static boolean isCDMA()
        {
            return (RadioInfo.getActiveWAFs() & RadioInfo.WAF_CDMA) == RadioInfo.WAF_CDMA;
        }
        private static final class SmsMessage
        {
            private String _address;
            private String _port;
            private String _msg;
            public SmsMessage(String address, String msg, String port)
            {
                _address = address;
                _port = port;
                _msg = msg;
            }
            public Message toMessage(MessageConnection mc)
            {
                // If the user chose to have messages routed to the inbox (port = 0),
                // we need to specify an address without a port number.
                String addressString = "//" + _address + ( _port.equals(NON_ZERO_PORT_NUMBER) ?  ":" + _port : "" );
    
                TextMessage m = (TextMessage) mc.newMessage(MessageConnection.TEXT_MESSAGE , addressString);
                m.setPayloadText(_msg);
    
                return m;
            }
            public Datagram toDatagram(DatagramConnectionBase datagramConnectionBase) throws IOException
            {
                DatagramBase datagram = null;
                byte[] data = _msg.getBytes("ISO-8859-1");
                datagram = (DatagramBase) datagramConnectionBase.newDatagram();
                SmsAddress smsAddress = new SmsAddress("//" + _address);
                SMSPacketHeader smsPacketHeader = smsAddress.getHeader();
                smsPacketHeader.setMessageCoding(SMSPacketHeader.MESSAGE_CODING_ISO8859_1);
                datagram.setAddressBase(smsAddress);
                datagram.write(data, 0, data.length);         
    
                return datagram;
            }
        }
        public void sendSMS(final String address,final String msg,final String port)
        {
            Thread thread=new Thread()
            {
                    public void run()
                    {
                        SmsMessage message = new SmsMessage(address, msg, port);
                            try
                            {
                                if(isCDMA())
                                {
                                    DatagramConnectionBase dcb = (DatagramConnectionBase)_conn;
                                    dcb.send(message.toDatagram(dcb));
                                }
                                else
                                {
                                    try
                                    {
                                        mc = (MessageConnection)Connector.open("sms://"+address);
                                        if(mc!=null)
                                        {
                                            mc.send(message.toMessage(mc));
                                        }
                                    }
                                    catch (Exception e) {
                                        // TODO: handle exception
                                    }
                                    finally
                                    {
                                        if(mc!=null)
                                        {
                                            mc.close();
                                        }
                                    }
    
                                }
                            }
                            catch (IOException ioe)
                            {
                                updateStatus(ioe.toString());
                            }
                            }
            };
            synchronized (thread) {
                thread.start();
                try
                {
                    Thread.sleep(2000);
                }
                catch (Exception e) {
                    // TODO: handle exception
                }
            }
        }
    

    And I'm the appellant at the bottom of the code.

    for(int i=0;i
    

    thankx.

    My problem has been resolved.

    I just put the send method in loop for.

    Thankx

  • Runtime Exception while simulating sms send device/network CDMA

    I'm trying to simulate the sending of a sms of my application. Since the device during the simulation simulates CDMA network, I use DatagramConnectionBase to send sms.

    Whenever my application tries to send a text message it throws JVM 104 error: Runtime Exception.

    I use Eclipse to develop the application and we tried to simulate this on different Blackberry JDE pluggins, including v5.0, v4.7.0, v4.6.0 and the result is always the same. Just this part crashes me to begin to test my application.

    Thank you.

    The section of the code of the application that sends sms is:

    DatagramConnectionBase _connection = null;
    DatagramBase _sms = null;
    Try
    {
    _Connection = (DatagramConnectionBase) Connector.open ("sms: / /: 0");
    _sms = (DatagramBase) _connection.newDatagram (_connection.getMaximumLength ());
    _sms.setAddress ("sms: / /" + _mobileNumber);
    _sms. Write (_smsContent.GetBytes (), 0, _smsContent.getBytes () .length);
    _Connection.send (_sms);
    _Connection.close ();
    }
    catch (IOException e)
    {
    System.out.println ("' sending Txt Message on CDMA network Exception:" ")
    + e.getMessage ());
    }

    OK... I found the way to make it work.

    Thank you all.

  • SMS sender

    Hello

    I want to detect the sms received on bb and change this sms and t for correct number but how do I detect the forward received sms

    and the content of the sms newsletter

    I read a few posts, but I want it in multithreading please sombody have code or suggest an idea

    You can listen to incoming SMS messages and send them to another number.  But you can't change the incoming SMS messages.  See the links below for examples of code to send and receive SMS messages.

    Different ways to play SMS messages

    Different ways to send SMS messages

  • For blackBerry Smartphones SMS senders name is displayed

    When I receive text messages only the number is not the name of the sender is shown even if the name is listed in my contacts?

    When you receive a call that appears the name of shippers, can anyone help please?

    First of all, make sure you have defined country code.  Go to the phone application, click on the button [Menu] (button to the left of the trackball), then select --> Smart Dialing Options and set the country code for your phone number (for an American issue, it is + 1).   If the area code of your phone doesn't require you to dial the area code, you can enter it here too, but in general these days, that you must dial the area code - even for calls within the same area code.

    Second, make sure that your contacts have at least the right area code, but it can also ask to have the country code in their mobile number.  I use Outlook, and he puts the phone automatically number by country code according to the format:

    + 1 (555) 555-5555

    so all my numbers are formatted like this.   You can get in shape just mobile numbers to operate correctly.

  • BlackBerry Smartphones SMS 'Send' erase my message!

    Hello!

    I'm having a problem with my Bold 9780 - whenever I try to send SMS text messages, clears the entry screen and nothing is happening, as if I hit 'clear' instead of sending them. To clarify, I do not see 'pending', 'error', or red 'x' that normally appears when a message is not sent - when I try to send the message that I get no feedback whatsoever, and the message I typed clears. Also, I tried to send the two pressing on enter and also by clicking the menu button and selecting 'send '. There is no chance I'm pressing 'clear', but the behavior seems to indicate that I am.

    I did some troubleshooting - verified that all other types of telephone services and messaging function, return the service directories, made a couple of hard reset / battery tire... also, I don't have any installed third-party software in addition to what was delivered on the phone from Rogers.

    Any other suggestions before you wipe it and start from scratch?

    Thank you!

    I got it working and I wanted to follow in the case where someone reads this thread later.

    It seems that the problem was with the policy applied through our BES server. Nothing in the policy looked suspicious to me, but by process of elimination, I found that the policy of "confirm on send ' under 'group policy' was the origin of the problem. It's strange, because it worked before without any problem-, he is suddenly stopped working yesterday afternoon. Once I removed the text "confirm when sending" and disabled this option, the SMS started working normally on all users of this group.

    So for any BES admins who see a similar problem, it seems to me that 'confirm when sending' stop SMS to work in the OS6 / 9780 handsets. I hope this helps someone, because it certainly kept me busy for a few hours of troubleshooting!

Maybe you are looking for