BlackBerry WebWorks - Eclipse

Hello

Here, I get a little confused.

Here's my problem:

I have a BlackBerry WebWorks working on Eclipse environment (2.5.1 * BlackBerry WebWorks plugin) and BlackBerry WebWorks plugin SDK (2.0.0), okay?

So, the thing is: I get a "ClassNotFoundException" error in my application. I have two .jar in the "ext" directory One is my custom package called Database.jar (where I make Access db with sqlite and so on (it is a plugin phonegap)) and the phonegap.0.9.4.jar which is the framework.

It is very good. Everything works like a charm when I compile with bbwp.exe version 1.5. But when I compile with the 2.0 SDK, I get a ClassNotFoundException. I'm looking for the class that is not found. That's fine also.

I would like to know one thing: how is possible to debug java code in this environment? I have no IDEA how must! I do the java code by my spirit! It's crazy!

Hello again everybody (who have read this thread).

The thing is: I already knew the answers... but this error was driving me crazy.
The problem of the "ClassNotFoundException" was: I extracted my Database.jar.
Just that! Since the 1.5 SDK, it was inside the pot and now I've pulled the jar into the "ext" folder and everything works like a charm...
Strange.

That's all. It is the answer for my son. Thanks again.

PS: The question on ' how to debug java code in Eclipse WebWorks still... ". ». If someone can answer me...

Tags: BlackBerry Developers

