WebWorks app not to recognize the plugin for Blackberry app

Hello! I'm portage a webapp Android to WebWorks. My Android application using Phonegap, so when I discovered the new WebWorks used to, it was a great relief. But the problem came when I tried to use the BlackBerry push service, because demand for some strange reason does not recognize the plugins I have installed through the console, just like the documentation says http://developer.blackberry.com/html5/apis/beta/blackberry.app.html.

Since then I have removed everything that belonged to the push service and I installed the com.blackberry.app plugin to test the ways that they are supposed to work. It debugged in the Web Inspector and I have this message.

ReferenceError: Can't find variable: blackberry

This error came from this line in my code:

Console.log ("the State of the screen is:" + blackberry.app.windowState);

In my config.xml file, I have the line:

I am new to this platform and I don't know if the plugins should be called somewhere in the html file or the js to make it work. Or is there something else wrong on how I use the plugins?

BTW: my application uses the last cordova because I developed since the SDK WebWorks, but my app Android used Cordova 2.0.0 and this library is called in the html code. So, when I tried to change the cordova for the last file, the application didn't work, so I left there where he was.


In the standard application of Cordova, the application calls app.initialize as follows (additional code left to show the implementation of the call and the scripts required):


Which is defined in index.js as follows:

    initialize: function() {

Which subsequently called bindEvents

    bindEvents: function() {
        document.addEventListener('deviceready', this.onDeviceReady, false);

And records the event deviceready on the document listener. It is an event of Cordova and fires after that cordova.js has loaded and initialized.

When occur, index.js continues to manage the event here:

    onDeviceReady: function() {

And we can see that receivedEvent can be used as a central event handler, if we so desire.

    receivedEvent: function(id) {
        var parentElement = document.getElementById(id);
        var listeningElement = parentElement.querySelector('.listening');
        var receivedElement = parentElement.querySelector('.received');

        listeningElement.setAttribute('style', 'display:none;');
        receivedElement.setAttribute('style', 'display:block;');

        console.log('Received Event: ' + id);

Note that the code inside receivedEvent is specific to the sample application by default.

If you customize the code, it is important not to break the chain. More precisely until when you add the deviceready listener. Of course, there are other ways to get to this point, but if we find issues, it is better to return to the example of the most basic.

If Cordova is indicating that he did not shoot within 5 seconds, there is not a lot of continuous loading on or Cordova has not properly load to the point where he can pull of the event.

If you connect Web Inspector and then press ctrl + r in the Web Inspector to reload the application, the Console shows additional failures? (This will allow the newspaper display all outings since the start of the run.)

Maybe in the network Panel, are there resources that could not load?

Tags: BlackBerry Developers

Similar Questions

  • Account Internet preferences system does not recognize the password for my AOL account... and so mail does not read the email in my AOL account

    Account preferences Internet system does not recognize the password for my AOL (Internet) account... and so Mail does not read the email in my AOL account

    Mail asking me to "Enter your password for [my AOL account] in Internet accounts."

    When I enter my password Internet accounts says it is "Impossible to verify the account name or password."

    iMac (24 inch, early 2009)

    Processor clocked at 2.66 GHz Intel Core 2 Duo

    Memory 8 GB 1067 MHz DDR3

    OS X 10.11.1 (B 15, 42) El Capitan

    Remove the password in Keychain Access (Applications/Utilities). While there, menu Keychain Access of relief.

    The problems of Keychain - see post of khati

  • My Windows Update does not seem to recognize the need for updates

    My Windows Update does not seem to recognize the need for updates to the programs... This has happened for a long time. It will only recognize the updates of Microsoft Security Essentials, but when he checks the updates it points only to the basics of security. I don't know there are updates that Microsoft Updates jumps...


    Check the 2nd Tuesday of each month - later in the day. (after 10:00 Pacific time)

    06/06 / 1107:38: 16 pm

  • I am trying to create layers with a JPEG originally published in LR6. I converted the JPEG in a TIF format for my PES 11. PSE does not recognize the file for purposes of superposition; None of the routes command works. Just to see if PES was grateful the

    I am trying to create layers with a JPEG originally published in LR6. I converted the JPEG in a TIF format for my PES 11. PSE does not recognize the file for purposes of superposition; None of the routes command works. Just to see if PES was grateful the file at all, I tried to turn the file. Fortunately, he rotates the photo and turned it back. Why the program allow me to create layers?

    You click on Expert in pse before trying to add layers?

    Or it is possible that the image is 16-bit/channel.

    In photoshop elements go to Image > Mode and click on 8-bit/channel and see if that makes a difference.

  • Can not find the plugin for data recovery?

    Hi guys,.

    I don't have the time to investigate this, but I was wondering if you can get started me.

    I installed vCenter4 and have only 1 host ESX 4 up to now (ESX4i).

    I attributed an enterprise of this machine license.

    I can't see the plugin for recovering data anywhere in my vCenter.

    What Miss me?

    I'm going through the documentation as we speak. Thank you

    Please consider my response as 'useful' or 'proper' marking

    Have you downloaded vDR from the download page where you went to get vCenter/ESX 4.0? Once installed, you will need to go to the Plug-ins and download/activate the plugin. This is at least the case for VCB, VUM, etc..


    William Lam

    VMware vExpert 2009

    Scripts for VMware ESX/ESXi and resources at: http://engineering.ucsb.edu/~duonglt/vmware/

    repository scripts vGhetto

    VMware Code Central - Scripts/code samples for developers and administrators


    If you find this information useful, please give points to "correct" or "useful".

  • I try to install vista on a computer running xp. XP does not even recognize the vista disc is in the drive. XP recognizes any other drive that I use and the vista drive is recognized on other computers, that I put it in it's not a prob with the disk or cd

    I try to install vista on a computer running xp. XP does not even recognize the vista disc is in the drive. XP recognizes any other drive that I use and the vista drive is recognized on other computers, that I put it in it's not a prob with the disk or cd rom

    The Vista installation disc is a DVD. Apparently, you don't have a DVD player. You would need to purchase/install a DVD-ROM or DVD - RW to install Vista. Are you sure that your hardware supports Vista before doing this?

    Even if a minimum of 1 GB, the requirements in the real world Vista requires a minimum of 2 GB of RAM to run without problem. You will also need Vista drivers for all your hardware.

    http://www.Microsoft.com/Windows/Windows-Vista/get/Upgrade-Advisor.aspx MS - MVP - Elephant Boy computers - don't panic!

  • Need Adobe XI. DC does not work with the plugins I use.

    I'm on a Mac and I need Acrobat XI as DC does not work with the plugins that I use at work. We have a subscription to the CC. I downloaded the software XI from here: https://helpx.adobe.com/acrobat/kb/acrobat-downloads.html but it asks for a serial number. I followed the steps on this page about what to do if you have a subscription, but this brings me to a page that asks you a redemption code to activate my subscription. My subscription is already activated. Is there a way to install XI without needing a series/redemption code?

    Update: I spent 2 days looking how to get this resolved. Of course, 5 minutes after I ask this question, it happens to me on this: https://helpx.adobe.com/content/help/en/creative-cloud/kb/acrobat-dc-uninstalls-acrobat-11 .html , that solved my problem and my installation began through the application of CC desktop, rather than a separately downloaded .dmg file as before. Note: After clicking on the button 'Download Adobe Pro XI', next steps called "Adobe DC", but the end result is an installation Pro XI.

  • LV TEN F5 SP1 does not appear in the components for deployment...


    Just migrated my x 32 to x 64 TS2014 TS2013 LV2013 & apron & LV 2013 x 64. I'm now trying to build a new installer for deployment for my test stations, but LV RTE SP1 F5 does not appear in the components for deployment, even if it is properly used as adapter labview Teststand sequence editor... why?

    I can see RTE SP1 F3, but not F5...

    If please see attached picture to see my setup teststand (showing the labview adapter) and the list of parts available in the deployment utility.

    Thank you very much for the help.



    Thank you for the information.

    As a temporary solution (as of 2014-12-04), I manually installed the SP1 LV F5 RTE 2013 on the test station.

    Here you can find the downloadable version:


    Thank you and have a great day,


  • My computer is not connected to the internet for more than 2 minutes both

    my computer is not connected to the internet more than 2 minutes at a time

    Hi Ronda,

    Thanks for choosing the Microsoft Community forums.

    I see that the computer is not connected to the internet for more than 2 minutes on Windows 7.

    To help you better, please answer this question.

    Did you do changes on the computer before the show?

    I suggest you follow the provided methods to solve the problem.

    Method 1:

    Please see the knowledge base article:
    How to troubleshoot network connectivity problems in Internet Explorer


    Method 2:

    You can make sure to uncheck the following option in the network adapter properties in Device Manager.

    "Allow the computer to turn off this device to save power".
    You can see the steps
    a. Click Start, the Device Manager in the area start search, type and then click on Device Manager in the list programs.
    b. If you are prompted for an administrator password or a confirmation, type your password or click on continue.
    c. in the Device Manager dialog box, expand network adapter, click the network adapter and then click Properties.
    d. in the network adapter properties dialog box, click the power management tab. The allow the computer to turn off this device to save uncheck box appears

    Method 3: Problems of Wi - Fi network and


    If you need help with the Windows operating system, just tell me and we will be happy to help you.

  • I installed the plugin for sony camera raw for model rx111 and photoshop cs4 file is unrecongnizable

    How can I get adobe cs4 to read installed the plugin for sony camera raw for model rx111

    Error reading file from photoshop cs4 is unrecongnizable

    Thanks for the reply, I'm upgrading to cs currents 2015 that the camera is again for my version of cs 4, so I'm leaving dinosaur days and of the 21st century

  • Problem with the screen size of my application in the emulator for BlackBerry 10

    Hello, I have a problem with the emulator for BlackBerry 10 and is as follows:

    When I run my application in the emulator waving, sounds good and all content is complete, however, when I run the application in the emulator for BlackBerry 10 soft looks as if she had a zoom very large level of predefined way and only see a part of the application.

    With controller emulator, I have changed the level of 70% zoom, but still does not work.

    Here, I'm posting two photos:

    One future half-assed answer

    var dpr = 1; // To set the meta on a real device to get 1:1 pixels
    if(typeof window.devicePixelRatio != 'undefined') // Does device support devicePixelRatio?
        dpr = window.devicePixelRatio;
    if(dpr) // Set up the right meta
        var meta = document.createElement("meta");    meta.setAttribute('name','viewport');
        meta.setAttribute('content','initial-scale='+ (1/window.devicePixelRatio) + ',user-scalable=no');
        document.getElementsByTagName('head')[0].appendChild(meta); // Inject meta

    This works perfectly, but must be placed in thethe document FIRST and foremost

    Live JS is used to avoid problems of library management

    It won't work in Wellington but works perfectly on all devices I've tried

    As mentioned in the code above just packaging needs in the script tags and setting very high index.html HTML code as you can get - right afteris my favorite before any CSS or JS place<p class="reply"> <p class="reply">There are extensions to this topic-injection of script, I like to keep my code clean</p>

  • Firefox Android ver 27 Samsung Galexy 3 10.1 Unable to load the Plugin for my said Foscam is not compatible with worm 27

    I have a Samsung Galaxy tablet model N° GT-P5210 (Intel chips) 4.2.2 Android running with Firefox Mozilla worm 27. When I try to access my camera of security on the net, I get my initial page indicating that I need a plug-in. The plugIn downloads but on said install: it is not compatible with Firefox 27 worm. I have no problem with laptops and PCs running windows. BUT my Tablet just will not load the plugin required to view the video transmitted from the camera Foscam F19805W

    You use the in game store?

    There is this: http://www.appszoom.com/android_appli.../ip-cam-viewer-lite_cwi.html via http://webtechnologyph.wordpress.com/.../foscam-ip-camera-frequently-asked-questions/

    I would not a plugin that is not compatible with ff27 for android on a website that a developer has implemented this notice. However in the words: page of the FF for android browser config there are items that you can enable if you have taken research taking into http://kb.mozillazine.org/Plugin-container_and_out-of-process _... for more information.

  • DreamColor LP2480zx does not recognize the USB for calibration


    I have a DreamColor LP2480zx, which does not recognize the USB connection to the computer during calibration.  I have my eye HP connected through this monitor, so I know the connection and the cable is good and mouse, keyboard.  My setup is like this:

    Reference Dell 690 running 64 bit + Windows XP

    DreamColor LP2480zx

    Apple Cinema Display 23 "

    I bought the DreamColor used, and in all other respects, it seems to work very well.  The original owner didn't have it calibrated within a certain time, but said that having had no problem with the previous calibration.  I installed the last APS (version 2.0) and updated to the latest firmware.  These updates produces no change in recognition USB problem.

    The interesting thing is, I was able to calibrate the Apple Cinema Display, using the same configuration of connection (mouse, keyboard, and HP eye connected to the computer via the LP2480zx) APS was able to see the USB connection and this very well calibrated monitor.

    I had trouble with this problem for a few days.  I've looked around quite a bit online and found a few others who have this same problem, but I did not yet find someone who can point out a solution.  If anyone has had this same problem, or has heard of results that correct it, please let me know, because it's very frustrating.

    Thanks for any help


    An update to my previous post, I realized a work around for this problem.

    Apparently, this problem has to do with the Dreamcolor screen and/or software APS do not like working with 64 bit systems.  I'm not saying that it is always the case, but I saw the other posts on this problem on 64-bit systems, and I spoke with two other people personally who told me that they also had the same problem, try to calibrate its Dreamcolor monitor when it was attached to a 64-bit system.  HP does not seem to be concerned about this problem, because they do not even recognize its existence, but since I'm far from being the first to report this problem, he's obviously not a one-time problem.

    My solution was this: I had connect the monitor to a regular running XP 32 bit system.  After I did, I could re - calibrate the monitor without the problem of USB connection.  This isn't a very good solution because not everyone has access to several machines, running different operating systems.  But it's a work around, and it worked for me.

    Hope this helps other people who have this same problem with their Dreamcolor monitors hooked to their 64-bit systems.


    PS- I posted this as resolved, only because I was able to calibrate my monitor.  It's not really solved the problem, but it gets the monitor working again.  Maybe HP will address this problem in the future, but I'm not holding my breath.

  • Computer does not recognize the driver for HL-DT-STDVDRRWGSA-H2OL ATA Device

    original title: HL-DT-STDVDRRWGSA-H2OL ATA Device

    its as it disappeared from my machine. the computer will recognize the pilot but but the drive does not appear when I go to computer file. If you insert a cd in the drive, it runs but can not read the cd/dvd.


    Step 1: Please do all the same underneath if you did some before as is often total
    a process that solves the problem.

    Try this - Panel - Device Manager - CD/DVD - double click on the device - driver tab.
    Click on update drivers (this will probably do nothing) - RIGHT click ON the drive - uninstall.
    RESTART this will refresh the default driver stack. Even if the reader does not appear to continue

    Then, work your way through these - don't forget the drive might be bad, could be a coward
    cable or slight corrosion on the contacts (usually for a laptop) and other issues.

    Your CD or DVD drive is missing or is not recognized by Windows or other programs
    http://support.microsoft.com/kb/314060 - a Mr Fixit

    Try this fix manually if the Fixit 314060 does not work

    Your CD or DVD drive is missing or is not recognized by Windows or other programs-
    a Mr Fixit

    The CD drive or the DVD drive does not work as expected on a computer that you upgraded to
    for Windows Vista

    When you insert a CD or a DVD, Windows Vista may not recognize the disc

    Your CD or DVD drive cannot read or write media - A Mr Fixit

    CD/DVD drive does not appear in Windows Vista, or you receive this error in Windows
    Vista installation after booting from the DVD (AHCI)
    Drive CD - R or CD - RW Drive is not recognized as a recordable device

    Hardware devices not detected or not working - A Mr Fixit

    Another possibility is that the cables are loose. Remove ALL power, then make sure that the cables in both
    ends. Remove and replace, do not just tight. For laptops, you can often clean power and
    contacts data with a pencil eraser.

    Some DVD players do not use the Windows default drivers so check with the manufacturer of system and
    manufacturer of device to see if there is a firmware or drivers for your drive if necessary.


    Step 2: You have disc problems as the CD/DVD is actually 4 discs in 1 case (CD & DVD
    Burn and CD and DVD read). So it is not unusual for 1 or 2 operational so that other parts
    do it right.

    Did you follow the Troubleshooting Guide for the reader who still does not work? There are
    the entries in registry that the troubleshooter does not solve and those who "might" be the cause.

    Check with your Maker system and a device for the two possible firmware updates and
    the correct registry entries for your car.

    Here are the keys that I of course are those in question - for the subkeys of the CD/DVD drive
    as there will be other subkeys in these keys. Do not forget to ask specific keys involved as well as
    the parameters.


    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Hardware Profiles\0001\System\CurrentControlSet\Enum\IDE

    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class\ {4D36E965-E325-11CE-BFC1-08002BE10318}


    You can probably find more info here and maybe even the exact registry for your CD/DVD settings
    drive from someone with the same model.

    Forums - a lot of expert real help

    CD/DVD units

    Use DevManView to locate the CD/DVD in the registry (be careful and do a prior Restore Point)
    nothing change) - find the DevManView device and then make a right click on it free in RegEdit.

    DevManView - free - an alternative to the standard Windows Device Manager, which displays all the
    devices and their properties in flat table, instead of the tree viewer

    I hope this helps.

  • System can not recognize the driver for Epson R2400


    I was a document of problem with my R2400 to power and thought start Id by simply reinstalling the driver and see if by chance that he healed. Oh dear! The driver from the disk was not found and the downloaded file from Epson will not install because my computer thinks its Vista 32 bit when its actually 64-bit Vista. The dialog box tells me that I have the wrong file and check if Im with 32 or 64 bit vista. Needless to say that really, but if as an act of desperation, I try the 32-bit driver it tells me exactly the same or bad file. In any case, for some reason, he refuses to recognize and install the driver. Ive been in touch with Epson and they checked their drivers and as expected, they seem well. Hope one of you can tell me what to do to recover my life photo printer if I can make some delicious prints that are ready and waiting. Arghhh!

    This sounds familiar, here's the solution that worked for me:

    I can't believe how easy the solution was... amazing that this simple solution has been so difficult to dig for!

    All I had to do was go to the Device Manager and disable the PCI Standard improved to the USB host controller.

    That's all! Turned on my printer and installed the software and I printed a page within 3 minutes!

    How frustrating that it took me more than 30 hours to get this simple solution. But I hope that it can save someone else from countless hours and frustration.

    I found the answer on CNET: http://forums.cnet.com/7723-12546_102-215320.html

Maybe you are looking for

  • How to change the location of the profile for all NEW profiles created it

    I am aware of the Manager profile, and other ways to move an existing profile. I'm looking for, it's something different. Is it possible to change Firefox so that all the * newly * profiles created in a different location. I don't want to use the App

  • Satellite L500D PSLT6A - FN keys and touchpad stopped working

    I have a Satellite L500D, model PSLT6A-015003, windows 7 (32 bit) notebook and the keys FN and the touchpad stopped working. I downloaded from download of Toshiba, the touch pad and the FN key downloads page, but nothing works. Can someone tell me pl

  • internal battery HP G61-632NR

    Does anyone know what type of internal battery that cell phone use?  I can't find ANY info on the HP Support site.

  • cRIO Profibus Module

    Hello I have a question about the Profibus Module of the C series.  The module works in all cRIO chassis, but it is a requirement that the C Series module inserted into the slot 1 of the cRIO?  Can it be inserted in any other location as long as the

  • How to add third-party DLLs in our Setup program by using the application builder?

    Hello friends, I have one (VI) application that uses a third party to the Protocol dll, and now I want to do an installation which should install dll as well as the application exe. Please suggest how... Thank you