Listeners PIM

How energy-consuming is it? If I apply about 3 or 4, the user notice a significant change in battery energy consumption?

Of course, the answer is "it depends"!

Addition of listeners who do nothing will have a negligible impact on the user and the battery.  The listeners themselves are low overhead.  Sound the work that you do in them which is the potential killer.

Tags: BlackBerry Developers

Similar Questions

  • sudden error "too many listeners on GPIB.

    Out of the blue, I'm suddenly in the face of this "too many listeners on the GPIB" error, and my PC has found is more all instruments in NOR-MAX. I have a GPIB-USB-HS connected to my PC and 8 instruments (some HP4142b, Keithley instruments, electricity, etc.), Garland with different GPIB cables... I was able to control them in LabVIEW and summer don't saw no problem with it for months.

    Then yesterday, LabVIEW (I have 2012) suddenly hung when I tried to access one instruments (which went in the State "is not responding"). He could see to the recovery, is no longer one of my instruments GPIB on the menu drop down. I rebooted LabVIEW, but still the same thing... could no longer see my GPIB instruments. I rebooted the PC and the same issue. Then, I could see no longer the GPIB instruments in NOR-MAX. I spent a few hours of debugging, try different configurations, connection to 1 or 2 instruments at once... now with this new Setup, I am able to let him see 7 of my instruments, but not all 8. I have a system to Keithley 7001, it doesn't seem to like more... When I connect it to the rest of the GPIB instruments, I get the "too many listeners' error and can not see all the instruments in Max weird because I have two of these 7001 s in my installation, and it is seems ok connection to one but not the other.

    Overall it is really strange and I can't figure out what that might be the problem... would appreciate advice/suggestions.

    I have checked/tried things

    -all GPIB instruments have unique addresses... There is no conflict of interest. as I said, things worked fine before... Suddenly, they were not.

    -doesn't seem to be a problem of GPIB cable. I tried different cables... same cable will be allowed to connect to a single instrument, but when I use it to connect to this particular Keitlhley instead, none of the instruments can be found.

    Also, I just noticed something, don't know if this is important... for my GPIB-USB-HS, the 'Ready' light always seems amber glow... it is never green. And never seems to light 'Active' lights... even if I send orders to the instruments.  Not sure if it of important or not.

    OK, I seem to have solved that problem. I changed address GPIB instrument troublesome Keithley to a number much more than the other instruments (e.g. addr 30 and other instruments were 10, 11, 12, etc.) and it worked. I don't know why it didn't work until he was NOT an address conflict (it was originally addr 9 and no other instrument has this address and it worked fine... just one day he complained there are too many listeners and he could not see what be it... strange. just this announcement here in the case where he helps to anyone.)

  • Services of PIM of Q10 of blackBerry using + 30% CPU and battery drain

    My battery drains too quickly. Found PIM Services that run + 30% CPU up to 70%.

    Q10 SW 10.2.1.2102 OS 10.2.1.2141

    Have restarted my phone several times no luck

    you only paid into the account? If Yes, then it may take time depending on how you synchronize

    If not, then can a corrupted conact or calendar item exists.

  • 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

  • API of BOTTOM add user with the PIM Memo/address settings

    Hello

    I try to add a new Blackberry user if LOW API with the PIM Memo/address configuration. I know that using the BASUserAdminClient it is possible, so I think it would be possible to do the same thing by using web services.

    Have no idea about it?

    Currently user control PIM by BWS is limited to control wireless synchronization and the resolution of conflicts, specification of the server is not yet supported for knowing where to retrieve the data.

  • Problem with removeContact()... PIM API

    Hello

    I pasted the code...

    I don't get any Exception in removeContat()... The emulator gets just hanged after calling removeContact().

    I knew that when I add all the fields in the contact book; That is to say, birthday, Date of birth, User1... and notes and I try to remove this person from the list of contacts that the emulator gets hanged without throwing an exception.

    Can you tell me what the problem is.

    PIM BlackBerryPIM = (BlackBerryPIM) BlackBerryPIM.getInstance ();
    System.out.println ("trying to read contacts");
    List of contacts of BlackBerryContactList = (BlackBerryContactList) pim.openPIMList (PIM. CONTACT_LIST, PIM. READ_WRITE);
    System.out.println ("trying to read contacts1:" + contactList);
    Enumeration enumer = contactList.items ();
    System.out.println ("trying to read contacts2:" + enumer);
               
    While (enumer.hasMoreElements ())
    {
    Contact BlackBerryContact = (BlackBerryContact) enumer.nextElement ();
      
    contactList.removeContact (contact);
                   
    }
    }
    catch (System.Exception e)
    {
    System.out.println ("Exception:" + e);
    }

    Resolved A...

    I implemented a PIMListner interface and add a listener to the list of contacts and put implement the and it worked fine for me.

    public void itemRemoved (point PIMItem)
    {
    Try
    {
               
    Item.Commit ();
    }
    catch (System.Exception e)
    {
    System.out.println ("Exception in article deleted..." (+ e) ;
    }
    }

  • creation of BB::PIM:Account:Account

    Hello
    I'm trying to apply, which manages its accounts/contacts/messages using the PIM API. I can't create account using AccountService::createAccount (...) - authorization error, even if I have all possible permissions. AccountService doc, I read the following:
    "No account call requiring write access (to change, add, or remove an account) is not granted to third-party applications and will result in failure."
    PIM API is usable for specific custom application accounts?

    Welcome on the support forums.

    Unfortunately: No.
    You can check the integration hub, but creating an account is not available.

  • Global events and global event listeners does not work!

    I don't know who to ask if I have questions about knowledge base articles so I'll post here.

    I want to push the alert as how dialog box integrated calendar alerts to users. I understand that I need to use the globalevents and listeners, so I studied it in the knowledge base article below:

    http://supportforums.BlackBerry.com/T5/Java-development/global-events-and-global-event-listeners/TA-...

    However, when I run the code, it does nothing. The way it is set up, it should display messages ("received event, sending accused of receipt and acknowledgement received"), but nothing happens on my Simulator, once I have 'fire' of the global event. Help, please!

    No problem. We were all there at one point.

    Each of these files has a main method that is your entry point to the application. Since everyone has one, they all have two need to have their own projects.

    For example, to create a new project for each of these files in Eclipse (or JDE; Eclipse preferred) and drop the code in., and then run the two projects on the Simulator.

    Once both applications on the sim card, you can then view the interaction between the two applications.

  • BlackBerry Z10 pim services calendar function

    Hi, I have a problem with the battery that others have as well. I have my case we are struggling a long time ago.

    We tested synchronization of calendar If disabling the account from the bes. This helpes. PIM is 0.2 procent regularly 30.

    We discovered that we have 8000 calendar items which we deposited in the 1,000 left.

    They have a 30% discount at 10

    We have removed all the remaining elements of the calendar. Resynced the laptop with the server.

    PIM service went down, but when the restore calendar items so 2014 and ahead then Pim services went up again.

    Can q. I find calendar items, the cause?
    Q. what would be the next step?

    Additional information. I checked some calendar items that are birthdays. It was difficult to remove then in outlook. After. some testing he did remove. The memory of Pim services went down 40 procent. And the level of cpu as well...

  • BlackBerry Z10 what are the PIM Services?

    When I go into settings > App Manager > device monitor there is something 'PIM Services' that consumes a lot of battery every day. How the judgment?

    PIM for Personal Information Manager (management), is responsible for managing the accounts on your phone.

    I would not recommend removing it, but if it takes a long time to treatment, then it is because you have recently updated or a particular account is causing problems.

    If it is still in the same way in the next few days, try narrowing that counts, it is and remove it if possible.

  • 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

  • PpsClient::init: ERROR: open: ' / pps/services/pim/session? expected' 'Permission denied' open failed:

    Hello

    I get the error above, when I run the application. I call a simple function to send an e-mail by using the messageService API.

    When I run the MMSsample, it does not give this error.

    Successful completion of the MmsSample:

    New Session request
    Open success:
    Details of the session ""https://discoveryservice.blackberry.com/discoveryPoxmlServlet/ " "1.0""127.0.0.1"8888"
    creating successful local SMS - MMS account
    XXXX account SMS - MMS
    Call AccountServicePrivate::accounts for the 'messages' and «sms - mms» provider service
    XXXX you account SMS - MMS. ID = 23
    PpsTimeSettingsObject issued::newSettingsData()

    For my Application:

    New Session request
    PpsClient::init: ERROR: open: ' / pps/services/pim/session? wait' "Permission denied."
    Failed to open:
    Details of the session ' ' ' ' ' ' 0
    creating successful local SMS - MMS account

    I don't know what is the problem?

    Do you have the correct permissions?

    To use the e-mail service, you must set the access_pimdomain_messages to access the e-mail and messages of pine and the authorization access_sms_mms to access text messages. These permissions are defined in the file of the bar - descriptor.xml of your project.

  • PIM makes contact with phone number?

    Hi guys,.

    I'm tring to recover contacts devices and I did get all the data but I can not get the phone number

    bb::pim::contacts::ContactService *service = new bb::pim::contacts::ContactService();
    bb::pim::contacts::ContactListFilters filters;
    filters.setLimit(0);
    List contacts = service>contacts(filters);
         for(int i=0 ; i < contacts.size() ; i++)
         {
    
             qDebug()<<"firstName<"<			 

    The problem was, I have to get contact with contactID

    const Contact contact = service->contactDetails(contacts.at(0).id());
    qDebug()<<"firstName"<		   
  • Cannot update the categories for blackberry.pim.Task)

    Hello

    I'm developing an Application of tasks with Blackberry WebWorks and JavaScript for OS 5.0.0. +.

    The work of JavaScript functions fine base, I can read tasks, organize by categories, read status, uid and so on.

    Create new tasks usually works as well, but: this task which does not work is the award categories to a new or existing.

    Here is the JavaScript code that creates tasks.

    function addTask(field) {
            var newTask = new blackberry.pim.Task();
        newTask.summary = document.getElementById(field).value;
        newTask.note = document.getElementById(field).value;
        newTask.categories = "DesiredCategory";
        newTask.save();
    }
    

    As I said, the task is created, but without category (category itself is of course).

    Any ideas?

    Thanks in advance!

    Hi DerSchneider,

    There is a bug in our docs, categories must be an array of strings. I've updated this issue in GitHub https://github.com/blackberry/WebWorks-API-Docs/issues/223 accordingly

    The following simple change should fix.

    newTask.categories = ["DesiredCategory"];
    

Maybe you are looking for