Problem getting webworks.js

Hello

It's my first time with the WebWorks but I'm pretty experinced js/html/css developer and I tried to implement the blackberry share for my application but I cannot make it work.

I use the latest version of the SDK (2.2.0.15), I have the plugin com.blackberry.invoke.card added in the webworks window and can see the project folder. But before that my problem is to get this line of work (following the documentation here: http://developer.blackberry.com/html5/documentation/v1_0/using_webworks_apis.html )


Basically, the line above (in the head of the index.html) never finds the webworks.js and therefore I get error and 'webworksready' event fires.

Any help entry would be greate because I'm stuck at this moment for the last weekend of 3-4... I read in someplaces that I should use cordova.js instead of webworks.js, but it did not help...

Thank you very much!

You're webworks 2.2.0.15 but using the previous weborks event 1.0.

At the bottom of the link, you will get all the information, what diifernece to do to cross man and pacakge your webworks 1.0 app.

http://developer.BlackBerry.com/HTML5/documentation/v2_2/upgrading_to_webworks_20.html

Also, here are the changes that you must go to your html file:

  • Include cordova.js instead of webworks.js.
  • Listen to the deviceready instead of the webworksready event event.

Include cordova like this:

Tags: BlackBerry Developers

Similar Questions

  • 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.

  • Having a problem getting 2 video cards to work

    Windows is having a problem getting 2 video cards to work in a desktop HP dc5800 SFF computer.  The first video card is a nVIDIA GeForce MX 4000 Jaton and the second video card is a VisionTek X 1300.  The two cards are dual monitor.  We strive to give the user 3 screens, but this configuration should be able to output of 4 monitors, if none of the material is in conflict with each other.  The integrated graphical subsystem integrated into the motherboard is disabled whenever a new video card is installed, due to the design of the Intel video chipset.  Any ideas what to try?

    Hi Myextraidentity,

    You cannot combine NVIDIA and ATI graphics cards. This configuration is not possible

    You can consult with NVIDIA or ATI to learn more about what is needed to support 3 + monitors

    NVIDIA:

    http://www.nvidia.com/page/contact_information.html

    ATI:

    http://www.AMD.com/us/aboutamd/contact-us/pages/contact-us.aspx

    Kind regards

    Kiki

  • Problem getting my WiFi connection after the mode 'sleep'

    After my computer wakes from sleep mode, I click on my WiFi network every time to get on the internet.  If I restart my computer, it detects my WiFi network and connects ok.  It's just at the time when it wakes from sleep.  I tried many solutions that people have posted for example to remove some files from my SystemConfig., but have had no luck.

    Hi joycefromil,

    I understand that your Mac has problems automatically re-login to a Wi - Fi saved after wake up from its sleep. I can understand the concern here; It seems that it would be a bit tedious to have to re - connect manually whenever you wake your Mac from sleep. I'm happy to help you with this problem.

    As a first step, try to remove your Wi - Fi network in the preferred networks list and then add again using the steps here:

    macOS Sierra: choose the preferred Wi - Fi networks

    Try to test for the problem to see if it persists. If so, I recommend that you try to start your Mac in safe mode and test for the issue. Once you're done test in safe mode, restart your machine normally and try test again to see if the problem has been resolved.

    If the problem persists in safe mode, try to create a test on your Mac user account to see if the problem is here. This will help to further isolate the issue. Take a look at this Web site for more information:

    How to test a question in another account on your Mac - Apple Support

    Take care!

  • I still have problems getting a new certificate for my (entourage) of Microsoft Outlook. Mine expired last month, so my e-mail system stop working. Any ideas?

    I still have a problem trying to get a new certificate from Apple for my version of Microsoft Outlook 2008-9 (Entourage) for my Mac. I was not able to receive or send emails more than a month. Any ideas?

    Try the search and post here.

    -Support of Microsoft Office for Mac

    -Support of Microsoft Office for Mac (2)

  • Satellite Pro C50-A-1E2: problem get into BIOS after the activation of the quick start

    Hello

    I own Satellite Pro C50-A-1E2.

    Default hard drive has been replaced by a v300 kingston ssd. I also enabled quick start.
    I am trying to get into the BIOS but without success.

    I tried all possible combinations (Esc, DEL, f1, f2, f8, fn + esc, f1... fn)

    I found this piece of information through Googling: "press f2, and then press power. But always without success.
    Help with my problem?

    Thank you.

    Hello

    Quick start can be enabled and disabled too using the Toshiba software called Desktop Help. Within this tool, you would find the HWSetup Toshiba and this part of software must contain the quick start option.

    Check it out.

    By the way: for some series laptop, press INS key then F2 worked too.

  • Skype Sync problem, get the Notifications but not full messages! [cellular data only]

    Hey guys, I had problems with Skype on my iPhone for a long time. And this happens only when I'm NOT on WIFI.

    Whenver someone present me a message, the message will be displayed on my phone as a notification. I always get these any problem. But when I click on the notification to read it in Skype, the message does not appear. Only when I connect to WIFI, it will download messages in Skype.

    I still have my PC on 24/7, with Skype running, so all messages also delivered there.

    I had this problem on my iPhone 4, 5 and 6 now. With iOS, 7, and 8.

    Sometimes when Skype is open in the background on my phone, or when it is closed. I have always received the notifications correctly. But when I load Skype, shows nothing.

    Very frustrating when I know I have a message, but I can not just play them!

    Push notification TURNED on in App Notifications are turned on. Under notifications Skype iOS, everything is turned on. And Skype is activated as a background App application update. And I use the cell data for active Skype.

    Yet once again, this ONLY happens when I'm on a cell/3-4 connection (G) Wi - Fi I constantly receive full messages delivered in the Skype application.

    How can I fix it?

    Yes, I thought about her. It's your carier mobile which is limiting traffic to Skype on your phone.

    I'm with Vodafone. Upgrade to a more expensive plan with Vodafone fixed this problem.

  • Problem getting a good graph of data

    Hello, I am currently an intern and I need to create an interface in LabVIEW for a & Rohde Schwarz BALLS Network Analyzer.

    The majority of the program working as it should, only retrieve the correct chart data seems to be a problem.

    I get images on my screen, but the data does not match with the data on the device.

    the device is connected to the computer using a GPIB bus, we use labview 2012 and labview 7 (program end must be in labview 7).

    I think that the problem lies in the VI that retrieves data from the machine: (scan of rszvl)

    explanation of the VI:

    Here, I have 2 images of the Network Analyzer, these images are correct and the goal is to get these on my computer in labview. (the second is just a flat line)

    Now, here's some of the creations I get in labview...

    I've also attached the full VI

    Should more information be required, please ask me

    Thanks in advance,

    Thomas V


  • Problems getting The Witcher Enhanced edition launch.

    Tells me when I try to run the game I need to be a time the first administrator that I launch the program and I have enough athority. I am an administrator, I'm the only person who uses my computer and profile on it is mine, then I must be the administrator. How I can get this to work, or is this just a problem of Windows 7?

    It is not a problem, it's a feature lol. Never thought I'd hear myself say that.

    In any case, what you need to do is find the game (the shortcut or the EXE itself) and right click it and then click Run as administrator. This should fix it.

    Good luck.

  • chrome problem, get error 3. 'Related' incomprehensible ' help'.

    Problem with Chrome.  It was forced on my computer that I want them to or not.  I tried to download several times, get the same error message 3.  It reads, "microsoft agreed there's an error...". »)

    .. .the error message reads:

    Your profile can not be used because she comes from a more recent version of Google Chrome.  Some features may be unavailable.  Please specify a profile different directory (?)  cannot understand what it means or how to do this) or use a new version of chrome (ditto).
    Problem is that I do not understand what I'm supposed to do.
    How am I supposed to know which forum to choose when I barely understand the problem?

    Hello

    I suggest post you your query in Google support with using the link below.

    http://support.Google.com/chrome/?hl=en

    Hope this information is useful.

  • I was excluded Windows Live - I don't have so I'm having problems getting back to my text messaging account.

    Original title: programs network networking Internet site Internet Site Web Web Site URL of the network

    I have been excluded from Windows live and have attempted to help it turn. You keep telling me to enter a cell phone number so that you can text me a number of restart the account. The problem is that I like a lot of older people don't have or want to have text messages that I myself is not a clue how to do such and do not want to do.  With a problem like this, you would think that offers you a number at least 800 to call to get issues resolved like this. All individuals who use this service are in texting thing.

    Hey JimCrosman,

    Please join the Windows Live experts in the Windows Live Solution Center community. They will be able to help you in an attempt to regain access to your Windows Live account. The link below will take you to their forum that specializes in access to the Windows Live account:
    Windows Live Solution Center - Windows Live ID.

  • problem getting updated and forwarded to microsoft sites to download

    I was not able to get an automatic update in a month, I tried manuly too but not go either. I get an error that says it cannot install the update. It tells windows update encounter an unknown error 80244019 when trying to update manuly.
    also when I go to a microsoft website to download an update and I tried to get ie8 it goes to another site or says that the page cannot be displayed.or the link is broken. . its looks that something prevents me from downloading pages and installijng and software updates. vista equipped IM, service pack 1.32 bit, I have norton 360, but that was here long before this problem started. HELP ME PLEASE.

    Have you tried to temporarily uninstall Norton 360?

    Type the following commands, each followed by pressing on enter.

    § ipconfig/flushdns

    § nbtstat-r

    § nbtstat - RR

    § netsh int Reinitialis

    § netsh int ip reset

    §  netsh winsock reset
    Or another useful command:  

    § netsh interface tcp set global autotuninglevel = disabled

    I also recommend to call your ISP (Internet service provider [company you pay for internet]) and tell them to reset your connection.

  • Why am I having such a problem get my files installed Tablet & records to reappear under Windows? They are gone!

    I was able to connect my first ereader (Kindle Touch) via the USB port and the page file right here, I was able to install it, the icon of "New Hardware Detection" & notification jumped right up-no problems with it NEVER. It is actually used to get under the option mass storage device my computer. The disc or the drive, which it never is, was not (c) or (d) or even (f) is sometimes come; He was always identified as the Kindle (E :). Once I had a newer version, the Kindle Fire (compressed), it is not yet recognized as "New hardware", after the first time, I have finally been able to track it down in the device manager & used the file of internal parameters of the device (for transferring files), it is more exsists on the device manager no matter where - and there is NO files/folders/programs that opens when you click above and none with the name Kindle! I can't work and even re-install the device, after that go to add/remove hardware-it again (via the Setup Wizard & Wizard adding new hardware) the device is installed. Help, please!

    Sincerely frustrated. Elisha

    Hi lilbitz,

    If I understand correctly, you are facing problem with Tablet installed reappering files and folders in Windows. Do not worry, I'm here to help you with this question.

    I would like to know if you have tried other USB ports?

    See the section "Connection Via USB" in the document according to Amazon and check if it works for you.

    http://www.Amazon.com/GP/help/customer/display.html/ref=hp_navbox_k2troubleusb_200375470?nodeID=200375470#USB

    Please answer if the steps did not help, so that we could help you better.

  • Problem getting correct URL link__

    It started just 23/12/10, when I do a search on Yahoo or Bing or any other link that I select looks like it will load.  But at the last second, I get re-directed to something totally related to the United Nations about me.  I tried AVG and Superantispyware.  I removed a lot of mistakes with these but the problem still there.  Any ideas what I should I do then?  And oh, I tried to restore but I got to choose the same day and that doesn't work anymore.

    Start here:

    http://www.bleepingcomputer.com/virus-removal/remove-TDSS-tdl3-Alureon-rootkit-using-TDSSKiller

  • 32 Vista BSOD problem getting the error '1000008e.

    Hello

    I'm using windows vista 32 bit on my system

    But recently, he begins to bsod at random like once a day

    Signature of the problem:
    Problem event name: BlueScreen
    OS version: 6.0.6002.2.2.0.256.6
    Locale ID: 17417

    More information about the problem:
    BCCode: 1000008e
    BCP1: C0000005
    BCP2: 938A69D1
    BCP3: AB7FCAE0
    BCP4: 00000000
    OS version: 6_0_6002
    Service Pack: 2_0
    Product: 256_1

    Files helping to describe the problem:
    C:\Windows\Minidump\Mini112515-01.dmp
    C:\Users\Admin\AppData\Local\Temp\WER-73055-0.SysData.XML
    C:\Users\Admin\AppData\Local\Temp\WER4F86.tmp.version.txt

    Anyone know how to fix this? It gets annoying because it happens even when I do nothing

    I suspect that this computer has been upgraded since almost 20 years, as it has drivers on it since 1996.  I have not simply tools that will examine these drivers.

    giveio.sys 03/04/1996 21:33:25
    PEAuth.sys 10/23/2006 03:55:32

    I would start by upgrading these two drivers or going out.

Maybe you are looking for