Problem with webworks.js

Ripple console is always telling me that it cannot find webworks.js, webworks is here.

My code is:

A nice clear response that tells you nothing

Basically the undulation of the charges twice - this is where the error occurs

After load #1 he probably Gets a VFS so she can access webworks.js then recharges (I can only summise how I would do it.)

If you look at a few examples, you'll see a hack to test the ripple

You need something like this...

document.addEventListener('webworksready', function(e) {
    // This is a hack for Ripple calling webworksready multiple times
    if (rippleLoaded) return;
    rippleLoaded = true;

    });

You must set rippleLoaded to false in your main JS before this code may be called

This version fixes everything

[Both groan]

BBs documentation on things like this is REALLY bad - you think that was hard, try to do HTML5 filesystem (not fun)

Tags: BlackBerry Developers

Similar Questions

  • BBUI.js problems with WebWorks 2.0

    Is anyone else having problems with BBUI.js & WebWorks 2.0?

    Like for example the menu tags do not seem to work. There is no evidence that when you drag to the bottom of a simulator.

    Just to doublecheck, what is the master key of the master branch or the branch WebWorks - 2.0 ?

    https://github.com/BlackBerry/BB10-WebWorks-samples/tree/WebWorks-2.0

    In addition to deviceready, have replaced webworks.js with cordova.jsloading?

    The next steps would be to connect Web Inspector and allow the application to load, and then press CTRL + r in the Web Inspector to reload the application and monitor the console to see if there are problems there.

    I take just a few assumptions here because I have not been able to produce this on my machine... my steps were:

    And I can see the interface successfully user and the application to launch.

  • I have a problem with the SDK software Webworks 10

    Containing game in extension (HTML - CSS - Javascript - SWF) files
    After the compilation of the source using SDK 10 WebWorks
    Found the part that contains the flash file does not work correctly
    The error showed a text on the screen of the phone
    But the rest of the files works well
    the problem only in the swf file
    Knowing that even this source served with WebWorks Playbook but functioning at peak performance
    How can I solve this problem.

    Engineer: Eslam Mohamed

    In the config.xml file, you need this

    
    
  • Problems with the creation of chips of debugging SDK WebWorks of Blackberry10 2.0.0.71

    I had a problem with the creation of debugging tokens using the blackberry-debugtokenrequest command. It gives me an error saying that "java" is not a batch file or a program. The blackberry-debugtokenrequest batch file has the following text:

    @java - Djava.awt.headless = true-Xmx512M - cp ' % ~dp0\... \lib\EccpressoJDK15ECC.jar;%~dp0\... \lib\EccpressoAll.jar;%~dp0\... \lib\TrustpointAll.jar;%~dp0\... \lib\TrustpointJDK15.jar;%~dp0\... \lib\TrustpointProviders.jar;%~dp0\... \lib\BarPackager.jar;%~dp0\... \lib\BarSigner.jar;%~dp0\... \lib\KeyTool.jar;%~dp0\... \lib\DebugTokenRequest.jar ' net.rim.device.codesigning.debugtoken.DebugTokenRequest % *.

    I think that the culprit is the symbol @ before java, does anyone else have this problem? Is there a solution?

    What happens if at the command prompt just type "java-version" of your command prompt?

    If it does not, you must do one of two things.

    1. install Java v1.6 (32-bit only)

    2 Java is not in your PATH. (http://www.java.com/en/download/help/path.xml)

  • Problems with Knockoutjs & webworks?

    I have a piece I've been debugging for the whole weekend and I just can't understand what is wrong with it. As far as I can see everything is as it should be. The HTML code I have is

    div class = 'networkItem' x-blackberry-Focus='true'=onmouseover "this.style.backgroundColor ='#444444 '; '=onmouseout" this.style.backgroundColor =' #010101 ";

    x onUp-blackberry-=' netNavUp ($index ()) ' x-blackberry-onDown=' netNavDown ($index ()).

    bind data = ' click: changeNetwork.bind ($data, no()), attr: {'id': 'nIf' + $index ()} ">".

    It is part of a foreach knockoutjs model. $index () is the index number 0 -? list

    the attr section creates an ID of this item to the nli0 format, nli1, nli2 etc. depends on County look.

    I can inspect the HTML code that it creates in the debugger chome and IDS are set correctly. And I suppose, at this stage, which is irrelevant in any case, as I have commented little bits in the code that woud use anyway. It seems that the call to netNavUP and netNavDown are causeing the exception.

    My js code is as follows:-

    function netNavDown ()tmp( )

    {

    goID var ="";

    blackberry.ui.dialog.standardAskAsync ("to:" + goID, blackberry.ui.dialog.D_OK, tmp);

    tmp ++;

        if (tmp is appViewArray.network.length)

    {

    goID = "nliEnd";

    }

    on the other

    {

    goID = "NIF" + tmp.toString ()";

    }

    blackberry.focus.setFocus (goID);

    }

    As you can see the standardAskAync should give me some information, but never gets fired. No, I know it's asynchronous if she fell into the code. That's why I removed the call to set the focus. So indeed it would fulfil this function and return control to the html code.

    The error I get in the Simulator is - App error 104 - Eception RuntimeException

    I tried to lose the $index () and replace it with a number directly I can see if that was the problem, but no, I still get exactly the same error. Then there is a problem with X-blackberry-onDown? and onUp than also causes the crash. Note that I use navigation everywhere else without too much problem, but it's the only place where I "force" of a specific focal point, setting the focus is also not a problem I put emphasis in the code when it starts first, and that works. The fixed focus is commented, so it hangs a little on the call of the function as the first line of the function is an alert (of sorts)

    I solved this by sending not anything to the function, but rather when I get to the function to get the item currently developed. not the best solution, but it works.

    var id = blackberry.focus.getFocus ();

  • Problem with the signature of the CPR and RRT files

    Hello ppl! I am new to SDK WebWorks and signing tool so I need help with signing. I designed a HTML and CSS + Javascript Web site and I want to convert in application of BB via BlackBerry WebWorks packer. Applications well Gryson is fine but I have the problem with signature keys. I filled out the form for the keys, all is made well and RIM me has sent back the RBB, CPR, csi RRT files. Now, I typed in the command prompt: java-jar \client-RBB-***.csi SignatureTool [path] and he asked me to give a password for Key.I private did and then I registered it. Everything that does well also. The problem now is when I'm trying to do the same for the CPR and he wonder pine and Private Key Password.I entered them correctly and he said that I supplied a bad password. Where is the problem? I did something wrong?

    * P.S. Private Key Password is the one I typed when it was asked to create and confirm the password when I tried to register the right of csi RBB

    Thanks in advance

    Konstantino

    Hello rmasroor,

    Thanks for your reply and your interest.

    I'm fine and hope you are too. Problem no longer exists. Sorry that I didn't write to the topic, but now is fixed. The problem is that I probably forgot my password private, so I asked RIM to send me other keys. Now, I've been more careful with the procedure, and all were very good.

    Please update this topic as fixed or solved.

    Sincerely,

    Konstantinos

  • Some problems with the construction of project in Eclipse

    I use js + css3, html5 in my project for smartphone.

    And I have problem (error) with a construction project.

    ---------

    [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
    [ERROR] Feature is not found in any extension (blackberry.bbm.platform)
    BUILD CAME OUT WITH 1 ERROR

    ---------

    What should I do to fix this error?

    Thank you!

    Thank you!

    I accidentally duplicated the subject, and the problem was solved in http://supportforums.blackberry.com/t5/Web-and-WebWorks-Development/Some-problem-with-building-proje...

  • Ripple said: there was a problem loading webworks.js

    I'm starting with BB10 WebWorks. I downloaded 2.3 Phonegap, implemented the project example, hosted locally using MAMP and opened in Chrome with ripple.

    Ripple alert "there was a problem loading webworks.js" and the chrome console shows that GET local:///chrome/webworks.js failed.

    Other things may be related:

    -Cordova record ' Unknown user agent! by default, java' to the console.

    -"The target-densitydpi window is not supported." has been connected to the console. I removed the target-densitydpi of the viewport meta tag setting and he stopped to complain.

    I use v0.9.13 ripple in Chrome 24.0.1312.57 on Mac OS X 10.8.2 (Mountain Lion).

    Hey,.

    I think it has something to do with the platform you chose. I'm assuming you have chosen that option Phonegap for the platform and because of this ripple is not import the library of webworks he needs. I think you are going to choose one or the other. With the help of phonegap and compiling with webworks will work - u just need to take the line of local:///webworks.js and it should work. Do not know what are the reprecussions - have never used Phonegap.

  • 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

  • problems with, phone, 6, Bluetooth kit, Nissan, after update, for, Rios, 1.0.2

    After the update to ios 10.0.2 - trying to use bluetooth to call my vehicle, it says: "this article is not in your phone book." How can I solve this problem?

    Greetings, joybelino1!

    Thank you for joining the communities Support from Apple! I can't wait to see that you are having problems with your Bluetooth in your car! The good news is that Apple has a great article that will help you with measures to try to resolve the problem. Read this article to gethelp to connect your iPhone, iPad, or iPod touch with your car radio. Even though he talks about problems with the connection, it also has the steps for other questions you may have once connected.

    If you use Bluetooth

    1. Consult the user manual of your car stereo to get the procedure to a Bluetooth device.
    2. On your iOS device, drag up to open Control Center, then press ontwice to turn on Bluetooth and turn it back on.
    3. Restart your iOS device.
    4. On your iOS device, Cancel the twinning of your car radio. On the screen of your car désapparier your iOS device and any other device. Restart your car and your iOS device, then pair and connect again.
    5. Update your iOS device.
    6. Install the updates to the firmware of your car radio.
    7. If you still not connect, contact Apple technical support.

    Have a great day!

  • Anyone having problems with WiFi connectivity after upgrade to Sierra?

    I was wondering if anyone else knows issues with WiFi connectivity since the upgrade to Sierra 10.12? I have not had any problems with connectivity WiFi previously on El Capitan. Now I have regular randomly loose connectivity. My internet is cable and when it is connected I have a 100% connection. My details of iMac and I have used only 10% of my storage.

    No problem with my iphone 6.

    Hello AspDesigns,

    I understand that, since the upgrade to Mac OS Sierra, your Mac seems to have trouble staying connected to Wi - Fi. Fortunately the diagnosis built-in wireless can help identify the source of so much trouble.

    Search for Wi - Fi using your Mac problems

    See you soon!

  • Problems with mail after switching to macOS Sierra

    Hey all

    After having recently upgraded to macOS Sierra, I am unable to read my mail.

    I get the following error every time I check on "Get Mail".

    There may be a problem with the mail server or the network. Check the account settings "*" or try again.

    The server returned the error: Mail could not connect to the server 'pop1.tribcsp.com' using SSL on the default ports. Verify that this server supports SSL and that your account settings are correct.

    What does this error message mean and how can I solve this problem.

    Thank you

    Hi Michael,

    I see your message that you get an error in the mail indicating that there is a problem with the mail server or the network.  To help get this problem resolved, I suggest that you follow the steps below:

    If mail refers to a problem with the mail server, or the network

    Mail will say that it is impossible to connect due to a problem with the mail server or the network. For example, the message may refer to a connection that has expired, or too many simultaneous connections:

    If you are connected to the Internet, but the connection has expired, your email provider might be affected by a discontinuance of service. Contact them or see their status Web page to ensure that their e-mail service is online. Examples of status pages:

    If the message indicates the number of simultaneous connections, too many of your devices is check your e-mail account at the same time. Quit Mail on one or more of your other devices.

    If you are still unable to send or receive e-mails

    1. Make sure that you have installed latest version of the Mac software updates, especially if the problem occurred immediately after the installation of a previous update.
    2. In OS X El Capitan or later version, you can see a status icon and the short error message in the upper right of the Mail window, under the search box. The message may indicate 'Network offline' or 'Connection failed', for example. Click the message to see more details on the issue.
    3. Check your connection to the Mail connection doctor. It might be able to say more on the issue.

    If you cannot send or receive e-mail on your Mac.

    Take care.

  • iMac 27 "mid-2011 - Intermittent problem with CPU fan running at full speed and sleep mode.

    Hello!

    My iMac 27 "has an intermittent problem with the CPU fan runs at full speed. Sometimes it happens at the time when I start it, sometimes only in my session, and sometimes only after a certain time. So does seem to be a problem of "heating".

    Second issue is with the mode 'sleep'. It may occur also at any time, at the start of the iMac, session, or after a certain time. But once he starts to go in mode 'sleep', when I wake up, it goes right back in mode after a few seconds and that it will continue indefinitely until I restart the computer.

    What could be?

    Please help me!

    4ntoine

    Here is my model of iMac:

    iMac 27 "mid-2011 model 12.2

    Intel Core i7 3.4 GHz

    AMD Radeon HD 6970M 1024 MB

    OS X El Capitan 10.11.6
    SMC 1.72f2

    Boot ROM IM121.0047.B23

    reset the SMC

    Reset the management system (SCM) controller on your Mac - Apple Support

  • problem with playing the clash of clans

    I'm having some problems while playing the clash of clans on my 2 mini ipad screen does not seem to meet sometimes as if it was some sort of delay so I have to tap several times in order to use a filter or throw the troops on the battlefield.

    Hi Trinitygr,

    Thanks for posting in the Community Support from Apple! I understand that you are having problems with your iPad screen while playing a game. I like to play games on my iPad and I don't see how this could be a nuisance. I'm happy to offer assistance.

    Are you only had this problem when using the app clash of Clans, or does it happen in all applications? I recommend to start by following the steps described in this article:
    If an application you have installed unexpectedly closes, unresponsive, or does not open

    Take care!

  • I'm having problems with an outdated Apple ID

    I have problems with updating Apps etc in my Apple account because he always asked an obsolete in sign.  How can I change this?

    Hello

    Go down to itunes apple ID Delete page homepage all ID and then add it back back.

    See you soon

    Brian

Maybe you are looking for