How to compile webWorks app playbook

When I run my project on playbook he gives a network error please try again leter.

I know no error in javascript which I add to the html page

is not open in the .html file browser

someone knows how to debug the webworks app in playbook

now it works fine

not compress a javaScript file that is average, it gives the network error.

We have to zip all files (including Images, pages Html, Java Script) .

If we don't miss any of the resource , then it gives a network error.

Tags: BlackBerry Developers

Similar Questions

  • Error compiling WebWorks app

    I'm trying to compile an application with the SDK 2.2 Webworks and I get this error:

    com.yahoo.platform.yui.compressor.CssCompressor: error! : lack of battery card in: label: 18
    [ERROR] CAP exception has occurred

    What does that mean? How can I solve it? The complete stack trace is downstairs, with the version of Java that I use:

    > java-version
    Java version "1.6.0_29".
    Java (TM) SE Runtime Environment (build 1.6.0_29 - b11)
    The Client Java VM (build 20, 4 - b02, mixed mode, sharing)

    >.\bbwp.exe test.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
    Static exported routine: .main (String []) corresponds to multiply.
    Static exported routine: .main (String []) corresponds to multiply.
    Static exported routine: .main (String []) corresponds to multiply.
    Static exported routine: .main (String []) corresponds to multiply.
    Static exported routine: .main (String []) corresponds to multiply.
    Static exported routine: .main (String []) corresponds to multiply.
    Static exported routine: .main (String []) corresponds to multiply.
    com.yahoo.platform.yui.compressor.CssCompressor: error! : lack of battery card in: label: 18
    [ERROR] CAP exception has occurred

    OK, all inclusive...

    In case anyone has this error in the future: it turns out that I forgot I threw all sencha touch package at the request. The error appears when the jsbuilder folder is included in the application.

    Thus, everything works fine now... Thank you.

  • How do the webworks app to load faster

    My application of webworks load everytime I open a local page, even if I have to open the same page in the same session. I see other applications open quickly. Is there not a way I can do load faster?  It's quite frustrating to demand the same page that I just opened loading seconds ago. Is there where the arrival of cache is useful? In addition, it benefits from OS5?

    Thanks in advance.

    You can also use the setTimeout() function to call a function on one or two seconds later.  This effectively allows others load javascript and processing code to go and so that the function call sitting waiting for the timeout switch.  I use this so that all formatting basic runs immediately, then I load the objects of additional UI that the user must actually run the app.

  • Errors when you try to compile WebWorks app

    Hi all. Can someone help me solve these compie errors I get when trying to build with ripple?

    [INFO] Packaging of the record bar
    javax.imageio.IIOException: cannot read the input file!
    at javax.imageio.ImageIO.read (unknown Source)
    at net.rim.tumbler.airpackager.AirPackager.createSplashscreen(AirPackager.java:723)
    at net.rim.tumbler.airpackager.AirPackager.run(AirPackager.java:191)
    at net.rim.tumbler.WidgetPackager.go(WidgetPackager.java:152)
    at net.rim.tumbler.WidgetPackager.main(WidgetPackager.java:77)
    [ERROR] Air conditioner exception occurred

    I made sure that my JRE is 32-bit, I added the path to the system of the "/ bin".

    Below is my Config:

    
    http://www.w3.org/ns/widgets"
            xmlns:rim="http://www.blackberry.com/ns/widgets"
            version="2.0.0.0">
    
      http://www.example.com/"
              rim:copyright="Copyright 1998-2012 My Corp">none
    
      Sample application
    
      
        A sample application to demonstrate some features.
      
    
      
    
      
        
      
    
          
    
      
        access_shared
        read_geolocation
        use_camera
      
    
      
    
      
    
      
    
      http://www.somedomain.com" subdomains="true">
        
        
      
    
    
    

    I have read all the threads re: the same problem but nothing I tried worked.

    Looks like your problem is because Packager WebWorks is not able to open some of your image files, check if there is any lack and make sure that permissions to read files are correct.

    I had similar problems with Packager WebWorks and I resolved by running as root.

  • How do I send the email from BB10 webworks app

    I want to have a module in my BB10 WebWorks app that will allow users to compose a message by entering the information in a form, which will then be sent by e-mail to an e-mail address.

    I guess this could be done by using the EmailComposerOptions API, but I don't know how to use it.

    Any help will be appreciated.

    Have you looked at the code example in the API document?

    https://developer.BlackBerry.com/HTML5/APIs/BlackBerry.Invoke.card.html#.invokeEmailComposer

    < script="text/javascript">
    //simply invoke email composer, with no options and callbacks
    blackberry.invoke.card.invokeEmailComposer();
    
    //invoke email composer with subject, body, to, cc and attachment options
    blackberry.invoke.card.invokeEmailComposer({
        subject: "Email subject",
        body: "Email body",
        to: ["[email protected]", "[email protected]"],
        cc: ["[email protected], [email protected]"],
        attachment: ["/path/to/an/attachment.txt", "path/to/another/attachment.txt"]
    }, function (done) {
        console.log(done);
    }, function (cancel) {
        console.log(cancel)
    }, function (invokeError) {
        console.log(invokeError);
    });
    
    

    Once the function is called, map of composer email will slip into the view with all pre-filled fields and the user can then click on send.

  • How to adapt the start screen on all webworks App blackberry blackberry devices?

    I'm working on blackberry webworks app targeting blackberry 7 & lower OS versions. I have a 360 x 480 pixels boot image that adapts perfectly to the BlackBerry curve Smartphone 9380. But the same splash image does not fit into other devices with different screen sizes. So, now I have created the home screen with a different resolution. But I don't know how to use it? Can someone like me how to select the splash screen dynamic based on the resolution of the device or other means to solve this problem?

    Unfortuantely on BBOS, you can have a single element of the rim: loadingScreen:
    http://developer.BlackBerry.com/BBOS/HTML5/documentation/rim_loadingscreen_element_834680_11.html

    Whereas the BB10, you can have several elements of the rim: splash that the device would automatically take the best resolution of.

    Because it is a property of config/xml, there is no way to dynamically assign values. You would need a separate for each loadingScreen dimensions version.

  • How to run or pass local webworks app through ripple?

    How to run or pass local webworks app through ripple?

    Do not click on 'Enable' to ripple extention if my files in the local file system.

    You can use the local file system for waving as well, but you must do this:

    -Open Chrome settings

    -Click on Extensions

    -Select the ripple

    -Check 'allow access to the URL of the file.

  • How to present the smartphone version of the app playbook?

    Hello

    I did my playbook application blackberry smartphone version.

    How can I present to the world of the app?

    My version of the Playbook is 1.3.4 and my smartphone version 0.0.1

    both are approved (see below) but I can't see the new smartphone version 0.0.1 for SALE on App World.

    What I am doing wrong?

    Help, please

    Thank you

    Afonso Tyagi

    I can see it. Have you tried to open appworld using a phone?

    App playbook: Car accident 

  • PlayBook webworks app, image link border

    I create a game in webworks.

    I use for my links, images. I set border = "0" to just about everything.

    For my images:

            
                
            
    

    and in my CSS:

    img a{ border:0px;}
    img a:hover{border:0px;}
    img a:link{ border:0px;}
    img a:active{border:0px;}
    img a:visited{border:0px;}
    

    However, when I press the link (image) in my webworks app, I always seem to get the standard blue border around the image, I'm pressing.

    How should I do to fix this?

    Thank you!!

    a{ border:none; outline:none;-moz-outline-style:none;}
    a:active{ border:none; outline:none;-moz-outline-style:none;}
    a:focus{ border:none; outline:none;-moz-outline-style:none;}
    
    img a{ border:none; outline:none;-moz-outline-style:none;}
    img a:active{border:none; outline:none;-moz-outline-style:none;}
    img a:focus{border:none; outline:none;-moz-outline-style:none;}
    

    This fixed the problem. Thanks for coming back

  • WebWorks app broken after update of the PlayBook 1.0.5

    I just installed 1.0.5 last of the PlayBook updated software and my WebWorks app has stopped working. The app was transferred to unit using the mode of development and worked fine before the update. At the launch of the app, the app would freeze in a black screen.

    I've tried tinkering with config.xml and rebuilt the application several times. The problem would not go away. I even tried to create a minimal WebWorks with a Hello app world index.html, and this minimum app does not work either.

    Any contributions to this issue would be much appreciated!

    Thank you

    Brad

    PS. Here's my config.xml file:

    
    http://www.w3.org/ns/widgets"
            xmlns:rim="http://www.blackberry.com/ns/widgets"
            version="2.0.0"
            rim:header="RIM-Widget: rim/widget">
      Test
    
      test
    
      
    
    

    and index.html:

    
    
    
      Hi
    
    
      

    Hello world!

    Hi Brad,

    Yes, there's an incompatibilities for applications built with the beta version of the SDK WebWorks on indicated such 1.0.5 in the sticky at the top of the forum post

    http://supportforums.BlackBerry.com/T5/Web-and-WebWorks-development/important-PlayBook-WebWorks-noti...

    Our developer relations team also sent emails to registered suppliers of App World, which had applications built WebWorks with the updated beta version level.

    The link above should state the details.

  • How to identify a webworks app launches for the first time...

    I am designing my webworks app to prompt the user to accept a license agreement before using the application for the first time. If they accept that the application works as usual, if they decline the application does not load and it ends.

    Is to do it in a Webworks app without the use of a store like the SD card anyway?

    I don't want to use the SD card as a store because it limits the number of users who can use the app (even if these SD cards are now pretty much standard).

    Does anyone have any suggestions?

    EC

    You can store the information using the API file on the local file system IO... You don't need to use the SD card... just a local path on the file system of the device.

  • Ripple can not build app Playbook: the system cannot find the path specified.

    Not a huge surprise here, but I tried to compile my app for Playbook in undulation. After following all the steps of downloading all the SDKs, get and save new keys, have all the files in place, etc.. Ripple can simply with:

    Oh Snap! Build request failed with message: The system cannot find the path specified.
    

    Without rhyme or reason. No way to detect what it is. Ripple is dangerously wrong sometimes. And the "Oh Snap!" part is terribly boring.

    I was able to build the application via command line (which requires you to make a zip file of everything manually... * sigh *).

    Anyone know how it is possible to debug?

    Hi shnuffy,

    Assuming that the Tablet is the installation folder which includes bbwp and jre, you'll want your SDK path pointing there. Example:

    C:\BBWP\tablet

    For example, my Tablet SDK is installed in this folder that is used in my Path SDK:

    C:\Program Search SDK WebWorks Motion\BlackBerry to Tablet 2.2.0.5

    Note that I am assuming that your path refers to the folder that contains bbwp.exe, but you really want to make a folder of higher level.

    Other paths seems fine. Can you give than to try and confirm if you still have questions?

    Erik Oros

    BlackBerry Development Advisor

  • Using JSR 172 stubs in WebWorks app

    Hello
    I'm new to webworks. I need to know how to access the webworks app webservices. I have a .net Server, and I created the stubs using JSR172. Now, I need to know how to use those heels in Webworks BB applications. Extension of JavaScript is a solution? If so, how to convert my heels as Extension of Javascript?

    Thanks in advance...

    Creating a script JavaScript extension for stubs will be complicated and is not portable to other platforms or the PlayBook.

    There are some examples out there how to call a web service SOAP directly via JavaScript and AJAX.  Here are just a few examples

    http://www.TechRepublic.com/article/easily-consume-SOAP-Web-services-with-JavaScript/5887775

    http://javascriptsoapclient.codeplex.com/

  • Problem signature App Playbook with ripple

    I am signing my app playbook with ripple. I use version 2.2.0.5 of the tablet OS SDK.
    I downloaded signature keys and installed them. I was able to generate a signed application.

    However, the second time that I tried to build an application signed, I get the below error. All subsequent attempts to sign the app failed with the same error. The only change that I did between the first and the second was to activate my wireless router I have compiled and signed application push on my test device Playbook automatically via wifi using ripple. I don't see how this would have caused an error like the one below, however. Also, I know that the passwords that I am providing are correct.

    A that someone has had this problem and solved?

    Message: "Oh Snap!" Build request failed with the message: signature [ERROR] failed to the signature on the signature application didn't check the code. The probable cause of this problem is entered a wrong password CSK. »

    To confirm that the password is not really the problem, you can try not to build your application from the command line?

    https://bdsc.webapps.BlackBerry.com/HTML5/documentation/ww_publishing/signing_your_tablet_app_191966...

    You have all non-alphanumeric characters in your password - as a single or double quote?

  • WebWorks: Sqlite, Playbook + smart phone

    Hi all

    Thanks in advance,

    Can someone please answer my questions.

    * is sql lite in persistence local webworks for playbook & smart phones

    * How can I access the sqlite Database via the command prompt (or in any other way) in the Playbook and smartphone

    * wht would be the difference html4 web database and sqlite in web works?

    Please answer my questions, I look forward to your response.

    Hello

    (1) Yes

    (2) use the Web Inspector!  I have a blog coming out on this soon, but until then this is how to take advantage of this feature (PlayBook only):

    (a) use the d command line argument when you build your application by using bbwp.exe

    (b) the mode of development and deploy your application on the Simulator/tablet as usual

    (c) launch your app WebWorks

    (d) to a desktop browser, load the IP address of your Tablet/sim followed by port 1337 (for example "192.168.1.7:1337") in the address bar

    e Tablet) Voila - content processing Web Inspector of a direct PlayBook.

    (3) do you mean HTML5 Web DB?  If so, they are in the same.  Web DB interface uses SQLite as internal storage mechanism.

    What type of app you are planning on building?

    See you soon,.

    Adam