Similar Questions

  • Cannot run my signed Blackberry WebWorks Application in the emulator

    I am developing an Application Blackberry WebWorks Eclipse 3.6 (Helios).

    Sun JDK, Apache Ant and Blackberry Web and WebWorks SDK Plug-Ins for Eclipse are installed and cunfigured correctly.

    I have received sign of blackberry keys and them installed Eclipse and created a new Application of BlackBerry Webworks (Hello World) without any problem.

    But when I try to run the app in the Blackberry Simulator, Eclipse sings with my keys properly and emulator application starts. But my application starts, nor do I find in anywhere in the emulator.

    When I try the cod installation file signed in my phone, I can install it and see it in my phone but this time it doesn't start at all.

    I'm really stuck at this point. Assistance would be appreciated.

    Thanks in advance.

    You have helped indeed.

    Started to use the emulator to ripple and I can work with it as a miracle and test my application.

    The problem here is that I was redirected to totally wrong positioning to develop because site Web of PhoneGap.

    Thanks again.

  • BlackBerry Webworks 1.0 will be able to use the custom pluging created using 10.2 native API

    Hi all

    It is feasibe to use plugins created using native c ++ for my Blackberry webworks 1.0 10.2?

    I created a plugin using the cellular data interface which is available only on 10.2, but not in 10.0.Now, I want to use it in my WebWorks app which is pacakged thanks to version 10.0 of Blackberry WebWorks.

    I really appreciate any help. Thanks in advance.

    Indeed, this should be possible as long as the device that the application runs on is 10.2 +.

    WebWorks 1.0 and 2.0 WebWorks both have the same OS compatibility.

  • BlackBerry WebWorks Packager

    Hello

    I am interested in how to do package a webworks project and can't seem to understand it and was hoping to get help.

    -This is for smartphones using the new HTML5 Webworks kit.

    -J' installed ripple (v 0.9.0.11)

    -J' I installed SDK WebWorks (link to the new site): this is BlackBerry WebWorks SDK 2.2.0.15

    and installed under C:\Program Research In Motion\BlackBerry WebWorks SDK 2.2.0.15

    On the new site, it mentions that the default path is C:\Program Research In Motion\BlackBerry WebWorks Packager\.

    https://bdsc.webapps.BlackBerry.com/HTML5/documentation/ww_getting_started/creating_an_app_1885567_1...

    I'm going to assume the instructions are wrong (?) and the correct path (default)

    C:\Program search in Motion\BlackBerry WebWorks SDK 2.2.0.15

    If this is not bad, where can I find this new package manager? Link the site points to BlackBerry WebWorks SDK 2.2.0.15 which installs the path above.

    So assuming that isn't true, that I tried to correct the path in the settings of the ripple to

    C:\Program search in Motion\BlackBerry WebWorks SDK 2.2.0.15

    It gave me an error

    Oh, Snap! Build request failed with the message: [ERROR] feature is not found in any extention (blackberry.ui)

    All I'm doing at this point is get the sample application to run. No changes at all.

    Hoping someone can help. I'm testing my application in car and wrap it up, but just spend hours 3 recent trying just a demo application package.

    Hi raj786,

    Thank you for pointing out the error in the documentation, we have people working on it. The docs make reference to the OLD default path before the latest SDK.

    I don't think that there is a function "blackberry.ui". I believe that the only relevant are blackberry.ui.dialog and blackberry.ui.menu.Can please, you post your config.xml so I can check its correct?

  • BlackBerry WebWorks SDKS for smartphones

    Hello

    SDK BlackBerry WebWorks for smartphones still exist? I tried to download it, but I'm always redirected to 10. Help, please.

    Thank you.

    Hello

    You can find the version BBOS here:

    https://developer.BlackBerry.com/BBOS/HTML5/download/

  • Ripple cannot packge Blackberry Webwork project

    Hi all

    I'm new to Blackberry Webwork and I am trying to build the first ever webwork application for smart phone: the HelloWorld

    I installed Blackberry Webworks SDK for Smartphone in Win 7 2.3.1.5; with JDK 6 u33

    My project located at C:\WWProjects\HelloWorld

    I have configured Ripple

    Path SDK: C:\Program Files (x 86) \Research in Motion\BlackBerry WebWorks SDK 2.3.1.5

    The project root: C:\WWProjects\HelloWorld

    Name of archive: HelloWorld

    Output folder: C:\WebworkOutput

    Everything in package using ripple; It always returns an error:

    "Oh Snap!" Build request failed with the message: CreateProcessW: the system cannot find the specified file. »

    I already have role for Java and bbwp to run as administrator, but it does not help.

    The a side to a same problem and already overcome?


    Okay okay, let's try something else.

    Can you confirm that your PATH variable contains the following keys?

    %Systemroot%/System32

    SystemRoot

  • BlackBerry Webworks and 'hardware back button '.

    Hello

    I have problem to apply the logic of my application with the "hardware back button.

    I use jquery mobile to create a phonegap for Blackberry WebWorks (Smartphone version) application.

    When I have a link in my page as:

    
    

    everything works fine.

    But when I use the WebWorks API to hook the hardware back button ' ' like this

    blackberry.system.event.onHardwareKey(blackberry.system.event.KEY_BACK,function() {
        history.back();
        return false;
    });
    

    my application is just closed. (I tested on 9800 OS6 Simulator and real device 9300 Curve 3 G with OS6)

    It is also strange, when I change the function of

    blackberry.system.event.onHardwareKey(blackberry.system.event.KEY_BACK,function() {
        alert('Debug');
        return false;
    });
    

    The alert dialog will appear and then my app will not be closed (to be correct)

    So the problem is the "history.back()" inisde () calling the onHardwareKey handler function

    Can someone help me more?

    Thank you

    I upldated my sdk to 2.1.1 and don't have the problem more on Simulator 9930. I think I got 2.1.0.24 front

  • How to free the memory through BlackBerry Webworks Code

    I am faced with the question as "the available memory on your device is low. Close to some of the items below. "When I close the application of phonegap webworks after a few shots. How to free the memory through BlackBerry Webworks Code.

    It is a good number that in the face of demand for the BB webworks. Very common when you dynamically load images or by using the browser in your application. Please visit this link for details...

    http://supportforums.BlackBerry.com/T5/Web-and-WebWorks-development/device-memory-is-low-issue-for-a...

  • Impossible to debug as - > Blackberry in Eclipse Simulator

    Hello

    I've implemented an application for some time using Eclipse 3.5 and Blackberry plugin version 1.1.2 without a lot of questions, but recently, I was stuck on this one:

    Whenever I try to "Debug slot-> Blackberry Simulator ', Eclipse crashes at 31% saying"delegate launch. " This leaves me in a bad spot for my application debugging. However, I only peut 'run as-> Blackberry Simulator '.

    I tried the new configurations debug with different simulators. I tried to re-intsalling the eclipse + blackberry plugin. I'm still stuck with the same question.

    Can anyone share ideas they might have on it, or suggest how I could resolve this more?

    Thank you

    Jon

    Apparently, it had something to do with the BBDevMgr process running. When I killed this process in windows Task Manager, Eclipse was able to start the Simulator in debug mode. All good now!

  • How to debug the java application BlackBerry on Eclipse with a BlackBerry Smartphone?

    Problem:

    How to debug the java application BlackBerry on Eclipse with a BlackBerry Smartphone?

    The following procedure:

    http://docs.BlackBerry.com/en/developers/deliverables/12002/Debug_an_app_on_BB_device_656366_11.jsp

    Error:

    An internal error occurred during: "launch WMMS_ACC_video_test0".
    java.lang.NullPointerException

    I found that other methods of debugging.

    If anyone knows how to do it please tell me.

    Thank you for your attention.

    http://www.BlackBerryForums.com/developer-forum/107455-debugging-live-device.html

    Solution:

    Start the IDE
    Connect your device to the PC via USB
    compile your application and load on the device
    in JDE - Debug - attach to-Pocket
    ignore all dialog boxes
    do the breakpoint
    Start your application on the device

  • BlackBerry and Eclipse

    I use the Blackberry and Eclipse. I started with Blackberry and I think it's more simple to do tests of Blackberry Simulator. Eclipse is great to work with all coding. I work with 2 interdependent projects so I put in place a library to share some regular classes. Works fine in Blackberry. I've just set it as a library, the value of dependicies in 2 projects and import classes. I had a problem in my previous attempt with these settings and I found out it was because the library .cod file was absent when loading.

    When I try to reflect the configuration in Eclipse I basically performs the same steps. Define a library project. The value 'Bibliographic project' in my other projects 'Properties' checked for my library project.

    It doesn't matter how to specify the import statement I get an error message.  The xxxxxxx to import cannot be resolved.

    Must be other things to do?

    Ingvar RTFM!

    Tried to help and found the answer

  • BlackBerry WebWorks app via a URL with the parameters of launch?

    I have an application of WebWorks I want to start with a URL to the browser and pass parameters to query URL to the application in this way. Is this possible? How? I would be happy to use HttpFilterRegistry or API call, but I don't see how to use these approaches to get my WebWorks App settings, even if I write a custom extension. Example of code would be very useful, especially to consume the parameters. Or at least an indication of which API (s) for this.

    This should be supported by the framework. What I would like to recoemmend is simply invoke the application according to the normal and placing the parameters in the URL to the standard '&' "?" rating.

    Then take advantage of the class UTIL. JS out of the parameters passed required...

    https://bdsc.webapps.BlackBerry.com/HTML5/APIs/BlackBerry.utils.URL.html

    (If you need help, citing the app, it is done as invoke any other java application on the device)

    R

  • What are the other blackberry except eclipse development environment?

    Hello

    I want to know what are the other blackberry outside the eclipse development environment?

    In fact, I'm new on this and I have a lot of problem to make the GUI phase. Are there any other environment where MISTLETOE is easily done?

    Yes, if you want to develop in java for os bb then I would say.
    Eclipse + bb plugin.

  • Get the string invalid Base64 of image of toDataURL() for the first time in 10 of blackberry webworks

    Hello

    I need to get the Contact image converted to string Base64 using BB 10 Webworks (blackberry.pim.contacts) I get only the contact.photos [0] .smallFilePath which returns the path to the phonebook file.

    Now, I want to get the image of this path and convert it to a Base64 string.

    Here's the javascript code :

    var img = document.createElement ('Image');
    var canvas = document.createElement ('Canvas');

    function getBase64Image (p) {}
    img.setAttribute ("src", p);

    Img.width = Canvas.Width;

    Canvas.height = img.height;

    CTX var = canvas.getContext ("2d");
    ctx.drawImage (img, 0, 0);
    Return canvas.toDataURL("image/jpg");

    }

    This means bad Base64 string of image for the first time. When I convert this string to the image it displays white screen. But returns a string in the Mithraeum and after conversion, display a correct image.

    I use Blackberry Z10 (OS 10) for the test.

    I think that the canvas is not drawing image properly for the first time.

    I have searched and tried many things, but not got success. What will be the solution.

    Thanks in advance.

    My guess is that the image did not load the source completely still. Setting the src / image loading is an asynchronous event, which means that your code will continue to the next line regardless of whether the image has loaded yet or not.

    After calling setAttribute instead of execute the code of the Web, you will probably need define an event on img for the load event listener. Once the image is loaded, you can then use the img with canvas variable to retrieve its data.

    Note that getBase64 will return immediately, so you may need to develop some sort of mechanism to wait before returning, or the asynchronous approach and integrate reminders for the success trigger the next piece of code.

  • 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

Maybe you are looking for