12-11-2009 02:46 PM
Is there any way to build a BlackBerry theme that has elements that change due to randomness, date, time or other factors? For example, I would like to have a theme that randomly displays 1 of 4 background images when the user navigates to the home screen.
12-11-2009 05:06 PM
If you want to create something like this, you will want to look into learning how to use Composer and how to write SVG code. This is the only way you can add some dynamic elements to the Home Screen and the Lock Screen of your themes.
12-13-2009 07:55 PM - edited 12-13-2009 07:57 PM
12-14-2009 11:48 AM
Using a combination of Composer and hand-coding SVG, you can create animated/interactive Home Screens and Lock Screens.
It's definitely more complicated, though, than just using Theme Builder to create a theme. Here's two pieces of documentation that RIM has created specifically towards using Composer and SVG:
Even though the Composer documentation is for 4.7 version, I know that they didn't change much between that version and the current 5.0.
I hope this helps.
12-16-2009 01:23 PM
thanks for providing these references.
I dont think a pure SVG coded solution will provide the capability of displaying an image based upon date/time or randomness, so I dont think a pure SVG coded solution will be enough. I will need somekind of scripting control over the SVG document. I will try to research this more.
12-17-2009 11:15 AM
Far as I know, from what I was told by the people who make Theme Builder at the last developer conference, there is no way (yet) to set animation triggers based on current time or date.
For my own themes, I've created SVG animations that are triggered to change every X number of min/second/hours. I've also created animations that are triggered based on which shortcut buttons are highlighted which may or may not stop when the user focuses off the button. It gives an air of randomness when it really isn't.
There's quite a bit you can do, though you will probably have to learn a bit about hand-coding SVG, because relying solely on Composer will only get you so far.