Welcome to the CrackBerry Forums Create Your Account or Ask a Question Answers in 5 minutes - no registration required!
Results 1 to 3 of 3
Like Tree1Likes
  • 1 Post By peter9477
  1. peter9477's Avatar
    CrackBerry Genius of Geniuses

    Posts
    5,216 Posts
    Global Posts
    5,218 Global Posts
    Thread AuthorThread Author   #1  

    Lightbulb Cascades LiveView app for QML devs

    I'm announcing that the BlackBerry-Py Project (of which I'm one of the founders) has just released an updated version of our famous QML LiveView utility, for the first time supporting Cascades.

    Cascades LiveView is a simple developer's tool which lets you select a .qml file (which for now must have a Page as its top-level component) and load it. Much more importantly, it monitors that file and other .qml files in the same folder, watching for changes, and reloads the original file every time there is a change.

    This means you can dump some .qml files for a portion of the UI you're working on into shared/misc (via the WiFi or USB Samba share) and load it up on the device to see how it will really work. Sometimes this is less fuss and more effective than using the QML preview feature in Momentics. Any changes you save to the file(s) will be noticed within a second and the main file will be loaded again, instantly showing you the updated page. If there are errors, it will show those instead, until you fix and save and see the corrected page again.

    It's not sophisticated in any way yet... I just wrote this in the last few hours. It already works well enough that I used it to quickly turn its own "UI" (which hardly deserves the name) from a single "Load QML" button into this, umm, work of art ;-) , as a form of eating my own dogfood:

    Cascades LiveView app for QML devs-sshot1_small.png

    If you think this might be useful, you can grab a signed copy from the project's download folder under BlackBerry-Py Project . You can follow us on Twitter at http://twitter.com/BBPyProject

    Please note, although this app is written in QML/Cascades and Python, it will work perfectly well for those doing QML/Cascades UIs on top of C++ code in the regular way. (And if any of you Haskad.es guys are reading, you're welcome either to use this, or steal the idea and roll your own. Healthy competition! ;-) )
    Battery Guru for BB10 tracks voltage, power, battery health. (Also on the PlayBook.) White Noise helps you sleep or concentrate.
    Follow us on Twitter or Facebook or visit Engenuity's mobile apps page.
    Thanked by 3:
    bbquincar (01-29-2013),  Ninjatogo (02-05-2013),  SCrid2000 (01-30-2013) 
    bbquincar likes this.
  2. kdna's Avatar
    CrackBerry Addict

    Posts
    674 Posts
    #2  

    Default

    Very interesting app Peter. Would you by any chance be working on a native code viewer with syntax highlighting?
  3. peter9477's Avatar
    CrackBerry Genius of Geniuses

    Posts
    5,216 Posts
    Global Posts
    5,218 Global Posts
    Thread AuthorThread Author   #3  

    Default

    Certainly not as part of this little app. This is just a wee tool for developers to get a productivity boost when creating new QML, mainly intended for custom components although I'm not sure what all the limitations are yet. It might prove beneficial even for entire page layouts.

    If you do use this, you'll probably find it helpful to have something like a "property bool DEBUG: true" in the page and use that to enable/disable certain behaviors. I use something like that to have an onCreationCompleted set up model data for testing, and to disable certain things that depend on other stuff outside the page in question. The app can't replace missing logic that the rest of your UI or app code would provide, so you likely wouldn't use this past the point where a particular component or page felt somewhat "mature" or at least stable, and you could stop with the second-by-second tweaking for which some people would just use the Momentics Preview mode.
    Battery Guru for BB10 tracks voltage, power, battery health. (Also on the PlayBook.) White Noise helps you sleep or concentrate.
    Follow us on Twitter or Facebook or visit Engenuity's mobile apps page.

Similar Threads

  1. What's App for Dev Alpha updated to latest version
    By chrissmartin in forum BlackBerry 10 Dev Devices
    Replies: 10
    Last Post: 01-03-2013, 09:03 AM
  2. Replies: 1
    Last Post: 10-09-2012, 08:24 AM
  3. Call2MIndBB10 App for Dev Alpha
    By dpcanada in forum BlackBerry 10 Dev Devices
    Replies: 1
    Last Post: 09-02-2012, 10:20 PM
  4. Font app for native devs
    By Sucroid in forum PlayBook Apps & Games
    Replies: 0
    Last Post: 07-03-2012, 12:02 PM
  5. Replies: 22
    Last Post: 06-13-2012, 03:54 PM

Posting Permissions