01-26-2013 04:03 PM
I have already created my app (A currency converter) using HTML5 WebWorks and everything works fine but what I'm really looking for is 'the native blackberry look-and-feel' that BBUI.js offers. The problem I'm having is where to I put the code needed to create an actionBar and an actionMenu with sharing options within my index.html file or my home.html file (This is my first page that gets loaded on opening). I'm having this problem because I didn't really understand the tutorial in the github wiki and when I follow this tutorial:
and run the app in Ripple Emulator no pictures are shown much like in the image that I have attached.
I'm also looking into creating an update function and linking the code to a server or using an api to retrieve exchange rates (so that I don't have to do it manually when the rates change)
Any help would be very much appreciated.
Thanks in advance!
01-26-2013 05:11 PM
you can not open the pages directly. you must open index.html, and then push the screens via bbUI, so that it automatically applies the styling to the controls.
01-26-2013 11:35 PM
You need to learn how the Ripple emulator is used. If you don't have a web server set up, the URL will look similar to
Read this page (and probably some other links down the left menu of that page):
As for your code sample, the
part looks fine. The "false" part on the next line is just a fragment of a line and doesn't belong there, since the previous line already ended with a semi-colon.
01-27-2013 07:44 AM
Thanks, but I already know how to use the ripple emulator it is located at localhost:9910 The image I attached was an example of when I open the home.html file and I said the exact same thing happens in ripple.
Therefore, I was wondering, what other lines of code do I need to add to just have a simple actionBar and actionMenu functioning?