Get multiple recipients of menu item TEXT context

I added my menu item custom to the SMS composer with the following code.

ApplicationDescriptor app = ApplicationDescriptor.currentApplicationDescriptor();
ApplicationMenuItemRepository repository = ApplicationMenuItemRepository.getInstance();
repository.addMenuItem(ApplicationMenuItemRepository.MENUITEM_SMS_EDIT, mySmsMenu, app);

Then I implement the run method of the ApplicationMenuItem as follows:

public Object run(Object context) {
        TextMessage c = (TextMessage)context;
        if (c != null) {
            String sendTo = c.getAddress();
            String msgBody = c.getPayloadText();

         }
}

I get the message and a single number of recipient successfully. But how do I manage for multiple recipients? He even supported?

Thank you

This is not currently supported.  I will pass on this feedback to our product management team.

Tags: BlackBerry Developers

Similar Questions

  • How can I get rid of the menu item tools-In?

    I deleted everything that has been suggested to uninstall the dashboard In-Tools but this menu item will not go away. Has anyone found the trick to the removal of this point in the menu bar?

    My apologies if this topic has already been discussed.

    Screen Shot 2015-07-07 at 2.01.28 PM.jpg

    FWIW, CC 2015 has been a HUGE headache for all third-party developers.

    Adobe has blurred the distinction between the different software versions too and products can be partially installed in 2015 CC automatically. We have no method today to allow users to choose which version they want to install extensions in.

    On top of that, the extension manager is not really supported any more, and it is very reliable at the moment. (Even more than it has been to date).

    We actually started to work on an installation of cooperative solution open source, but there is a lot of work and it'll be a while before it is ready for prime time.

    Substances

  • o a menu item text box control dropdown

    Hello experts.

    I have a problem, please help me solve this.

    I have a drop down box with 5 points and a text box in my form.

    Capture.PNG

    5 points are:

    India

    AMERICA

    Japan

    Australia

    SINGAPUR

    When I select a specific country,

    then the capital of the country should get in TEXT AREA

    For example: If dropdownbox1.selecteditem = INDIA then

    TextBox1.Text = 'NEW DELHI '.

    * Box must be read only average i when a point selected correspondents city name in the text box, the user is not permitted to enter text in text manually box.

    Thank you.

    As the custom text field calculation script, use this code:

    var country = this.getField("dropdownbox1").valueAsString;
    if (country=="INDIA") event.value = "NEW DELHI";
    else if (country=="AMERICA") event.value = "WASHINGTON D.C.";
    // etc.
    else event.value = "";
    

    You can define the field read-only properties.

    PS. Be sure to check the option to validate the selected value of the field drop-down immediately (under its properties, Options tab).

  • Data merge: how to get multiple records in a single text?

    Hello

    I'm experimenting with data merging in InDesign CS3. The biggest obstacle I've met tries to get my record flowing continuous text in a single text frame (which would, ideally, "automatic formatting" on the new pages in the document). Records vary considerably in length, and so I can't just create a standard repeat on the page text frame.

    Perhaps, data fusion is not the best way to achieve this and I should be learning to script in place. I feel like I'm just one step, however.

    Any suggestion would be appreciated.

    Data fusion is not thread. There is a nifty script to Rorohiko who will do it for you after the merger, however. Best strategy is to merge, run the script, delete everything except the first image on the first page, then pick up the excess and auto-flux in the document.

  • Get the current menu item selected

    Hello

    I use Jdeveloper 11.1.2.3.0

    I want to set the property collapse of the separator group based on the selected menu item by using the expression language.

    How to get the current selected menu item.

    Best regards

    Haytham Talha

    Hello

    Here is an example using setPropertyListener to set the selected item and use it to collapse of panelSplitter:

    
         
              
                   
             
            
              
           
         
                   
    
    
         
              
         
         
              
         
    
    

    Jean Lou

  • Cannot create the custom menu item

    I feel that I'm missing something simple here.  Use the examples in the documentation for the BB developer, I am unable to get a custom menu item is displayed on a BB application menu in a simulator.

    More precisely:

    I copied the code for ContactsDemo (on page 31 of the PDF Advanced Developer) subjects, and works very well in the Simulator.

    I then copied the code for DemoAppMenuItem (from page 86 of the same doc).  It seems to work very well - no errors, and it appears in the Downloads folder on the Simulator.  But no custom menu item appears on the simulator when I create a new Contact, and then return to view it.

    I have all three options checked in Workspace Blackberry > Blackberry JDE > Code signing.

    My environment is:

    Eclipse 3.4.2

    BlackBerry JDE plugin 1.0.0.67 Eclipse

    I tried it with two simulators 4.5 and 4.6.

    Any suggestions are greatly appreciated!

    Thanks for the references page - this is a great compilation of resources!

    I don't know why the sample code of the documentation of EDGE does not work, but I was able to get the custom display menu item using the code I found this message on the forum.

  • Getting context object null when using the custom menu item.

    Hi all

    I implemented a sample application to add menu item custom to the list of messages and we test this build on 9000 os 5.0.0.41 Blackberryy 1

    On BB 9000, we have 2 message inbox, A like Blackberry by default message inbox and B as long as the Inbox for the e-mail account, I have set up on BB 900.
    I implemented the menu custom application to add menu on the message list option.
    I see this option on both my inbox, the question that I am facing is when I click on the menu item by selecting the email in the message of default A Blackberry inbox I can get the context object were like when I click on the same message next to the Inbox B I'm always get the context as a NULL object.

    Below is the code I used to add the custom menu item.

    Public Shared Sub main (String [] args)
    {
    If (args! = null & args.length > 0) {}
    call from another entry point. Add menu items mark as Spam and mark as suspects.
    {if(args[0].) (Equals ("GUI"))}
    try {}
                            
    create menu items.

    MyMenu ApplicationMenuItem = new EmailFile();
    Add the menu item in the list view and send by e-mail.
    Amir ApplicationMenuItemRepository = ApplicationMenuItemRepository.getInstance ();
    amir.addMenuItem (ApplicationMenuItemRepository.MENUITEM_MESSAGE_LIST, mymenu);
    } catch (Exception e) {}
    Utility.debugLog (try (), CLASSNAME, 'hand', Utility.EXCEPTION_INFO);
    System.out.println("Error:"+e.ToString());)
    }
    } else {}
    show on the application of spam...
    AppMain _theApp = new AppMain();
    _theApp.enterEventDispatcher ();
    }
    } else {}
    show on the application of spam...
    AppMain _theApp = new AppMain();
    _theApp.enterEventDispatcher ();
    }
    }

    Can we know what is the problem in my code or something I'm missing.

    Thanks in advance.

    Navneet Gupta.

    application menu items have been bugged for ages. There is nothing you can do except change your workflow. in some cases, you can recover the app screen and trying to extract something of these fields, but becomes more difficult in the new OS versions because of custom fields used by rim.

  • Remove context menu items get Suggestions and add them to the dictionary

    How can I delete the 'get the Suggestions' and the items of the context menu "Add to Dictionary" for an EditField?

    I request this API targets 4.2 but running this application on 4.7 API (TOUR) presents these two new context menu items. Is it possible to disable the elements of pop-up to appear? I tried setting the indicator of EditField.NO_LEARNING but that does not work.

    Thank you.

    Found the solution. You must set the field. NON_SPELLCHECKABLE Pavilion on the style.

  • When I try to send an email to multiple recipients, I get this message: "there are non-ASCII characters in the local part of the address of the recipient. This is not

    I bought a new computer. When I try to send an e-mail to multiple recipients, now, I get this message: "there are non-ASCII characters in the local part of the address of the recipient. It is not yet supported. If please change this address and try again. "I don't know what are the non-ASCII characters, so I don't know what to do. I never had this problem on my old computer. Please explain in simple language.

    The 'local' part in the context of email addresses, the part to the left of the symbol @. The warning is a bit of a surprise, because in general the owner of a mail server is relatively free to specify the address format. There is a movement to allow the games to other characters to be used in the fields, so I'm a little disappointed to see that, apparently, e-mail does not support the latter in the local part yet or it can be your SMTP server that generates this message.

    ASCII characters ("American Standard Code for Information Interchange") are, on the whole, the English alphabet, uppercase and lowercase, as well as figures, common punctuation and case of things like the asterisks, obliques and media bars, but not of accented characters. But even apparently simple things like spaces and dashes have cousins who, at first glance, appear to be identical, but are not represented in the ASCII system. I am thinking especially nonbreaking spaces, dash and half-quadratin.

    But I don't know why your new computer must have caused these warnings.

  • the menu items have _1 add to get a selection of used Menu

    I read in the text of a spreadsheet file and I create menu items to aid insertion of Menu items.  The menu looks very good.  I click on the menu and I can't see the following:

    My Menu

    Section A

    Item B

    Point C

    I use get a selection of menus to see one that the user has selected.  When the user selects the element B the element tag of me returned by get a selection of Menu says "Point B_1" the same for the other choices.

    I've been using get a Menu selection for a long time without problem.  The only difference here is that some of the items in my Menu also appear in my Menu others.  Is it possible that the element tags must be unique on all menus? And if so, how do I get around this?

    David Lieberman says:

    Is it possible that the element tags must be unique on all menus?

    Yes. This is specified using LabVIEW.

    And if so, how do I get around this?

    You can not. They must be unique. You can always set the tags yourself. As long as they are unique.

  • Several list drop-down menu items to fill the area of separate text even. How can I do?

    Acrobat x Pro, I have figured out how to create a dropdown menu with items that will populate a separate text box, but how do I get several menu items to fill the text box. For example. My menu has three items, cat, dog, mouse. I choose the cat and it appears in the separate text box (hooray). Then I choose "dog" in the same menu. I would like it to appear in the text box even my previous selection 'chat '. Is this possible? I am very new to JavaScript, any help would be greatly appreciated! Thank you

    Change the last line:

    getField("Text_field_1").value += "" + aQuotes [point];

  • I want to get rid of the Bing screen, but there is no "menu at the top of the Firefox window" for me "Select tools and then select the Add-ons menu item.

    I suddenly have a 'Bing' screen when I connect on Firefox - and I want to get rid of it. The support section of Firefox says
    1 "in the menu at the top of the Firefox window, seledt tools, and then select the Add-ons menu item." - but I don't see any 'menu item' tools, or much less modules.
    2. "in the window modules, click the Extensions Panel"- but how to find the Modules window?
    3. find the Bing and extended support to search toolbar in the list and then click on disable for each of them. ' - but what and where exactly is - this?

    At the top of the screen is only an icon of Yahoo to the left and to the right of it, a search box, 'Web search', 'My Apps,' Yellow Pages,""Weather","Updates"and"Skype ". to the right of the people, there is a green cross saying "add more applications. to your toolbar"and to the right of this one kind of gear shift looking icon saying"toolbar settings ".
    So, in short, how can I get rid of the Bing screen and how to access these tools?
    Thank you.

    Versions of Firefox 3.6 + have a feature to allow the user to hide the Menu bar.

    Press the Alt key to temporarily show the Menu bar, then open view > toolbars and select menu bar, so it has a check mark.

    The F10 can also be used on most PCs to temporarily reveal the menu bar.

    https://support.Mozilla.com/en-us/KB/menu+bar+is+missing

  • How to add the menu item in the context menu of the Gallery

    Hi all

    I am new bie BlackBerrry development. Does anyone know how to add a menu item in the context menu of the BlackBerry Gallery. In other words, when I am browsing photos in the Gallery, click on the menu, there will be a configurable option so that my request will be executed when I select this item.

    Thank you
    TuanSandman

    See this article.

    http://www.BlackBerry.com/knowledgecenterpublic/livelink.exe/fetch/2000/348583/800332/800367/How_To _...

    Check the class ApplicationMenuItemRepository for applications where you can add the custom menu item.

  • How to add custom context menu menu items?

    How to add custom context menu menu items?

    through c++ sdk

    Hi Philippe,.

    to display a context menu you just replace the path of the menu. For example if you have a menu ' hand: & Layout: MyMenu "you can add it to the context menu"RtMouseLayout:MyMenu"in your MenuDef resource in the file en with the ActionID of your ActionComponent.

    Markus

  • Is there a way to get the submenu above the menu item?

    I'm creating a digital magazine I need to a menu at the bottom with a drop-down list for the pages, which I obviously need this submenu to go up because the menu is at the bottom.

    I was playing with the settings but I can't seem to make it work. I forgot something, or it's just not as simple as that?

    Arviage,

    Yes, you can accomplish a submenu "move up", but not by using a typical submenu item. Create your menu down as you normally would, but your submenu in the context of a widget of composition and place the transparent trigger on the menu item that you want to appear.

    Follow this video (starting 16 minutes) and see if that helps - it should show you how to create the submenu of the composition and to your application, simply let you shoot at the bottom of the composition to create the effect of "moving upwards":

    Muse Jam Sessions_97_MuseFall2013

    If it doesn't make sense, let me know and I can send along a video of doing me this feature myself.

    -Emily

