CrackBerry Genius of Geniuses
| | 01-24-2013, 01:21 AM Thread Author #1
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:
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! ;-) )