BBUI.js

I started using webworks. I want to add the BBUI.js in the folder webworks... But I do not know where to paste. Please help me. I use webworks 2.0.0.54

You can place the BBUI resources anywhere, even if most developers tend to have folders for specific categories (i.e. a folder 'js' for their Javascript files), a folder 'css' for their style sheets, etc.

The important part is that when you reference the files in your project, you use the appropriate path for which you have placed the files.

There are a number of samples using BBUI here:
https://github.com/BlackBerry/BB10-WebWorks-samples

Maps, Toast, bbm, to name a few.

Your HTML5 project must be contained in the root ' www' folder.

Tags: BlackBerry Developers

Similar Questions

  • bbui action bar is not displayed

    Hey guys,.

    I'm new to bbui and may not know how to work the stock bars.

    I just put a definition of simple screen that works with the exception of the action bar. It is not using firefox, chrome, or Simulator. Did I miss something?

    Players
    Matches
    Players
    BBM

    see you soon

    OK, first attachment.

    It's the triangle because it is subject to the approval process. as soon as it is approved, everyone will see, here's the example is approved:
    http://supportforums.BlackBerry.com/T5/Web-and-WebWorks-development/add-exception-pop-up-on-first-TI...

    and to do so in Rich Text, simply click on the 5th icon (tree), just before the movie icon, then click Browse, select your image, then click on insert image, made.

    I also develop something and I don't use firefox because I don't know how to use it in the debugger, instead, I use chrome/chrome to serve as an inspector to debug. I never use browser to see a preview of my application.

    application with webworks development takes a lot of time? Yes, you could be rite. but there is a way of development more effective and safe time, follow this:

    Update your BlackBerry WebWorks application without recompiling

    Basically, it works like this:

    1. Create your project as usual
    2. "in the config.xml file to replace with something like this: http://192.168.1.125/notes/index.html ' / > where 192.168.1.125 is my server local apache
    3. in my case/var/www/notes in my local server apache, I put all the file from www
    4. deploy the application on my Z10
    5. debugging
    6. When I need to change something, I just change some necessary in my local web server, never touch deployed Z10 app ever, unless I have to change something in the file config.xml or add/remove plugins

    naked in mine, it's the former article of 2009, but it works, read this article to the end also comments, one of the developer shows its implementation:
    http://dborba.com/wow-no-more-re-packaging-when-testing-HTML5-apps-on-your-device/

    good hunting

  • ActionBar / bbUI.js - event onclick in the Menu tab overflow of unmarked tab

    Hello

    I use the collection of great bbUI.js for my application.

    Thanks to the team of developer for such things.

    Is it possible to trigger an onclick event to a tab that is not marked as action of overflow in the tab overflow Menu or to hide the tabs not spotted in the overflow Menu?

    Currently the tabs not spotted inside the overflow Menu is any cause at the end of the onclick event missing.

    I hope that someone has ideas for my problem.

    Thanks for the tips!

    Moritz

    Thanks for the tip.

    I opened a new show.

    The link for those interested:

    https://github.com/BlackBerry/bbUI.js/issues/259

  • How extenation put bbui.js implemented in webworks 2.0

    So I'm having a difficult time in the BBUI.js implementation using webworks 2.0.

    I downloaded from.  https://github.com/BlackBerry/bbUI.js Now the instructions are not very clear on how to install.  I managed to find the REadme file in the pkg\bb10 folder.  He said for the installation of the extension of webworks bbui.js to go to C:\Program Research In Motion\BlackBerry 10 WebWorks SDK a.b.c.d_

    Fact on my PC which is C:\Program Files\BlackBerry\BB10 WebWorks SDK 2.0.0.71.

    Then, the instructions say: "in this directory, you will find a * Framework\ext * directory.".  Simply create a * bbui * subdirectory and copy the entire contents of the above * ext directory *.
    in your new directory of void.  Eventually, it will resemble the following:

    ```
    Framework
    \ext
    \bbui
    -client.js
    -index.js
    -manifext.json
    ```
    "

    Howerver ther eis no Framework\ext directory.  How do others implement expansion webworks bbui.js in 2.0.

    Thanks in advance.

    Figured it out.  Appeartly a lot of the docs have not been updated for 2.0.

    http://developer.BlackBerry.com/HTML5/documentation/V2_0/coding_differences.html

    We should use cordova.js instead of webworks.js

    And not webworksready but deviceready

    document.addEventListener ("deviceready", function() {}
    Alert ("Im in web works ready function");
    });

    Well atleast this post is for all new Webworks 2.0 and ran into the same question I did.

    See you soon!

  • [bbui] on bbui pushScreen

    I want the effect that cascades as much, when I click on an item, she slips into the details page.

    and when I drag to the right or click on the back button, it slips away, return to the position that I was watching.

     

    But in bbui, when I call pushScreen, it loads another page (fine there are slide effect, I know)

    but when I want to save and called popScreen(), it recharges the screen parent again and I lose the position I've read.

    In addition, no sliding effect.

    and that sucks, hope to be improved.

    Unfortunately, this is the way THAT BBUI is currently set to work. All content is loaded into the same container of the same document. Basically like a sheet of paper that keeps erasing and new content is drawn on (as opposed to switching between several sheets).

    BBUI is not currently have a mechanism in place to remind the scroll position on 'leave' a page and restore once back, so the position gets destroyed when the content is erased.

    EDIT: You could potentially include the management yourself; store the scroll position before qualify pushScreen and then restore the scroll position when the page is returned by monitoring the ondomready event.

    There are other user interface infrastructure that have included, and works to improve the offer, which BBUI provides today but I don't have a timeline on when it would be immediately.

  • Of tab overflow menu BBUI.js not scrolliong

    I noticed that the menu tab of overflow on the left of the screen if you have a number of options he doesn't parade not that which is bad, because it can run in portrait mode, but options can be hidden in landscape mode. Is there a workaround or a fix for this solution?

    I don't know of a work around at the moment, but it is registered as an issue that needs to be corrected in the next version https://github.com/blackberry/bbUI.js/issues/142

  • [request] bbui js for a passport for blackberry

    Hello

    I have an app webworks using webworks 1.x and bbui.js.

    I want to test for passport of blackberry. Is bbui support for a passport of blackberry?

    I downloaded the Simulator, too. But it always shows error message "cannot locate the PNP bios.

    Could you help me? How to solve it?

    Have you checked the latest version of BBUI.js? I highly recommend using it on together with the last 2.x SDK WebWorks.

    The history of validation for BBUI.js reveals that there has been some work on the support of passport:
    https://github.com/BlackBerry/bbUI.js/issues/1018

    Don't forget to get latest sources here:
    https://github.com/BlackBerry/bbUI.js/tree/master/pkg/BB10

    Which seems to be 0.9.6.1894 at the time of writing.

  • How to properly close a BBUI.js screen?

    Hello world

    When writing my application, I ran into a problem:

    I got a screen that periodically triggers a script using setInterval().

    When I go to another screen and return to the screen with a periodic script, the periodic script fires twice and so forth (5 x open = lights 5 x).

    I've rechecked on loops or bugs in my code and found nothing.

    I'm using BBUI.js 0.9.6 and I use bb.pushScreen () to go to the other screens.

    I tried to run bb.popScreen (), but demand appears to hang (gray screen, must start the app).

    Could you tell me how to properly close the screen, or at least to stop the execution of JavaScript on account of the screen before moving on to another screen?

    Thank you.

    setTimeout/setInterval returns an ID that can be used in conjunction with clearTimeout() don't / clearInterval stop subsequent calls. Navigation in out of the page, I would first of all clear intervals.
    https://developer.Mozilla.org/en/docs/Web/API/window.setInterval

    As a general rule, anti-pop tends to be used to close any screen which is presented in the display through pushScreen, with the exception of the first screen that view you as there is no screen 'parent' to return.

  • is that bbui.js supports other phone device apart from the BB10 (like android or iPhone)

    is that bbui.js supports other phone device apart from the BB10 (like android or iPhone)

    BBUI.js is only supported by BlackBerry. To implement a user interface independent of the platform, you will need to use another library like jQuery mobile, etc.

  • BlackBerry 7 BBUI slow / not working

    I am trying to convert my BBUI 10 BlackBerry webworks app for BlackBerry 6/7.

    I have the Simulator 9320 with OS 7.1.0.405.

    I used the bbui documents and my app blackberry 10 to see how I do.

    I webworks in the js folder if the application doesn't do anything

    Files included:


    in the console "start app" does not occur.

    Basiclly it loads scripts and I get:

    HM, blackberry.event seems to be a BB10 API and the error comes from bbui.js. Did you move the source files for source BBOS BBUI BB10 BBUI files? More precisely:
    https://github.com/BlackBerry/bbUI.js/tree/master/pkg/BBOS

  • BB10 - bbUI.js - pushScreen + anti-pop question

    Hi everone.

    I'm running into a problem with the functionality of pushScreen (.) and popScreen() bbUI.js. If I have an application with 3-4 + screen and push them to the screen and then try to blow up one by one I'm not able to return to the first screen, the soft seems to not respond. I have already tabled a question in bbUI.js repo but Tim has not yet responded. I have attached a small application that contains 7 screens (0-6, as the screen-table of bb.screens aura) and you can go on screen 0 to 6, then back, but if you go back 2-3 screen using the popScreen() function, it seems to freeze the app.

    I also thought that some things the listener to 'webkitAnimationEnd' is not called and thanks to this, the domReady event is not raised in bbUI.js.

    I hope you can help getting it fixed and get these use cases to work. THX

    Developer benefits other follow-up.  It seems that this problem has been fixed in the /next/ branch of bbui.js:

    https://github.com/BlackBerry/bbUI.js/issues/262

  • Eception SyntaxError: Unexpected end of entry... with Webworks - 1.0.2.9.js:1178 & BBUI - 0.9.4.js

    Super strange, so I will try to integrate the new code BBUI - 0.9.4.js.

    The initialization code for BBUI.js has changed to include Webworks, so I tried and started to get:

    I tried on an empty application, and yet, I get the error.

    config. XML

    
    http://www.w3.org/ns/widgets"
       xmlns:rim="http://www.blackberry.com/ns/widgets"
       version="1.0.0.0" id="Test" rim:header="Test">
       
       Test
       Test desc
       Test
        
        
        
        
    
    

    index.html

      
          
              
              
              
              
          
          
          
      
    

    Just in case, I have redownloaded the SDK. At caught the webworks Framework version > ClientFiles. Who did nothing because the file is the same.

    I use: ripple UI (v0.9.10), Ripple build & deploy (v0.9.5).

    I feel like I'm missing something perhaps obvious. No idea what I'm doing wrong?

    Hi DueNorth,

    This issue is cosmetic and can be ignored. He tries to interview an extension on the device, but it is running on your computer, it returns an error. Our development team is working on getting it resolved for a future version.

    Thank you for your patience.

  • bbUI Q10 and Z10/Z30 Action Bar text title

    Dear community,

    I use the BBui.js with an action bar. I have 4 buttons in the action bar. With a Z10 or Z30 the application displays the button with the icon and text. Q10/Q5 only shows the icon, without the title text.

    Y at - it a solution for this problem?

    It is designed to allow the Q5 and Q10 to get more space for the actual content.

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

  • BBUI & 2.0 Webworks - just don't get it

    Hello

    Although I have never developed before that I'd like to think that I can follow a few basic instructions. After trying to get a bar single action appears on my Q10 for over a week, I gave up and decided to charge the samples on my device.

    If I create a project webworks and then copy the contents of the sample BB10 folder in my www folder I wouldn't be able to see an app to work samples? All I get is a blank white screen.

    The examples BB10 folder contains the BBUI.js, BBUI.css, index.htm (plus all the htm additional files), images, js and css + subfolders files and config.xml file. Looks like everything I need is here.

    Hope someone can help me understand this and get something... anything on my screen.

    Kind regards

    Tim

    EDIT: I am running OS 10.2.1

    Hi Tim,.

    I would check the 'standard of BfB for bbUI '. There is a version that works on WebWorks 2/Cordova there.

    You will have all this BB10 UI right out of the box, and it will probably save you a ton of time.

    There are instructions for details on how to build the sample (quite easy, just need to add plugins for most) as well.

    https://github.com/BlackBerry/BB10-WebWorks-samples/tree/WebWorks-2.0/BFB-boilerplate-bbUI.js-0.9x

