Problems with the Echo plugin

Dear all,

I'm trying to follow this tutorial and create a custom plugin:

http://developer.BlackBerry.com/HTML5/documentation/beta/about_custom_native_plugins_cordova_blackbe...

However, even if I add the plugin and run a simple application on the emulator, I am not able to make the cordova.exec function to call native code. I guess that something is broken in the string, the native code to the js.

Cordova version 3.3 and native SDK is 10.2. Everyone knows the same problem?

I do not post code is since then the tutorial one...

Am I missing somehting in the tools / configuration?

Thank you!

-marco

I think that registerEvents may have been broken, because I think that this sample is missing the onEvent method.

I'll ask the documentation team to review this sample. We have a much more detailed model from and I would rather they referenced here instead - https://github.com/blackberry/WebWorks-Community-APIs/tree/master/BB10-Cordova/Template

It seems that they have links with that, but not on this page directly.

Happy that you guessed it works well!

Tags: BlackBerry Developers

Similar Questions

  • Problem with the AD plugin since the upgrade

    Salvation;

    I upgraded version Orchestrator 4.2.2 version 5.5.1 and now I have problems with my AD plugin.

    The plugin is version 1.0.4.

    When I do a simple search in AD, it returns an error:

    TypeError: Cannot find the search object notfound.

    I also made this:

    System.Debug (AD);  (the AD variable is AD:ActiceDirectory)

    And here's the result:

    [16:59:30.956 2014-05-07] [D] notfound

    I did a backup of plugins + configuration of plugins files.

    And I copied the backup configuration file in the configs for the plugins folder.

    I can see the active AD plugin, I can browse it in Orchestrator.

    Can someone help me with this?

    Kind regards

    Jonathan

    Apartenly you don't need to place the ad as an object.

    You can use

    ActiveDirectory.search("User" , username);
    
  • withWriteAccessDo problems with the debug plugin

    Hi good morning all,

    I've just started writing plugins for Lightroom (well, I had a first successful 2 years ago but now I start again with more complicated stuff) and of course I love the Debug plugin (thanks again, John!)- but I'm still struggling with concepts and limitations that may be imposed by the latter.

    Concretely, that I will meet the error "attempt to access the property 'myPropertyName' which is not declared in Info.lua", during the execution of my script using the debugging dialog box. It works when I run it just in the Plugin Extras menu as a menu action.

    Code:

    LrTasks.startAsyncTask (Debug.showErrors (function (context)
    local catalog = LrApplication.activeCatalog)
    selected local = catalogue: getTargetPhotos()

    ...

    key s peers (values)
    Catalog: withWriteAccessDo ("writing data", Debug.showErrors (function (context))
    Photo: setPropertyForPlugin (_PLUGIN, "myPropertyName", s)
    end))
    end

    I found something in the Internet which is an indication of a race condition, then maybe it has something to do with a packaging script / running the other? Or y at - it a way to get this race with script debugging, and I'm simply not understand the notion of background tasks/threads yet :-)?

    Thanks for your help!

    Christof

    (I'm on LR 5)

    Christof,

    We will call the plugin that you debug MyPlugin.  I think the problem is that you are the menu command Debug Script in the debug plugin but Script invoking a MyPlugin returned file.  When you do so, all references to the global variable _PLUGIN are actually referring to the Debug Script plugin, not for MyPlugin.   And so, the returned file cannot access the properties of MyPlugin.

    This is a limitation of the SDK that I neglected to document in the Toolbox for debugging.  The solution is simple - copy Debugscript.lua to the MyPlugin folder and add a menu command for MyPlugin that calls Debugscript.   See steps 6 to 9 "Debug export - and publishing Plugins Service" documentation "debugging Toolkit.docx.

    Let me know if that solves your problem.

  • Problem with the JDE Plugin

    Eclipse 3.5.0 and BB Java SDK 5.0.0.14 using... I'm just getting started with BlackBerry... I just built and tested the HelloWorld app... launched in the Simulator end. I try then run it on my camera, to get an error on the wrong version. So, I try and run it again in the Simulator, and now the app just does not appear in the downloads folder. Just nothing. Any ideas what's happening here?

    This happened to me earlier today by using the JDE, so I switched to the Eclipse thinking that would take care of her...

    Never, does anyone else have this problem?

    OK, I fixed it. I just deleted the project BB and recreated and it seems to work again. I think that the problem can me been accidentally right click on the project name and selecting 'BlackBerry\Package project (s).

    What the devil who does anyway?

  • Problem with the Eclipse Plugin

    Hi all! I get just enough of it, so before I break my computer, I'll ask here hehe.

    I downloaded the last functional eclipse IDE, as well as the Plugin to begin programming. I followed the instructions (help-> update-> local-> restart eclipse) but I can't just set up my blackberry workspace. The option is not available, just the thing "import signing keys.

    What's not here?

    I downloaded "eJDE1.0.0.67_With_CP4.5.0.16.zip" which includes the "features" and "plugin" folders. And the file "eclipse-java-ganymede-SR2 - Win32.zip" Eclipse.org

    HEY! I found a solution here

    http://supportforums.BlackBerry.com/Rim/Board/message?board.ID=java_dev&message.ID=26408&jump=true

    hope this would help other ppl

  • Dependency problem with the new Blackberry Plugin for Eclipse

    I just encountered a problem with the new version of the JDE Eclipse Plugin. I set up my application project so that it uses two other projects such as libraries. Both of these projects are on the way to build Java in the settings of the application project, and the manufacturer Eclipse compiles without errors.

    But when I try to run on the Simulator, the application loader throws an Exception stating that it could not find one of the classes listed in library projects. Since it is the importation of first class in the main class, I guess that it was unable to find the entire library.

    I tried to have the application project to import the project two library, but nothing alx files has changed.

    In the old version of the Plugin, there is a property of the project "Blackberry project dependencies" or something like that, which should be set for library and rapc.exe projects and the simulator would be their. That went away, and I was told during Devcon now suffice to add libraries to the classpath. Apparently, this is not so for me.

    Can you give me an indication of what goes wrong?

    The problem seems to be that I imported my projects since the previous version of Eclipse plug-ins, Blackberry. I have now created a new workspace and new projects, completely maintaining the source files, and it works.

  • Problem with the plugin ActiveDirectory

    I have a problem with the plugin active directory that it does not show the OUs under a spesific UO (I guess that's because there are too many objects in this spesific UO and for some reason any, limit the amount of objects, it can show).

    To work around the problem I wanted to use the Active Directory script class and use the search method, but I can just find a way to create this object to use the reproductives I guess that I do not understand something in the API.

    Read this it looks like it could be typo...

    Please share your script, or search for mistyped as ActiveDirectory.Search ().

    For example - to throw the object system: TypeError: cannot find the default value for the object

    This code online

    System.Iog ("Test");

    because this isn't a lowercase L, it is a shift that i and this method does'nt exist on the object of the system...

    Other objects throw correcting errors as this method does not exist in the wrapper dyn...

    Depends on the implementation and management inside of it I guess than errors

    Kind regards

    Andreas

  • Problem with the plugin Photoshop and reflux

    I get the following message if poster every time I start photoshop:

    There is a problem with the generator. Quit Photoshop and try again. If the problem persists, remove third-party plug-ins or try to reinstall Photoshop.

    I am running PS 14.1.1

    I also noticed that the reflow option is missing from the drop-down list generaotr. I also tried just download/install the plugin installed by reflow.

    Any ideas?

    Thanks for the help.

    Hello

    There is a simple trick to achieve this.

    1. uninstall all your photoshop CC & edge reflow CC (make sure that you delete all the files in C: drive and temp files).

    2 after step 1 install photoshop CC & edge reflow CC normally.

    3. now download the Edge connection Plugin of

    4. after launch the plugin, and now, you will find a folder of reflow in your (Mac applications folder) and your (Program Files under Windows).

    5 open the folder "reflow/plug-ins/alternator /" and copy "reflow.generate" file.

    6. now open Photoshop CC and go into plug-ins/alternator /.

    7 paste the copied here folder and restart your Pc or Mac.

    8. now, everything should be good.

    It isn't only one answer is how I solved the same problem on my mac.

  • Problem with the plugin Update Manager

    I'm having a problem with the update on my VC Server Manager (2.5 build 104215).  Update Manager is not downloaded updates.  In VC when I go to Plugins it shows that Updae Manager is installed and enabled.  If I remove the check mark for Enabled & then turn it back on, I get a message - "the server could not interpret the customer's request" - but the checkbox reappears.  I also have this message when I run VC on the server, but not from my PC.

    If I right click on the download VMware Update Manager update scheduled task and select Properties, I get a message - "the plugin for this task has not been saved.   All VMware services are started.  The Update Manager

    Update Manager is built 1.0.0.63972 and the VI client on the server is 104215

    Thanks for any help.

    He is now in place and running as planned?

  • I have a problem with the content of spam. Somewhere in the Fox appeared script that's choking me audio spam. Every 30 minutes he's playing an audio clip that is malicious.

    Hello.
    I have a problem with the content of spam. Somewhere in the Fox appeared script that's choking me audio spam. Every 30 minutes he's playing an audio clip that is malicious. I can't find the settings as it eliminated. Now, I don't have any plug-ins and Add-ons strange that were not initially in the Fox, but the problem is there.
    I use the Fox years. The problem, he had 1.5 months after Fox cleaning. If the problem can't win, I'll be forced to give up the browser, and I wouldn't.

    Could test you mode without failure of Firefox? It is a standard diagnostic tool to disable some advanced features of Firefox and extensions. More info: questions to troubleshoot Firefox in Safe Mode.

    Does not work if Firefox: Hold down the SHIFT key when you start Firefox.

    If Firefox is running: You can restart Firefox in Mode safe mode using either:

    • button "3-bar" menu > "?" button > restart with disabled modules
    • Help menu > restart with disabled modules

    and OK reboot.

    Two scenarios: A small dialog box should appear. Click on 'Start mode safe' (not update).

    Any improvement?

    If the problem persists in Mode without failure, could reinstall you Firefox in this way:

    Clean reinstall it

    We use this name, but it isn't about deleting your settings, this is to ensure that the program, files are clean (not incompatible, corrupt or exotic code files). As described below, this process does not disrupt your existing settings. Don't uninstall NOT Firefox, that does not need.

    (1) download a fresh Installer for Firefox 38.0.5 of https://www.mozilla.org/firefox/all/ in an ideal location. (Scroll down your preferred language).

    (2) close Firefox (if applicable).

    (3) to rename the program folder, either:

    (Windows 64-bit folder names)

    C:\Program Files (x86)\Mozilla Firefox
    

    TO

    C:\Program Files (x86)\OldFirefox
    

    (Windows 32-bit folder names)

    C:\Program Files\Mozilla Firefox
    

    TO

    C:\Program Files\OldFirefox
    

    (4) run the installer you downloaded in the #1. It should automatically connect to your existing settings.

    Any improvement?

    Note: Some plugins can only exist in this OldFirefox file. If it is missing something essential, present in these files:

    • \OldFirefox\Plugins
    • \OldFirefox\browser\plugins
  • (Problem with the arrows) Adobe Reader is not working properly

    I have problem with the Adobe Reader plug-in. When I have a tab open with the pdf file, my arrows do not work in other tabs in firefox, only in this tab where it is the open pdf file. Also, I noticed that when you try to use the arrows in the other cards, they are working on a pdf file.

    I am tempted to uninstall and reinstall Adobe Reader, but it does not work. Help, please.

    I solved the problem reinstalling Firefox, because when I turned off Macromedia my pdf file still worked, but the arrows didn't always work. I think it was a problem with the plugin from adobe.

  • Problem with the search function

    I use firefox 10 and I have a problem with the search feature. If the word that I will try to find begins with the capital letter I can't find with control function if I write the word only with small letters. a the opposite. For example, if the word is 'Letter' I can't find this word if I type 'letter' in the search bar

    Is the option 'Option match case' in the verified search bar? If so, uncheck it.

    If this answer solved your problem, please click 'Solved It' next to this response when connected to the forum.

    Not related to your question, but...

    You may need to update some plug-ins. Check your plug-ins and update if necessary:

  • Satellite L750D-1FD - problems with the display driver

    I got this laptop from my uncle and it was filled with junk and crapwares so I did a clean reinstall and upgrade Windows 7 Home to ultimate. I have a problem with the GPU, windows does not recognize it, or doesn't fly chart AMD.
    Processor is AMD A8 - 3520 M APU, and I think that the GPU is a Radeon HD 6620 G or something before the re-installation. I can't change the resolution, it stuck at 800 x 600, memory shows by n/a, Direct X features are not available, not from the downloaded display driver Toshiba worked.
    Dxdiag appears to the:

    Name: Standard VGA Graphics adapt
    Manufacturer: Advance Micro Devices, Inc.
    Chiptype: AMD ATOMBIOS
    : Type DAC: 8 bit
    Memory Approx.Total: n/a
    Current display mode: 800 x 600 (1 Hz)

    It nothing and can do with this laptop now because the GPU does not work as expected. Please, help me to solve this problem.

    Hello

    I found only Satellite L750D-1FD so I think you have this model. I want to help you on any other way. Here is the correct order of installation for Win7. Please check and install all the available stuff you can find on the download page of Toshiba - http://www.toshiba.eu/innovation/download_drivers_bios.jsp

    Win7 SP1
    4.9.2.0 TOSHIBA supervisor password utility
    TOSHIBA HW Setup Utility 4.9.2.0
    TOSHIBA Assist 4.02.02
    TOSHIBA ReelTime 1.7.18
    AMD driver 1.0.0.52 xHC
    8.834.1 - 110420 a-118118C-Toshiba AMD display driver
    TOSHIBA value added package 1.5.10.64
    ATI HDMI Audio Driver 7.11.0.7710
    Conexant Audio Driver 8.51.1.0a
    Wireless LAN driver
    Synaptics Touch Pad Driver 15.2.11.1
    V4.07 Bluetooth Monitor
    Atheros Bluetooth Driver Package v1.0.7 Filter
    Battery Bluetooth for Windows by Toshiba v8.00.06 (T)
    Atheros LAN Driver 1.0.1.50
    Card reader Realtek 1.0.0.14
    TOSHIBA 1.0.4 Wireless LAN indicator
    TOSHIBA Sleep 1.4.2.8 utility
    3.1.8 TOSHIBA face recognition
    TOSHIBA eco Utility 1.3.2.64
    TOSHIBA HDD/SSD Alert 3.1.64.8
    TOSHIBA PC Health Monitor 1.7.7.64
    ConfigFree 8.0.38
    TOSHIBA Web Camera Application V2.0.0.21
    TOSHIBA V4.00.7.01 VCR - HAS
    TOSHIBA resolution + plug-in for Windows Media Player 1.1.0
    TOSHIBA Disc Creator 2.1.0.9 for x 64
    TOSHIBA Network Device ID registry setting tool 3.0.32.4 - 16_wMSI
    TOSHIBA Media Controller 1.0.86.2
    TOSHIBA Media Controller plugin 1.0.6.1

    If you need assistance more let us know.

  • Problems with the software of fax on 1536dnf

    Hi, I just got a 1536dnf all-in-one, and I have a problem with the software sending faxes. I can fax machine directly, but when I try to send a fax from my computer, I can't even get into the software. I get an "internal error" that there is no device detected. I installed it on my network, so about four different computers can access. I'm running Windows XP SP3 and any other function works fine (I can print to the printer from each computer, send and receive faxes from the printer itself, etc.).  Any ideas why this happens? I found zero documentation or help on this and any help would be appreciated.

    Thank you.   I was using FAX4Word plugin for Word.  It allows to easily print/fusion of fax machines.

    I answered my own question, but others may be interested in:

    I was buy HP printers since the time that first, they came out with the LASERJet House, I waited in line to get one at the then price of $700 or more.  I bought a HP product on average every 3 years after that.   All HP products were excellent quality and easy to use.

    Once I looked at the question of the use of the 1536dnf as a modem, I found that I was MUCH better off just buying a modem from "Zoom" $ 50 for my database driven fax needs rather than trying to send it through the HP.  If it is possible to use the 1536dnf as an intuitely MODEM, it is a solution too complex to simply get a modem to 'Zoom in' $50, which leaves my 1536dnf available for other tasks.

  • Problem with the number of files?

    Hello guys,.

    I have a problem with the compilation of some projects...

    I realize that when my project 201 records in total (including the file config.xml, Active Directory and directory ext) they do not compile.

    If I delete all the files (if the project has 200 files in total), the success of occours compilation.

    See:

    E:\BlackBerry WebWorks Plug - in Eclipse\plugins\net.rim.browser.tools.wcpc_1.5.1.201010291444-22\wcpc>bbwp.exe "C:\Documents and Settings\Softwell\Desktop\blackberryhtml5.zip".

    [INFO]                  Parsing of the command line options

    [INFO]                  Bbwp.properties analysis

    [INFO]                  Validation of archive application

    [INFO]                  The analysis of config.xml

    [INFO]                  The application of filling source

    [INFO]                  Compilation of application BlackBerry WebWorks

    java.io.IOException: cannot run program ""E:\BlackBerry"(in the"C:\DOCUME~1\Softwell\CONFIG~1\Temp\widgetGen.4723774651307629071871.tmp"directory): error = 87, Parometro incorreto CreateProcess.

    [ERROR]                 CAP exception has occurred

    Can someone help

    Hello tneil,

    Well, I found the problem and a solution.

    The thing is: my project was not limited by the size, this is the number of files (200).
    I realized that BB has released an SDK 2.0 (I used 1.5) and I tryied to compile with the 2.0 and everthing works fine!
    The problem is how bbwp.exe communicate with rapc.exe, maybe he tryies to send files by command line and it has a limit. With the new sdk, it uses a file temp with all orders. This is why it works.

    The maximum size of 7MB, I can't say anything, because my apps are about 3-4 MB. But good to know, if I can put in my documentation.

    That's all.
    CYA

Maybe you are looking for