Maybe you are looking for

  • Threw my ipod touch 4th generation

    Hello I have an old ipod touch 4th generation which I broke all the time. I threw the ipod touch in the field (long story) and it has not worked since. It lights and IV ' e tried to reload and reset but nothing works. I would like to get rid of it, b

  • How to build dashboards of conditions dealing

    Hello world! I have 2 bays of 10 elements of each and I want to build a new one based on these. The first table consists of range of integers from 0 to 9. (it can be 0,1, 2..., 8, 9, but also any other combination with these numbers such as 0,0,1,2,

  • How can I change to manually install the Windows updates?

    whenever I start my laptop it will be automatically updated to allsoftware without my permission... I want 2 control it how I can? Please help me

  • Laptop crashes! Need help please

    This week my 4 year old laptop hp pavalion dv6 laptop started crashing. Then I started trying to find the problem and fix it. First, I checked my drive c on the mistakes and done a Defrag. My computer has no problems with these tasks. Secondly, I che

  • Wake on LAN (WOL) through different VLAN on SG-300-10

    Hello I try to get WOL working through different VLAN on a Switch SG-300-10 in layer 3 Mode.  To achieve this, I set up a UDP relay (GUI menu Configuration IP) for UDP Port 7 to 255.255.255.255 (this should inundate all interfaces with the package),