Invoke crashes add to a CONTACT

In my application, the user can view contacts or add them if they are not on their contact list. I invoke the contact add like this

InvokeManager* invokeManager = new InvokeManager();

InvokeRequest cardRequest;
cardRequest.setTarget("sys.pim.contacts.app");
cardRequest.setAction("bb.action.ADDTOCONTACT");       cardRequest.setMimeType("application/vnd.blackberry.string.phone");
cardRequest.setData(phoneNumber.toUtf8());

invokeManager.invoke(cardRequest);

The contact application is launched, and I choose for a new contact. When I click on the new contact action, the application starts a new sheet to add the new contact with the provided phone number. But the app is stuck after that. I can't fill in more information and I can not choose to add the contact. Any ideas?

Thanks in advance

Hello

Please try this workaround (that might be already fixed in the latest version of the OS):

void MainPage::addPhoneToContacts_triggered()
{
        InvokeManager invokeManager;
        InvokeRequest request;
        // Note: Invoking the full contacts app to add a phone number crashes the app.
        // Bug report: https://www.blackberry.com/jira/browse/BBTEN-1073
        // As a workaround, invoke the contacts card with similar parameters:
        //request.setTarget("sys.pim.contacts.app");
        request.setTarget("sys.pim.contacts.card.picker");
        request.setAction("bb.action.ADDTOCONTACT");
        request.setMimeType("application/vnd.blackberry.string.phone");
        request.setData(phoneNumberString_.toUtf8());
        invokeManager.invoke(request);
}

Tags: BlackBerry Developers