Maybe you are looking for

  • Take advantage of the desktop connection using a Wi - Fi connection?

    My Mac Mini is connected to my router via a network cable directly by Wi - Fi. I am considering the turn off Wi - Fi because it offers another point of entry for the pirates. If I have understood correctly, Wi - Fi is required to get my location to t

  • Drivers W2k for Tecra A4PTA42E

    Hi all We have a network of business and it will run on Win2k.We have just received a shipment of new notebooks Tecra A4, and now we try to install Win2k on itbut we cannot get all the devices to work.We researched all Toshiba sites but no luck in fi

  • SE connect/disconnect Internet using a command prompt

    original title: to connect/disconnect Internet Is it possible to disconnect & reconnect my internet connection of cable to a command line in Windows XP?

  • Resource protection Windows corrupted files but unabel to rectify some of them was

    Hi everyone, I am a newbie for now.Just bare with me if this post shoulb be in another place. After running sfc/scannow on my vista ultimate result was: Windows resource protection found corrupt files but was unabel to correct some of them.Tell me wh

  • BlackBerry Smartphones camera will not work

    When I try to use the camera on the blackberry, I get the following message: "unable to DΘmarrer the camera.  "Close other applications and try to reopen the camera." I don't know how to make sure that other applications are not open in the backgroun