error BlackBerry.PIM.contacts.Find

Hello

in my application, I <> ermit > access_pimdomain_contactsermit >, that I would like to contact.

BlackBerry.PIM.contacts.Find (contactFields, findOptions, onFindSuccess, onFindError); always makes me success call back even if I turn off my permissions of applications safety contacts and privacy-> application permissions-> my request.

Ideally, it should go to onFindError and throwing an error: 20, permission denied.

How to fix this, please help

Recorded a problem in the Git hub:
https://github.com/BlackBerry/BB10-WebWorks-framework/issues/652

Tags: BlackBerry Developers

Similar Questions

  • different types of property blackberry.pim.Contact

    The WebWorks documentation documents the categories property of an blackberry.pim.Contact to a string object:

    http://www.BlackBerry.com/developers/docs/WebWorks/API/BlackBerry.PIM.contact.html

    I actually see it as an array of strings in my tests with SDK 2.1.  The intention that it should really be a string or an array?

    Catch deedubbu,

    This is an error in the docs and must be an array of strings. Why don't you help to repair by logging into an issue on github here

  • 'undefined' is not an object ("new blackberry.pim.contacts" evaluation)

    Hi, I'm working on the PIM contact. I did the CPO. That works well, but when I put implement this code in my project, I am getting following error

    TypeError: 'undefined' is not an object ("new blackberry.pim.contacts" evaluation)

    He comes to
    findOptions = new blackberry.pim.contacts.ContactFindOptions ();

    I added also permission

    <>ermissions >

    <>Ermit > access_pimdomain_contactsermit >

    ermissions >

    Any help

    I have error. To add the function id in the config file.

    I forgot that part.

  • blackberry.pim.contacts.Contact.save () does not work in the perimeter of the company

    I created a contact. Then, I saved the contact. Everything works fine in the personal area.

    var createdContact = blackberry.pim.contacts.create();
    // Adding properties here
    createdContact.save(onSaveContactSuccess, onSaveContactError);
    

    But in the perimeter of the company, I get:

    blackberry.pim.contacts.ContactError.INVALID_ARGUMENT_ERROR

    When save() is called.

    Can someone confirm this behavior?

    Well, it works today. Perhaps, allowed the restart of the unit. I will study it further.

  • BlackBerry WebWorks PIM Contact Plugin customization for retriving the list of all the Contacts in the phonebook

    Hi all

    I use the plugin contact Blackberry 10 webwroks sdk 1.0.0.Howvere pim, it gives me almost all pim access contact api.

    However, I would like to add a few additional options of pim api. Exactly, I want to customize seen pim plugin contact. And to expose methods added to the WebWorks project.

    Now, will I have to make the plugin necessary to start contact (by writing native code, and then wrap the same in construction of extension).

    Or is he in any case, I can get the code for the pim.contact plugin that came with blackberry SDK and can make the necessary changes in the native code and buiding new folder so and, following the steps for the construction of the extension.

    Here is the reason why I am demanding to make it personalized:

    I can't find any method that can retrieve list of the basicarry contact a table containing data for all contacts. The only thing I am able to do using the method find explicitly by setting the limit.

    Please suggest something and also correct me if I am wrong somewhere.

    It may be easier to start with your own custom extensions, but if you want to take a look at the SDK WebWorks and included extensions, that would be the best starting point.

    https://github.com/BlackBerry/BB10-WebWorks-framework/tree/master/ext/PIM.contacts

  • Problems when creating extension using pim contact webworks API

    Hello

    I need to create an extension that use webworks APIs to get all contact data as well as launch the contact selector and must obtain the name of the contact, numbers and Base 64 of contact image chain.

    Now, I have a few quesries below:

    1. I tried to reach my api requirement with webworks. For this, I did changes in the config.xml file.



    <>ermissions >
    <>Ermit > access_pimdomain_contactsermit >
    ermissions >

    and able to access the API of pim.contact placed here: C:\Program Research In Motion\BlackBerry 10 WebWorks SDK 1.0.4.11\Framework\ext\pim.contacts

    But when I tried to get all contacts by using the getContactAccounts() method, it gives me two accounts simcontacts and LocalContacts and their identity papers are respectively 2 and 19.

    I found that I can get the list of contacts using the example of the contacts. but this is to limit the length to 20.

    http://supportforums.BlackBerry.com/T5/Web-and-WebWorks-development/need-help-with-BB10-WebWorks-con...

    2.i have not found any documentaion appropriate for the fields of my contact: name, numbers and Base 64 of contact image chain like the way they gave in the native SDK documentation.

    Please share any code example that is in all fields of contact data of Singla retrieving.

    3. I need to share my contact plugin and need to expose certain methods of my plugin webworks.

    How can I reach it?

    Is it possible to get the code side native for pim.contact plugin, so that I can add methods more in it and can expose these methods more Web app works by making the required in index.js and client.js chnages.

    Help, please.

    I checked and there seems to be a problem with the API that has been fixed for version Gold SDK. Here you can find a similar position:
    http://supportforums.BlackBerry.com/T5/Web-and-WebWorks-development/need-help-with-BB10-WebWorks-con...

    And more information on the real fix here:
    https://github.com/BlackBerry/Cordova-BlackBerry-plugins/pull/80

    It seems that it was default 0, which gave 20 results, as opposed to-1, the expected default value.

    For now, if you simply pass a high value for limit, which should get the contacts (i.e. 1000). I know that's not ideal, but a workaround for now.

    For plugins, the best starting point would be the following.

    WebWorks SDK 1.0:
    https://github.com/BlackBerry/WebWorks-community-APIs/tree/master/BB10/template

    WebWorks SDK 2.0:
    https://github.com/BlackBerry/WebWorks-community-APIs/tree/master/BB10-Cordova/template

  • Error: Cannot run program "jar": CreateProcess = 2 error, the system cannot find the file specified

    Hello

    My apps works very well for the current code, but if I add a new function or class in my eclipse application code indicates the error of

    Error: Cannot run program "jar": CreateProcess = 2 error, the system cannot find the file specified

    I searched the forum and google for this problem, certain solutions are related to java path but myjava path is ok as the current code works very well

    So what problem here? and whats solution for that?


    has got the solution to the problem of its need for .jar files path previously I did not understand why he neede path of pot now his reason is here

    http://supportforums.BlackBerry.com/T5/Java-development/I-O-error-cannot-run-program-quot-jar-quot-C...

  • [HELP] I/o Error: Cannot run program "jar": CreateProcess = 2 error, the system cannot find the file specified

    Hi, I'm new developer on the Blackberry platform.

    I make the first application, but there is a problem when I wanted to install in the Simulator.

    My application has several screen and each take the server data, analyzing the data and displays on the screen.

    My problem is any executable thread.

    When I'm using the code below, it is fine. My application can work perfectly on a simulator.

    public TestingScreen() {
       // Runnable thread = new Runnable(){
       //   public void run() {
        // TODO Auto-generated method stub
            // my code get data from server
            Dialog.alert("Hii");
       //   }
       //};
       //new Thread(run).start();
    }
    

    but, if you use floor area or UiApplication.getUiApplication (.invokeLater), I got error "i/o Error: cannot run program"jar": CreateProcess = 2 error, the system cannot find the file specified"

    public TestingScreen() {
       Runnable thread = new Runnable(){
          public void run() {
        // TODO Auto-generated method stub
            // my code get data from server
            Dialog.alert("Hii");
          }
       };
       new Thread(run).start();
    }
    

    I have the 11 screen and all have executable statement and works perfectly. Can run in the Simulator, can get data from the server. But when I create the new #12 screen (copy paste other on-screen), page couldn't use an executable statement. Each I use Runnable/thread, I got error. But when I remove an executable statement my work normally requires.

    I already have Google but I do not get the answer.

    Please advice. Thank you very much.

    Kind regards.

    hrnt, thanks for your answer on this issue. It helped me solve my problem as well.

    Just to add, for someone else, I use the 32-bit and changed Java SDK my way to the bin folder where the SDK was installed.

  • Difference between blackberry pim and pim j2me

    is it possible that j2me pim and blackberry pim support different contact fields?

    The BlackBerryContact interface supports more fields than the Contact interface.  These additional fields are listed in the constants section of the JavaDoc for Contact BlackBerry.

    http://www.BlackBerry.com/developers/docs/6.0.0api/NET/RIM/BlackBerry/API/PDAP/BlackBerryContact.htm...

  • Renowned software blackBerry BBM contacts

    I have two contacts with the same name (e.g. Bob).  To make it easier to tell apart them, I've renamed one to be Robert. In Blend when I try to compose a new message and type R O B no name not developed.  I have to type B O B and then they both come. It seems to search based on the original name.  On the device, it works as expected, research based on display names as I put them.

    Not a huge problem, I wanted to just report the bug somewhere.

    Hi @andrewsmiley

    I was able to confirm that our development team is aware of this problem. For your records, the following KB created was created on this subject. For now, you need to find the contact using their original name of BBM contact. Sorry!

    KB36359 after renaming a BBM contact, mixture of BlackBerry can't find it in a search

  • Support for blackBerry Smartphones BlackBerry PIM demo

    Hello team BlackBerry,

    We are working in HCL Technologies INDIA on BlackBerry Mobile Apps. We use the sample application Blackberry PIM DEMO provided by RIM with the separate package javax.microedition.PIM, so I need to know if there is support for javax. Microedition.PIM package if any pose queries when using the demo of PIM ie (javax.microedition.PIM) package.please I would like to know as it is very needed by our team to work on the PIM package.

    Please review as soon as POSSIBLE.

    Concerning

    Vinay mundrathi

    8179244050

    [email protected]

    Hello

    While its kind of you thought we might be scientists to BB, this forum is for ordinary users.

    The only contact I have is an email address [email protected]

  • Backup has encountered a problem during backup of the C:\Users\IUSR_NMPR\AppData\LocalLow file. Error: (the system cannot find the specified file. (0 x 80070002))

    At the end of the new backup, the following error message appears; Backup has encountered a problem during backup of the C:\Users\IUSR_NMPR\AppData\LocalLow file. Error: (the system cannot find the specified file. (0 x 80070002)) and files are the following:

    Backup has encountered a problem during backup of the C:\Users\IUSR_NMPR\AppData\LocalLow file. Error: (the system cannot find the specified file. (0 x 80070002))
    Backup has encountered a problem during backup of the C:\Users\IUSR_NMPR\Contacts file. Error: (the system cannot find the specified file. (0 x 80070002))
    Backup has encountered a problem during backup of the C:\Users\IUSR_NMPR\Searches file. Error: (the system cannot find the specified file. (0 x 80070002))
    Backup has encountered a problem during backup of the C:\Users\Guest\AppData\LocalLow file. Error: (the system cannot find the specified file. (0 x 80070002))
    Backup has encountered a problem during backup of the C:\Users\Guest\Searches file. Error: (the system cannot find the specified file. (0 x 80070002)

    Any help to help solve the problem and remove these files unless they need to be backed up. I tried and failed to find the files. Please note that windows 8 pro had cleaned originally had windows Vista, even I did find something on the error code: error: (the system cannot find the specified file. (0 x 80070002))

    Hey Amer,

    You can ignore this error message. You would usually encounter this problem if the Windows Backup tries to back up files in folders LocalLow, Contacts and research and these files are not present on your computer.

    Well, you also have an option to create or exclude files missing, listed in the error message.

    If you want to exclude this folder then please refer to the following steps.

    (a) in the backup section, click on "change settings".

    (b) in the dialog box Configure the backup , click Next.

    (c) in the 'you want to save ' dialog box, click on 'Let me choose ', then click on 'Next '.

    (d) navigate to the user profile folder displayed in the error message and clear the check box next to the folders.

    (e) save and exit.

    Hope the helps of information.

  • I tried all these steps and still no progress, cannot update or restore my phone. When you try to restore an error appears saying 'cannot find the phone (9).

    I tried all these steps and still no progress, cannot update or restore my phone. When you try to restore an error appears saying 'cannot find the phone (9).

    We do not know what are the following steps, because you have not provided their. Support this article has suggestions for your specific error code.

    If you see errors 9, 4005, 4013, 4014, when you restore your device iOS - Apple Support or

  • Error message - unable to find the proxy server - how can I solve this problem

    When I try to enter some sites I get the error message: unable to find the proxy server, Firefox is configured to use a proxy server that is not found. It happened all of a sudden and I don't know why or how I can fix it, it does not help that most help site are blocked. I'm using a Mac 10.5.8 and Firefox 15.

    Set not to use any proxy.

    Firefox> Preferences > Advanced > network > setting > don't score no proxy

  • Vista operating system. I get an error report "can't find printable HTML article.

    Firefox returns the error report, "Could not find printable html section" when you click on the printer friendly button. The printer friendly option work in Internet Explorer. Vista operating system.

    The developer of the page made a typo: the button is pressed by a script that seeks the printable element, but on the page, this item is marked printable - and JavaScript required an exact match.

    As a solution, you might set the font using the web console of Firefox. However, it would be wise to complain on the site if they did this on every page.

    To open the web console: Ctrl + Shift + k

    To correct the fault of typing, type or paste the following text at the side of the > and press ENTER:

    document.getElementById("printready").id = 'print ';

    Then click the printable version button to bring up the page in print.

    You can close the web console using the X on the toolbar or by pressing Ctrl + Shift + k new

    I hope this helps.

Maybe you are looking for

  • Satellite A200 stops automatically

    My Satellite A200 is less than 10 months old, but he started just suddenly stop without warning.When I try to turn it on again it often does not reach the screen of Vista before turning off again.Interestingly, when I remove the charger cable, it see

  • Win 7 Family Pack in the convents - can use multiple copies?

    Hello. Can you tell me how many copies of Windows 7 Family Pack upgrade can by a convent :), religious community. We have 11 computer including a capable to run Windows 7 well. The purchase of a 11 copies of Windows 7 Upgrade is about $1200, family p

  • Vista HP1100 HP 1100

    I have an old HP Laserjet 1100 with a parallel port.  I am now using a computer that has only the USB ports and the Vista operating system.  I bought a cable to convert the parallel to a USB connection.  But when I install the printer driver sucessfu

  • I messed up my default programs and now everything comes with Media Center

    I'm running Windows 7 on a Dell Inspiron M5040 in some sort I messed up my programs by default now everything is coming in media Center help me to return to the original values I don't have a recovery disk Thank you " Sandra WeissOriginal title: I tr

  • computer laptop Windows 8 cannot find the boot device

    Hey,. I had a problem with my dell vostro laptop computer with windows 8 OS. Today, when I try to boot my pc, I have an error like "no boot device found. If please restart the PC or insert the boot device. Later, I tried to run diagnostics on start u