Similar Questions

  • The use of AddressBookArguments to call contacts request to add a new contact

    I try to use AddressBookArguments (AddressBookArguments.ARG_NEW, Contact contact), where the setting of 'contact' is pre-filled with a few details. In fact what I want to achieve is to display the Contacts app on the device to add a new contact with some contact information pre-populated

    Address book AddressBookArguments = new AddressBookArguments (AddressBookArguments.ARG_NEW, contact);
    Invoke.invokeApplication (Invoke.APP_TYPE_ADDRESSBOOK, addressBook, contact);

    I'm heading in the right direction or I missed something.

    Can you help me to do this and how to do it.

    You seem to be on the right track.  Are you stuck on something or it does not work?  If so, can you give us some details?

  • BlackBerry smartphones, I can't add a new contact or edit an existing one

    When I try to add a new contact, it does not (in some cases, the phone crashes) and I have to remove the battery and restart the phone. even if I try to add contacts it doesn't let me edit or create new contacts. Sometimes I get errors after the phone froze who were: net_rim_bb_addressbook_app (185) does not.

    What can I do to solve this problem.

    Phone: storm 9500

    O.S: 4.7

    If you have recently (last week) installed an update of Yahoo or Windows Live Messenger, remove this app in Options > Advanced > Applications.

    Now, let's see if your address book is working properly.

  • I can't add a new contact on iPhone 6s

    Recently got a new iPhone 6 s. I tried to add a new contact and phone number to my existing list.

    There seems to be no problem until I checked the list and the new contact was not there.

    I looked online and saw another way to do it, by dialing the phone by clicking on the sign more number.

    It was supposed to take me to the page contacts where name etc can be added.

    I did, but to enter the last digit, the sign disappeared. So I tried again but this time

    I thought I would omit the last digit and change it after. Well, it's the same thing.

    Everything seemed fine, but... There is still no sign of him on the list of contacts.

    Even the contacts search shows nothing. Any advice?

    theatrechick wrote:

    There seems to be no problem until I checked the list and the new contact was not there.

    Especially this declaration, supported by the rest of your post, suggests that there is more than one source of your contacts.

    When I think to education "[I] recently received a new 6 iPhone" and I think to enter contacts into an iPhone brand new (without any other reference in your post), I think that you manually type them in.  They would be stored locally only your iPhone, or maybe in iCloud if you have turned on iCloud contacts.  In one of these two scenarios, entering the future contacts would not be a problem, because they would be placed in the only and unique casing that you put in place.

    But in your case, since you never mentioned where your contacts are housed and had this phenomenon of missing contact, it is very likely that you are housing your contacts in several places (e.g., Facebook contacts importers?).

  • My Windows Live Mail is sorted in alphabetical order by family name, but now, when I add a new contact, it is positioned at the top of the list instead being placed in the right place alphabetical.

    My direct mail is sorted in alphabetical order by family name, but now, when I add a new contact, it is positioned at the top of the list instead being placed in the right place alphabetical.  How to load the list of contacts to organize all contacts, including contacts, in alphabetical order by family name?

    E-mail address is removed from the privacy *.

    My direct mail is sorted in alphabetical order by family name,

    It is not clear what you mean by this statement.

    • There is an option in the contacts window in kind (names) of > name -is that what you mean?
    • Or that, when you open / switch to the contacts window, you see a list sorted by last name?
    • Or that when you click on to... or start typing in the to... box in a message composition window, you see a list ('contact selector') sorted by family name?

    Only in contact with an e-mail address will appear in the "Chooser". The list includes names in alphabetical order. For contacts with a first name and a registered name , the list will be sorted based on the preference granted to sort by in the Contacts window. Contacts with multiple email addresses will appear once for each address with the address in brackets after the name.

    Name is a special value built by WLMail contact data fields. It will consist of the first match found during the analysis of the data fields in the following order:

    1. Nickname
    2. First name + last name (in the order specified to sort by in the Contacts window)
    3. First name or last name
    4. Company
    5. E-mail address
    As you start typing in of... box, WLMail will present a list of matching entries in your contacts list. You can start typing username, first name, first name, company, e-mail address to a contact or any significant word in the Notes field for this contact. So, if you type bil, for example, the list that appears will include
    • any person whose nickname starts with Bil, e.g. Billyboy
    • any person whose first name begins with Bil, e.g. of Bilbo Baggins
    • anyone whose first name begins with Bil, for example Jim Bilko
    • everyone whose company name starts with Bil, e.g. Billingsgate Market
    • everyone with an address of e-mail from bil bil or just after a period or the ' @' symbol, for example "the bilbo at hotmail dot com" or "jim to billingsgate dot com" or "jim.bilko at hotmail dot com.
    • all categories whose name contains a word starting with bil

    If this does not solve your problem, please post your question in the forum dedicated to contacts in Windows Live Mail.

    Noel

  • All my files are similar to the same folder Contacts photo and cannot add or Edit Contacts.

    Original title: the folder view

    All my folders look like photo folder... same Contacts, Ouch!  I can't add or Edit Contacts.  Folder views change randomly.  I have set up in the Options, sometimes to keep the changes, often not.  I never know how a folder will display when I open it.

    Suggestions;

    1 make sure that your machine is clean. Run a full scan.

    2. If it's clean, do a regeneration of the icon cache.
    http://www.Vistax64.com/tutorials/117229-icon-cache-rebuild.html

    3. If that doesn't still no help, run a file system check. It's to find corrupted files, and he will try to fix it if it is found.

    http://www.Vistax64.com/tutorials/66978-system-files-SFC-command.html

  • Add a new contact, the new email address is not alphabetical order.

    list of Windows mail contacts

    Add a new contact, the new email address is not alphabetical order

    Hello Marcococozza

    Follow responses of Dave, David and Suzanne in the link below and let me know if it helps.
  • Where can I find out how to add a new contact in windows Live Mail?

    Original title: Live Mail help

    I'm new to Microsoft Live Mail.  Where can I activate using simple?  For example, where can I find out how to add a new contact?

    There is a little blue ? the question mark button in the top right, which will take you to page here to help Windows Essentials.  You can discover all the tutorials available.

    To add a contact, click Contacts on the left, then click on 'new contact' on the toolbar.

  • How to add emails and contacts in the e-mail program in windows 8.

    Original title: Windows 8 E-mail.

    I just bought a new touch screen with windows 8.  I don't know how to add contacts/addresses in the e-mail program?

    Hi Todd,

    Thanks for posting your question on the Forums of community of Microsoft.

    Glad to know you bought a computer that has Windows 8.

    Want to know how to add addresses of contacts and emails to the mail program, I suggest you follow the links when he talks about how add the emails and contacts in the e-mail program.

    Application of mail for Windows: frequently asked questions

    http://Windows.Microsoft.com/en-in/Windows-8/mail-app-FAQ

    Move your mail and contacts on your old PC

    http://Windows.Microsoft.com/en-in/Windows-8/move-contacts-mail#1TC=T1

    Reference:

    Stay organized with email and calendar

    http://Windows.Microsoft.com/en-in/Windows-8/mail-calendar-app#1TC=T1

     

    For the related issue of Windows or anything related to the Windows operating system, do not hesitate to contact us and we will be happy to help you.

  • Add the new contact

    Hi, I have a problem with a part of my integration - adding a new contact. I do all kinds of things with integration objects, including the update of the Contact object and will have no problem. Specifically, it adds the new contact, but it times out:

    HttpException (0x80004005): request timed out.

    This sometimes happens, sometimes it doesn't, but it always takes a lot of time to InsertOrUpdate compared to adding/getting contact to date of other objects. (What is normal behavior?) I went through the code and everything seems fine. I just vomit this here to see if someone had a problem of simliar or off-the-top-of-the-head suggestions.

    It's been a while since I've been here and I've not been keeping up with the goings. Probably there was at least a new version since I checked last and I see now that they are at the Service of Web 2.0.

    This is a c# project and I use Web Service 1.0. I use forms authentication and I set a timeout to 20 minutes. It is based on the c# WebSelfService example I received from customer of 18 months previously.

    In addition, please do not assume that I am smarter than I really am. Do not think that "well, surely he has verified that if I post." Just after some thoughts come to your head.

    Thank you.

    Published by: user10974562 on April 3, 2009 06:18

    Published by: user10974562 on April 3, 2009 06:21

    Just a question... Reg your insert.

    How are you populating the Manager field in your insert?

  • add/delete a contact group message iOS 10

    Can't seem to find how to delete/add contact group message since the update to iOS on iPhone 10 6. Solutions?

    nessrez wrote:

    Can't seem to find how to delete/add contact group message since the update to iOS on iPhone 10 6. Solutions?

    Send a message from your iPhone, iPad or iPod touch - Apple Support Group

    This is possible with an imessage group all users using an Apple device.

    You can't do it for a group message MMS - mix Apple and not Apple device device.

  • How to open thunderbird add on 'Duplicate Contact Manager' since there is no entry icon or menu for it.

    I downloaded and installed the "Duplicate Contact Manager" for Thunderbird, and restart Thunderbird. I spent half an hour looking for 'Duplicate Contact Manager' in Thunderbird. There is no icon anywhere for it. It is not listed in any menu of Thunderbird, or the main menu, not the Contact menu. Of course, I'm the only person in the world with this problem as no one else has a problem using Add on. What gives?

    You could ask the author to add it on. Support for Add ons are the responsibility of the author.

  • Contacts app - cannot add a group contact

    Contacts app needs a bit of love programmer.

    I am trying to create a new group of contacts (* no * a "Smart group").

    I created the (file-> new group) group.  Tried to created in the section of the sidebar and "on my Mac" iCloud Same behavior.

    I select "All Contacts" and enter a keyword to search for. If the contact is not in the Contacts, but is in the Mail, you * must * "Add to Contacts" entry allows you to drag the contact into a group.

    You * might * be able to do it once or twice, but soon the Contacts won't you allow to drag anything else in the new group you created.

    If you leave Contacts and re - open, you can add one or two people, and then it stops once to answer more trolling.

    All this experience?  Or a solution?

    Hi there, Mark Rushton!

    Contact groups can be quite practical, and I understand your message you are having a little trouble to create yours--you cannot drag contacts you want in the Group shortly after. I know it's important to be able to create these groups with all you need, and I have a few steps, we can try troubleshooting.

    1. Exit the Contacts App. Hold down the SHIFT key on your keyboard. While now Shift, re - open Contacts. Try to add to your group again.
    2. Restart your Mac. Click on the menu  Apple in the upper left of your screen, then select "Restart" in the menu dropdown. When the computer is back on, Contacts open and try to add to your group again.
    3. Test of a new user account. This will help determine if there is no data that could cause a conflict. Instructions on the configuration and test in a new user account can be found in the article from the link below.

      How to test a question in another account on your Mac.

    4. Try to create your group in Mode without failure. Use the following article to help get into Safe Mode. Even if the title is not specific to your question, it's still a big step to take. Safe mode runs checks on your system and prevent execution that might be the cause of some software conflicts.

      Try safe mode if your Mac does not end commissioning

    Have a great day!

  • Cannot add groups of Contacts

    All of a sudden I can't add groups to my contacts file.  I can add new contacts but not groups.  He says only: "untitled folder."  This is a brand new 13 "MacBook Pro with El Capitan with installed 10.11.2.  I removed the selection of contacts from iCloud, rebooted the machine and added Contacts to iCloud, and it still does not work.

    He says only: "untitled folder."

    That's what's supposed to happen. Click the name to select it, and then enter the name you want.

  • How can I add a new contact as a favorite?

    I have a new contact. I would like to add to one of my groups. I understand that, to do this, it must be marked as a favorite how I do then?

    Hello

    You provide enough information to help us. We don't even know what
    the program that you are using. Please provide all the information we need to help us help you.

    How to ask a question
    http://support.Microsoft.com/kb/555375

    I hope this helps.

    Rob Brown - Microsoft MVP<- profile="" -="" windows="" expert="" -="" consumer="" :="" bicycle=""><- mark="" twain="" said="" it="">

Maybe you are looking for

  • Need new LCD display for my Satellite L655-128

    I'm looking to replace my LCD as it broke. The Satellite L655-128 model. Can any screen model satellite L655 enters my model or it is specific to the Satellite L655-128. Thanks for any help

  • HP D1660: Discontinued printers

    I wanted to know if the Deskjet D1660 printer has been abandoned.

  • HP Envy 6z-1000 screen and bezel problem

    Hello I bought my HP Envy 6z-1000 in October 2012. Since almost two years, I managed to avoid a fall or scratch, and performed reasonably well - apart from overheating, the weird sticky key and this strange feature that whenever I stop, it seems to i

  • Problem with the treatment of the communication data series

    I'm working on the communication between LabVIEW and my PIC Microcontroller UART. It works quite well with character Txn & Rxn.But I am facing problems in transmiting and receiving the hexadecimal numbers. through this interface. First of all, is pos

  • On the Windows installation

    Hello First of all, I want to thank for all Microsoft Services... I have a problem and I think you can solve it I have Compaq Mini 110 HP and I want to install Windows Xp with its product key The product key, written on the back of the laptop And I k