Pre-populate the number for sending SMS

I want to pre-populate the number of the entry of a company for the user to send SMS;

The API (I watched 4.2 class MessageArguments) does not support this.

For the application, the user doesn't have to type the number manually must display the number somewhere. ·

The possibility to add to the list in the address book as a contact and to get the display of SMS application the contact list on its home screen is not recommended, do not know if there is a way to send SMS programmatically, always looking for one.

Help, please.

Thank you. I was able to solve the problem.

Tags: BlackBerry Developers

Similar Questions

  • How to pre-populate the organization name, and other fields in the form of access policy?

    Hi all

    I created a strategy of access to users to autoprovision for MS AD, but I need to solve a problem. I do not know how to pre-populate e.g. name of the Organization (or other fields) of resource AD user in the access policy and prepopulate the plugins created for user AD form do not work here.

    Please, could you help me to solve this "problem"?

    Thank you

    Milan

    Access policies get a static value.  You can't fill a field with an adapter.  If you do, leave the field blank and put an adapter on the process shape to your field which must be filled by using code or logic.

    -Kevin

  • right click on the shortcut for sending a photo in e-mail

    If I right click a picture to send to someone, then appears the box that says SEND TO, and then I click on the MESSAGE and before, my Windows Mail program opens, but now it doesn't.  What's wrong?

    Make sure that your e-mail program is the default e-mail program.

    http://Windows.Microsoft.com/en-us/Windows-Vista/change-which-programs-Windows-uses-by-default

    Change the programs that Windows uses by default

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    You can also try a system restore to before the problem:

    Restore point:

    http://www.howtogeek.com/HOWTO/Windows-Vista/using-Windows-Vista-system-restore/

    Do Safe Mode system restore, if it is impossible to do in Normal Mode.

    Try typing F8 at startup and in the list of Boot selections, select Mode safe using ARROW top to go there > and then press ENTER.

    Try a restore of the system once, to choose a Restore Point prior to your problem...

    Click Start > programs > Accessories > system tools > system restore > choose another time > next > etc.

    http://www.windowsvistauserguide.com/system_restore.htm

    Read the above for a very good graph shows how backward more than 5 days in the System Restore Points by checking the correct box.

    See you soon.

    Mick Murphy - Microsoft partner

  • Entry of the number for Calculator App

    Hi all

    I am creation app calculator with waterfalls and managed to get buttons and number using textarea display upwards.

    The problem is when I use textarea for input of the number, he keeps popping up in regular keyboard when I Browse.

    My question:

    1 / can I use my own button to enter an order numbers and the operation of the display of the number?

    2 / is it really possible to make its contribution to the text box with my own buttons?

    Thank you!

    It would be certainly possible to control the text box with buttons. In fact, for a calculator application, I recommend. You may have your grid of buttons onClicked even just put TextField.text += buttonValue.

  • Earpiece of the phone, can send SMs?

    Hai Guys'

    I develop an application by using the class listening port of the phone and that will make the program may be texting, class Wheater phone earpiece

    Bee can send sms?

    Please advice

    What is your test environment?

  • How to solve the problem with sending SMS in Yahoo Messenger?

    Original title: maintenance cleaning disk yahoo im window doesn't translate InfoBar

    When on yahoo messenger, you can type in the box at the bottom, but when you send is just a white in the main window...

    Hello

    Given that the problem is specific to Yahoo Messenger, I suggest you contact the manufacturer for support.

    http://IO.help.Yahoo.com/contact/index?locale=en_CA&y=PROD_MSNG&page=contact

    Kind regards.

  • labview for sending SMS configuration

    Hi, I made a program, but how to choose the mobile number. For example, there are a bar of scrolling for me to select the numbers and when I press on enter the message will be sent. Thank you

    Hi, can anyone help?

  • The toolbar for "Send - join - economy - etc." features does not appear

    When you reply or composition new message or message transfer function 'SEND' not existed for the past few days.

    The window writing tbe. Press F10 or alt to get a menu, then reviews | Toolbars and tick the boxes.

    Repeat in another window (for example, address book, display messages) similarly afflicted.

  • Get the error when sending sms. [I think it's a simple fix. but I'm a newbie]

    package com.iphone4life4;
    
    import net.rim.device.api.system.*;
    import javax.microedition.io.*;
    import java.io.*;
    public class App extends Application
    {
         private String addr = "15198887465";
         private String msg = "This is a test message.";
         private DatagramConnection _dc = null;
         private static String _openString = "sms://";
         public static void main(String[] args)
         {
              new App().enterEventDispatcher();
         }
         public App()
         {
              try {
                   _dc = (DatagramConnection)Connector.open(_openString);
                   msg.getBytes();
                   Datagram d = _dc.newDatagram(_dc.getMaximumLength());
                   d.setAddress("//" + addr);
                   _dc.send(d);
              } catch ( IOException e) {}
              System.exit(0);
         }
    }
    

    This is my code and the error I get is the following:

    Thread [SMS2D(319)id=191674368] (Suspended (exception ClassCastException))
        Protocol.makeMessage(DatagramBase) line: 974
        Transport.send(Datagram, DatagramAddressBase, IOProperties, DatagramStatusListener, int) line: 445
        Transport(DatagramTransportBase).superSend(Datagram) line: 299
        Protocol(DatagramConnectionBase).send(Datagram) line: 320
        Protocol.send(Datagram) line: 418
        App.() line: 23
        App.main(String[]) line: 14
    

    Who is wrong?

    Try like this

    new Thread()
    {
       public void run()
       {
          try
          {
             _dc = (DatagramConnection)Connector.open(_openString + addr);
            // msg.getBytes();
             Datagram d = _dc.newDatagram(_dc.getMaximumLength());
          //   d.setAddress("//" + addr);
             d.setData(msg.getBytes(),0,msg.getBytes().length());
             _dc.send(d);
          }
          catch ( IOException e)
          {
          }
       }
    }.start();
    

    To work or not

    Hit as if you got your answer

  • Pre restores the number of letters in the universal search

    When you enter numbers in the universal search, pressing the space bar converts them to the corresponding letter.  Is this a bug in the update.

    As soon as you press the SPACEBAR after the numbers, i.e. Enter "123 main st", it converts to the 'ert' and your search ends up being "ert main st.

    Found my answer in another forum:

    http://forums.precentral.NET/Palm-pre/185977-universal-search-bug-feature.html

    It is supposed to be a feature.

  • BlackBerry Smartphones problem change the language to send SMS on BB Curve 9300 3

    BlackBerry 9300 3

    Does anyone know if there is a quick way to change the language of the keyboard? My laptop has in Arabic and English keyboard keys, but no Arab option on the phone with the language settings.

    When I try to update the input languages to include Arabic via the desktop software, I get the following message:

    "BlackBerry® Desktop Software Update could not validate your BlackBerry® device.

    Aborting installation because of the failure of the validation. Some unsatisfied dependencies contained package. »

    The only advice I found is to go into the Woods under ~ library on my Mac with OS X 10.6.8 which will display messages to applications that need to be uninstalled as they are third parties and can not be validated. This suggests the Blackberry Appworld should be uninstalled that I did, but still have the problem.

    If anyone can help that would be great.

    Also, I would be grateful if someone can confirm if Blackberry phones are supposed to be that mind? I just spent my eighth time on it, and I'm regretting ever having bought the phone. I made phone calls with it and sent the texts in English, but other than that nothing. I already have a phone that is equal to a tenth of the cost of that tape also in Arabic, which I think is pretty useless Blackberry in comparison.

    I finally found a work around for this problem. I adapted the advice from the link here:

    http://forums.CrackBerry.com/Forum-F62/how-UN-brick-BlackBerry-Mac-336488/

    In order to clarify that I was using a BB9300 3 G Curve, with BB OS 6, with the latest version of BB Desktop, running on a Mac Book Pro.

    You must clean the phone and reinstall the operating system for phones in a way that eventually flashes the RAM on the phone, as it appears a large batch of phones were shipped with this bug.

    Once invited to fix the phone, you must choose the oldest version of the operating system offered by the Repair Wizard. It will remove your personal and settings files that will need to be manually reinstalled.

    My steps were as follows:

    FIRST OF ALL MAKE SURE THAT YOUR PHONE IS NOT CONNECTED TO YOUR MACHINE AND BLACKBERRY DESKTOP IS NOT RUNNING.

    1 delete the versions of operating system stored on your Mac by going to ~Library/ApplicationSupport/BlackberryDesktop/DeviceApplications

    2. empty the Recycling / Bin of the "trash".

    3 remove the battery from your Blackberry and then connect to your computer via a USB cable. The phone will display a battery with a red cross. The desktop software is expected to launch after that the phone is connected.

    4. you will be asked to repair or restart the phone. Opt for repair and you should be presented with different versions of earlier operating systems. He recommended the latest version for me, but in fact I found that I had to go straight to the first version of the operating system available which was OS5. Select this option and then start the download.

    5. I found that the phone has downloaded the whole software at once, but in the original notice it says that on the phone may need to be reconnected several times it falls, close and restart BB Desktop software every time. I found that it only happened when you try to install later versions of the operating system.

    6. halfway through the installation of the progress bar said "waiting for device commissioning. At this point, reinsert the battery.

    7. then wait that the phone restart which took more than 20 minutes for me.

    8. This should have completed the installation. Especially when the phone is installed with the OS5 he gave me an option to choose the input languages available on the phone and remove those unwanted. I received a message on BB Office recommends that upgraded the operating system 6, I did, and now works with the input languages.

    Again, this work around is to:

    http://forums.crackberry.com/forum-f62/how-un-brick-blackberry-mac-336488/ that I had to modify the steps that I pointed out in case it helps anyone in the future.

  • How can I get the Outbox for sending messages to the sent box after I sent?

    recently, I was informed that my email has been sent more than once. Sometimes it was as much as 15 times. I found that the messages were kept in my Outbox and will not not in sent after filing box. I get an error message. How can this problem be solved?

    What is the error message and what email program are you using?
  • 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.

  • is it possible to get to info on the cost (and period or number) programmatically conversation/SMS?

    Hi, I was wondering - is it possible to get information programmatically:

    -number of SMS Messages sent

    -number of sent mms

    -How long the user has been talkig

    -How much paid for talk/sms/mms-fondant on filling up the user. is it possible to get the user rate programmatically?

    Kind regards

    To count the number of outgoing sms and mms; implement SendListener.

    From the call duration use call log.

    and take the callcost/min, cost/sms, mms/cost as user input to first launch your application. I have thin in this way you can do your necessary things.

    Press the button Bravo thank the user who has helped you.

    If your problem has been resolved then please mark the thread as "accepted solution".

  • SMS for outgoing SMS listener throws IOException immediately after the open call

    I had already created a class for sending SMS messages which worked perfectly until I added the listener. When the listener is added as soon as I start the thread throws an IOException exception who am I hurting? The only thing I can think is some kind of wire problem, please help.

    Here's the SMS & Listener class:

    private static final class SmsMessage    {        private String _address;        private String _msg;
    
            public SmsMessage(String address, String msg)        {            _address = address;            _msg = msg;        }
    
            public Message toMessage(MessageConnection mc)        {            TextMessage m = (TextMessage)mc.newMessage(MessageConnection.TEXT_MESSAGE,"sms://" + _address);            m.setPayloadText(_msg);            return m;        }    } // SmsMessage
    
       private final class SendThread extends Thread    {        private static final int TIMEOUT = 500; // ms        private Vector _msgs = new Vector(10); // Queue of 10        private volatile boolean _start = false;
    
            // queue requests        public synchronized void send(String address, String msg)        {            _start = true;            _msgs.addElement(new SmsMessage(address, msg));        }
    
            public synchronized void stop()        {            _stop = true;            try {                if ( _mc != null ){                    _mc.close();                }            } // catch (IOException e ) {                catch (Throwable t) {                t.printStackTrace();                System.exit(0);            }
    
            }
    
            public void run()        {            try {                //closed by the stop() method                _mc = (MessageConnection)Connector.open("sms://");
    
                    if (_mc != null)                {                    // set a listener to trap outgoing sms messages                    _mc.setMessageListener(new OutboundSMSListener());                }                for(;;)                {                    while( !_start && !_stop)                    {                        try {                            sleep(TIMEOUT);                        } // catch (InterruptedException e) {                            catch (Throwable t) {                                t.printStackTrace();                                System.exit(0);                            }                    }                    if ( _stop )                    {                        return;                    }
    
                        while(true)                    {                        try {                            SmsMessage sms = null;                            synchronized (this)                            {                                if ( !_msgs.isEmpty() )                                {                                    sms = (SmsMessage)_msgs.firstElement();                                    // take it out of the queue once we sent it                                    _msgs.removeElement(sms);                                }                                else                                {                                    _start = false;                                    break;                                }                            }
    
                                _mc.send(sms.toMessage(_mc));
    
                            } // catch (IOException e) {                            catch (Throwable t) {                                t.printStackTrace();                                System.exit(0);                        }                    }                }            } // catch (IOException e)              catch (Throwable t) {                t.printStackTrace();                System.exit(0);              }        }    } // SendThread
    
        private static final class OutboundSMSListener implements OutboundMessageListener    {        public void notifyIncomingMessage(MessageConnection messageconnection)        {            // we don't care about incoming sms messages right now        }
    
            public void notifyOutgoingMessage(Message message)        {            Dialog.alert("Detected An Outgoing SMS Event");        }    }
    

    Thank you. Makes sense.

Maybe you are looking for

  • Automatic numbering

    I need to automatically number a long document with, perhaps, more a numbering of the list level. I need to do this so that if, for example, delete #3 from the list of 30, I don't need to renumber all the entries of 27 others. It is apparently easy t

  • Screen roration and glide above and below

    I have a s i6. screen is locked in the same position and rote cannot slide down from the top or the bottom of the phone to see if the lock is on.when phone is turned on, scene is small and must el nlarge size normal

  • Impossible to update microsoft silverlight in safari

    I tried to update silverlight in Safari on my MacBook Pro (yosemite) but I keep getting the message that I need to update.  I'm not able to videos on Amazon unless I use Opera. Any suggestions?  Thank you very much!!

  • I have 6 which weighed charges on my debit card for the same Netflix subscription.

    I tried to update my information to cc without success, I might add, and now I have 6 which weighed charges on my debit card for the same Netflix subscription. He has actually decreased my debit card that has sufficient funds, and I hope that I have

  • My game is causing an error, how can I stop it?

    The other day I installed my legacy of Kings game on my computer, but when I went to play it, it shut down my computer. I checked the disk it is not scratched. I did not make anything unusual. But the two times I tried to play, I was going to start v