BB10: Splash Screen / Page Load EventJune 25, 2012
Each time I've learned a new mobile platform, the first app I implement is my "Baby Names" app.
The first step is to implement the splash screen.
As I noted in an earlier post, this involved a custom timer control.
But to start the timer, I need a page loaded event, or something similar. I don't see that in the reference documentation for "Page".
Asked question:
http://supportforums.blackberry.com/t5/Cascades-Development/Page-load-event-in-QML/td-p/1783941The answer is to use:
onCreationCompleted: { splashTimer.start (); }
|
|
This signal is part of
UIObject and inhereted by
Page, which is why I didn't see it when I looked at the documentation for
Page.
Getting stuff done in QMLJune 25, 2012
Although QML seems extremely efficient and quite elegant, one of my cautions is how powerful/flexible it is in terms of actually getting things done.
For example, I wondered how to add a timer to a page, and found this:
https://developer.blackberry.com/cascades/documentation/ui/signals_slots/signals_slots_create_timer.htmlOy. | There's no built in timer control? That's a bit of a shocker. |
Is this just the tip of the iceberg? I'm a bit nervous that perhaps QML will require custom controls like this for just about anything of this nature. If so, that is really unfortunate.
BB10: Adding menusJune 25, 2012
https://developer.blackberry.com/cascades/documentation/ui/navigation/menus.htmlInteresting how menus don't fully open when triggered. Will have to play with that to get a sense of it.
Also interesting that there is no visual cue that something has a context menu. I wonder if that will make context menus tricky to pull off well.
older >>