PlayBook webworks slow apps

I have a problem of development for the Playbook with the webworks kit. My applications, although relatively simple in code, are long to load. Background images that are only 50 KB of size can take 5 or 6 seconds. The application crashes so that what is happening. The JSON load this code is also very slow to respond. Tetxboxes with auto fill (jquery) are lag, maybe 5 to 10 seconds.

In addition, if the same code is run from a web server via the built-in browser, it loads perfectly fine and fast and is very sensitive. Auto complete is perfectly responsive.

Does anyone know if running applications such as compiled product is somewhat different on the same code running in the web browser?

Thank you.

The only thing I could do to improve the loading time is to massively reduce the quality of my images included. This made it more acceptable, about 1-> 2 seconds to load, but I've really had to compromise on the quality of the image.

I also downplayed all the .js files and obfuscated them as much as possible. All this has helped, but at a reasonable price, I would say. IFrame embedded is much slower than the same page in the standard browser.

A shame really as the platform that works well.

Tags: BlackBerry Developers

Similar Questions

  • Audio player of PlayBook webworks.

    I'm playing the audio data from the system of local files and internet audio stream.

    I tried blackberry.audio.Player method explained in the documentation of the api webworks. I guess the playbook does not have this object installed, because as far as I can see, I'm an exception due to the access to the object not initialized.

    Secondly, I tried jplayer, which uses the music player if html5 html5 extensions are available, and falls to adobe flash player if html5 is not successful. It has always failed...

    Third, I tried the pure html5 player. I can see the commands, the audio length is displayed with '-' value? (I did not understand why?) but no sound.

    I tried the method of second and third in google chrome, it works. Do you have an idea what could be wrong? What is the recommended method for the audio playin?

    Hello

    There was some discussion around this topic on the forums.  The blackberry.audio API is only on the smartphone platform... The PlayBook WebWorks APIs can be found here:

    http://www.BlackBerry.com/developers/docs/WebWorks/API/PlayBook/

    Audio not playing is not in the Simulator is a known problem.  The 0.9.4 Simulator comes not with any codecs to be able to play the video or audio.  This will be corrected in the final RTM version of the Simulator.

  • hasDataCoverage fails for Playbook WebWorks

    Hello

    'HasDataCoverage' should work for Blackberry Playbook Simulator (beta 2)?

    I'm using the SDK WebWorks... and get the error message: "you are not in the coverage, try adding cities later.

    Do I have to activate something else, or if this feature is not enabled on the playbook Simulator.

    Thanx, H.

    PS: Do not know if there is somewhere else to post Playbook & Webworks related research - there is no Tablet OS section for webdev, only for AdobeAir

    hasDataConnection returns true if there is at least one network interface active on the PB. It works fine on a real device. For some reason, the Simulator always returns false. It might be because of the VMware virtual network bridge.

  • 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

  • Disable the scroll/zoom in app playbook webworks

    I searched for a while, but I can't find a way to block the application in place, disabling double tap/pinch to zoom and scrolling...

    Since webworks offers the possibility to create full blown using web technologies, it is a very important feature. Power to scroll the page/zoom ensures a poor user experience.

    Any help would be appreciated.

    I use webworks SDK version Beta2 v1.0.0.2

    
    

    When you compile and run your application on the Simulator, he should not scroll vertically. While you experiment on the web browser of the Simulator, you can. * scratch Chin *.

  • Signature Playbook WebWorks problem request

    1. I created an app PlayBook using WebWorks
    2. I developed my application using Eclipse WebWorks 2.0 plugin.
    3. I have compiled my Eclipse app which produces a file zip "myapp.zip."
    4. I create a my zip file .bar file by running the following at the command prompt:

    "C:\BlackBerry SDK\PlayBook\BlackBerry WebWorks SDK for Tablet 2.0.0.4\bbwp\bbwp.exe" 'C:\Users\myname\workspace\myapp\build\myapp. Zip"o"C:\Users\myname\workspace\myapp\build\Packaged ".

    5. I try to connect the bar file at the command prompt: (password changed)

    ""C:\BlackBerry SDK\PlayBook\BlackBerry WebWorks SDK for Tablet 2.0.0.4\bbwp\blackberry-tablet-sdk\bin\blackberry-signer"- cskpass - verbose mypassword--keystore"C:\Signing Files\MyP12Key.p12"- storepass mypassword C:\Users\myname\workspace\myapp\build\Packaged\myapp.bar" RDK

    I get the following error:

     

    Answer = answer of Signature
    Confirm = null
    Error = Code signing request failed because Application-Development-Mode in manifest is present and is not set [false].
    ]
    barsigner error: Server error: Code signing request failed because Application-Development-Mode in manifest is present and is not set [false].

     

    What is the problem?

    W00T!  I think it was her! There are a few things that are a little unclear.  but I got through it.  I published a blog post with all the instructions (copied) as well as a few notes to make it clearer to my blog.

    Thank you very much for your help Tim!

  • How to get the Javascript Extension written for Tablet Playbook/submit to App World

    WebWork SDK "TABLETS" documentation:

    https://developer.BlackBerry.com/HTML5/documentation/ww_release_notes/bb_webworks_sdk_tablets_rn_2.2...

    It shows that we can

    "use the JavaScript extensions-

    You can create JavaScript extensions to enhance your applications by adding them to archive the application before compiling the source of the application. You can modify and distribute these extensions. "

    However, even I can successfully test the extension on my local playbook in the folder "\BlackBerry WebWorks SDK for Tablet 2.2.0.5\bbwp\ext", I can't find doc showing what to do during the presentation of the app on the app store with my extension. WeBWorK for smartphone seems obvious because it uses the java & jar, but just can not find information about the expansion on tablet...

    The extension is integrated within your compiled cod or bar. you have nothing to do rather than download the bar or COD.

  • [Playbook WebWorks] Behavior of the entry element

    Do not know if Miss me just something, but...

    I am building a little app for HTML/JS/CSS to be compiled by WebWorks in a Playbook application and tested in the Playbook Simulator (v0.9.2).  Essentially, everything looks good, and I love it.

    A very strange situation appeared, however, when I use HTML5elements as a way to select a value.  They make it very well and seem to even work very well themselves.  However, selection/move slider control of range - element in the Playbook Simulator somehow makes all the rest of the page (buttons, etc.) unclickable.  Specifically, buttons subsequently always visually normally respond to clicks, but all scripts attached to their click events (who have done very well before the range element has been addressed) are not executed.

    A double-tap anywhere on the screen of the page / seems to cancel this strange state, and clicks on the new buttons fire their click event handlers.

    This problem does not occur in browsers based on webkit running Windows (for example, Chrome or Safari), just to the WebWorks-setting day running app in the Simulator Playbook.

    Where I am is not clear, I have also attached a sample basic HTML test attempts to illustrate the issue.

    Is it me?  I'm just missing something stupid?  Or...?

    Thank you.

    Thanks for finding this and bring it to our attention.  I think you've discovered a flaw of web rendering engine.  I can confirm that the keyboard does not automatically appear during application development at the entrance to the fields, after interaction with a field in the range.  You can always manually open the keyboard by sliding the left low bevel angle towards the center of the screen.

    You kindly enter this question the developer Issue Tracker: https://www.blackberry.com/jira/secure/Dashboard.jspa so he can get extra visibility?

  • IPad2 very slow apps and condensation.

    IT seems that after each upgraded my Ipad IOS slows down more and more.  Now he begins to drop apps while I'm in them and return to the home screen.  I tried to restart the system, but apparently not helped at all.

    Not enough storage space available can cause the symptoms you describe.

    Tap settings > general > then drag down to available .

    If it is less than 500 MB, you must free storage of at least 1 GB.

    Make sure you restart your iPad After erasing data to see a difference in available storage space.

  • Jerky slow apps

    I have 1 or 2 applications that have been working well and which are now slow.  for example, an application pool that connects to other players on the net now is slow and jerky.  That would be a problem of slate or the net?  Works fine on a Kindle Hd.  Tried to reinstall app but no change.

    Hi pwat. What 7 slate model do you have?

    What are the exact apps that are slow?

    Have you tried to restart the Tablet?

    Take a look at this and tell me if any of these apply to tablets symptoms:

    http://support.HP.com/us-en/document/c03698946

  • iPad slow apps updated compared to the same applications on android

    Why are they so slow to update on the iPad apps.

    Friends using the same game on android apps are updates days or weeks before I see them on my ipad

    If you mean that the updates are not available in the iTunes App Store then you need to ask the developer of why they are slow to bring into the store (it may be in part because of the App Store being more rigorous review process)

  • Relational database for PlayBook webworks

    A simple question (I'm scared, I know the answer).

    Can I implement and use a relational database using WebWorks on Playbook? Y at - there no other choice?

    Thank you.

    Yes, you can do it all

  • Development of Playbook (Qt4.8); app configuration data storage

    Hello

    I'm developing an application of PB using Qt4.8. I would like to know where I can store configuration data. The link http://supportforums.blackberry.com/t5/Adobe-AIR-Development/BlackBerry-PlayBook-File-System-Layout/... gives to think that the folder 'data' is mapped in $HOME

    This means that, in my app, I can simply copy config data in ' ~ / appConfig.dat ' (i.e. tilda oblique which is a unix convention to go to the home directory)

    See you soon,.

    Ben

    "You can store configuration data in the app storage directory that can be accesed by using the access/accounts/1000/appdata path / namespace.application data.   You can also use system browser in the IDE to see the application directory structure.   I've included more documentation about this below.   Even if it's for BB10, most of the details also apply to the PlayBook.

    https://developer.BlackBerry.com/Cascades/documentation/device_platform/filesystem/

  • PlayBook - Webworks - Javascript and Jquery problems

    I have problems with my application compiled of Webworks.

    The application works very well "as source" in Firefox and as an AIR with Aptana Studio application.

    However, when I compile files HTML/Javascript app won't compile as expected.

    When using

    onclick="window.open('index.html?foo=bar')"
    

    It gives "network error" (see image below), then that is just opening with a query string.

    The $functions of Jquery get ignored too such as a piece of code like this:

           $(
                function(){
                    loadSelectedFoto();
                    setDiff();
                    loadHs();
                    $( "div.puzzle, p" ).puzzle( memdiv );
                }
                );
    

    Is due to the Webworks Beta status, or I'm doing something that just cannot be done this way (before the supply of PB )

    Ah... According to me, that there is a problem, as I also mentioned in the beta... It has since been corrected, but has not yet been published. Stay tuned for an update will be available soon.

    Fundamentally, I believe it's the parameters of query string on the end of the URL, which is the origin of the problem.  For now, you might be able to pass the data through cookies or other means until this bug is released in the next version of beta drop.

    This problem also manifests itself in local applications.  It also affects local AJAX or the filling of an iframe with a local URL that has query string parameters.

  • [Playbook WebWork] Error compiling example, sketchPadStandard.

    Error compiling example, sketchPadStandard.

    Hello everyone.

    I just installed the environment well, I tried to compile the example.

    Can someone explain this error?

    Note that I have spaces in my way...

    It's the default installation path:

    C:\Program Files (x 86) \Research in Motion\BlackBerry WebWorks Packager for PlayBook\bbwp

    And yet it works... so always think he's prob depends on your JDK version.

    In any case - njoy the coding and the sim card

    . H

Maybe you are looking for