Maybe you are looking for

  • How to move all messages in local folders?

    In my Thunderbird I have an IMAP account that is no longer existing on the remote mail server. All mail is on my local drive I can open it and browse. What I want is to move all messages in local folders and get rid of the old count IMAP. It's really

  • Permit private browsing, but it is disabled in the options and I don't want

    I've updated to 5 FF yesterday and when I rebooted, I am in private browsing mode. I did not allow it. In Options, it DO NOT activated. PV of the stop is grayed out. I deleted the file session.js. I don't want to use PV - I want my saved tabs back up

  • Spectrum of writing and reading spectrum

    Hi, I am currently busy writing read an optics Oceans USB 2000 spectres + I need to take 20 lightspectra of samples and connect these Spectra I have a file for analysis later.  Logging seems to be no problem but read the correctly.  The Spectra does

  • What happened to Snipping Tool?

    HP Pavilion Slimline s5213w running under Windows 7 64-bit 1. earlier today, I ran Snipping Tool for the first time: START-online snip => enter; Select the tool-online entry. It worked fine and I did a snip and saved. A few minutes later I tried agai

  • Pavillion 500 - c60: two different monitors as multiple monitors

    Is it possible to run a two-screen display using two completely different monitors? I'm replacing an antique desk with a 500 - c60 (Win 8.1) Pavilion and also buy a W2371d monitor for the new machine. The old PC use a perfectly good 17 inches Samsung