Join Our 3 MILLION+ Members Today! Register Here | Login
Go Back   BlackBerry Forums at CrackBerry.com > BlackBerry Professionals > Theme Developers

Like Tree30Likes

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #31  
Old 04-22-2010, 07:20 AM
CrackBerry Abuser
Device(s): iPhone4
Carrier: AT&T
 
Join Date: Mar 2009
Posts: 326
Likes Received: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by deficitism View Post
Heres your today info. Read this carefully.

There is an issue adding the today objects with code. What happens is, when you add them with code and not with theme builder, theme builder will yell at you and say 'calendar1time' is already in use. You need that calendar1time object as its the time of your next appointment.

However, I found a workaround.

Add your permanent today item with theme builder. Put it where you want it on your screen. Out of box, this will result in your today area showing all the time.

In your custom SVG code, you will manipulate what the today will do. You can make it hide/show/slide/etc on events (hotkeys, buttons, etc)

Heres a snippit from a theme I'm working on. What this will do is hide your today objects at frame 0. Making it technically a 'hidden today'.

Code:
<set xlink:href="#hs0_line" attributeName="display" to="none"   begin="0"/>
<set xlink:href="#hs0" attributeName="display" to="none"   begin="0"/>
<set xlink:href="#calendar1hotspot" attributeName="display" to="none"   begin="0"/>
<set xlink:href="#calendar2hotspot" attributeName="display" to="none"   begin="0"/>
<set xlink:href="#calendar3hotspot" attributeName="display" to="none"   begin="0"/>
<set xlink:href="#calendar4hotspot" attributeName="display" to="none"   begin="0"/>
<set xlink:href="#calendar5hotspot" attributeName="display" to="none"   begin="0"/>
<set xlink:href="#calendar6hotspot" attributeName="display" to="none"   begin="0"/>
<set xlink:href="#calendar7hotspot" attributeName="display" to="none"   begin="0"/>
The above code is assuming you have 7 calendar today items. You can add more or take some away. If you are using a 'messages' today item, change the words 'calendar' to 'messages'. If you have both a calendar and messages today on the same theme, you will need to change the top 2 object names incrementally, based on the order you added your today in theme builder. For example, if I added a 'calendar' today in theme builder, then I added a 'messages' today afterwards, the calendar today objects would use 'hs0line' and 'hs0'. The 'messages' today would use 'hs1line' and 'hs1'. If I added the today objects in the reverse order, messages would use 'hs0line' and 'hs0'. Calendar would use 'hs1line' and 'hs1'. I hope this makes sense to you.

Heres an example of using the hotkey 'x' to show my calendar today area. (based on the example above)
Code:
<set xlink:href="#hs0_line" attributeName="display" to="inline"   begin"accesskey(x)"/>
<set xlink:href="#hs0" attributeName="display" to="inline"   begin"accesskey(x)"/>
<set xlink:href="#calendar1hotspot" attributeName="display" to="inline"   begin"accesskey(x)"/>
<set xlink:href="#calendar2hotspot" attributeName="display" to="inline"   begin"accesskey(x)"/>
<set xlink:href="#calendar3hotspot" attributeName="display" to="inline"   begin"accesskey(x)"/>
<set xlink:href="#calendar4hotspot" attributeName="display" to="inline"   begin"accesskey(x)"/>
<set xlink:href="#calendar5hotspot" attributeName="display" to="inline"   begin"accesskey(x)"/>
<set xlink:href="#calendar6hotspot" attributeName="display" to="inline"   begin"accesskey(x)"/>
<set xlink:href="#calendar7hotspot" attributeName="display" to="inline"   begin"accesskey(x)"/>
Finally, here is an example of hiding said today area with hotkey 'z'.
Code:
<set zlink:href="#hs0_line" attributeName="display" to="none"   begin"accesskey(z)"/>
<set zlink:href="#hs0" attributeName="display" to="none"   begin"accesskey(z)"/>
<set zlink:href="#calendar1hotspot" attributeName="display" to="none"   begin"accesskey(z)"/>
<set zlink:href="#calendar2hotspot" attributeName="display" to="none"   begin"accesskey(z)"/>
<set zlink:href="#calendar3hotspot" attributeName="display" to="none"   begin"accesskey(z)"/>
<set zlink:href="#calendar4hotspot" attributeName="display" to="none"   begin"accesskey(z)"/>
<set zlink:href="#calendar5hotspot" attributeName="display" to="none"   begin"accesskey(z)"/>
<set zlink:href="#calendar6hotspot" attributeName="display" to="none"   begin"accesskey(z)"/>
<set zlink:href="#calendar7hotspot" attributeName="display" to="none"   begin"accesskey(z)"/>
I really hope I explained this well enough for you. Enjoy, and feel free to show the community what you came up with!
WOW! that's just AWESOME!!!
Reply With Quote Tip this Post
  #32  
Old 04-22-2010, 11:19 AM
CrackBerry Genius
Device(s): iPhone 4s
Carrier: Verizon
 
Join Date: Nov 2009
Posts: 2,310
Likes Received: 88
Thanked 169 Times in 112 Posts
Default

+100! Thanks deficitism!!!

another question.. since the time date etc objects can be called... is there any way to make them move?
Meaning, you put a layer in composer etc... then in the svg, you add the time to the layer? and then add the code to slide the layer? would it work? I have had NOT time to mess with any of this!! grrrr!!! lol


you do realize that when we get all these new tricks down and are comfortable with using them... 6.0 will release and we will be starting all over! lol
__________________
Reply With Quote Tip this Post
  #33  
Old 04-22-2010, 11:26 AM
CrackBerry Genius
Device(s): 9930
Carrier: Big Red
Pin: TBA
 
Join Date: Feb 2009
Posts: 1,649
Likes Received: 5
Thanked 14 Times in 10 Posts
Default

Wow cool.

How do you assign a hotkey to make an object slide?

Example:

Press # to make hidden dock slide up/over/down (whatever you do in the svg)
Press * to make it slide in reserve.

Thanks.
__________________

*** Blackberry Theme Lab ***
Icons, Tutorials, OTA Hosting and more!
FOLLOW US: Twitter | Facebook
Want to chat??? PIN: 32A439D7
I LOVE MY PLAYBOOK!!!

Last edited by b15ginz; 04-22-2010 at 11:39 AM.
Reply With Quote Tip this Post
  #34  
Old 04-22-2010, 11:42 AM
CrackBerry Master
Device(s): 9850 (Torch 2)
Carrier: Verizon
 
Location: New York
Join Date: Jan 2009
Posts: 1,157
Likes Received: 0
Thanked 1 Time in 1 Post
Default

Quote:
Originally Posted by deficitism View Post
Yes you can do this. I'll post this up, along with status text when I get a few minutes.
Please let me know.
Thanks.
__________________
Come check out my Website with all of my Storm and S2 themes!
Follow me on Twitter @Padgoi.
Reply With Quote Tip this Post
    Thread Author   #35  
Old 04-22-2010, 12:18 PM
CrackBerry Abuser
Device(s): Tour
Carrier: Verizon
 
Join Date: Mar 2009
Posts: 215
Likes Received: 3
Thanked 5 Times in 2 Posts
Default

Quote:
Originally Posted by StaticFX View Post
+100! Thanks deficitism!!!

another question.. since the time date etc objects can be called... is there any way to make them move?
Yes, times a million! Anything, and I do mean anything that has an object listed in the OP can be manipulated in the way you descriped.

You cant put these objects IN composer though. It will crap out. Heres a tip on how I make things a bit easier.

I draw fake objects in composer that are the same size of the banner/today/status object that I want to animate. I export the SVG from composer, replace the 'fake' object with a real one. And voila.
Reply With Quote Tip this Post
    Thread Author   #36  
Old 04-22-2010, 12:20 PM
CrackBerry Abuser
Device(s): Tour
Carrier: Verizon
 
Join Date: Mar 2009
Posts: 215
Likes Received: 3
Thanked 5 Times in 2 Posts
Default

Quote:
Originally Posted by b15ginz View Post
Wow cool.

How do you assign a hotkey to make an object slide?

Example:

Press # to make hidden dock slide up/over/down (whatever you do in the svg)
Press * to make it slide in reserve.

Thanks.
You will need to code in your animation. Or follow the tip in my post above this one. Makes life a whole lot easier
Reply With Quote Tip this Post
  #37  
Old 04-22-2010, 02:25 PM
CrackBerry Genius
Device(s): iPhone 4s
Carrier: Verizon
 
Join Date: Nov 2009
Posts: 2,310
Likes Received: 88
Thanked 169 Times in 112 Posts
Default

Quote:
Originally Posted by deficitism View Post
Yes, times a million! Anything, and I do mean anything that has an object listed in the OP can be manipulated in the way you descriped.

You cant put these objects IN composer though. It will crap out. Heres a tip on how I make things a bit easier.

I draw fake objects in composer that are the same size of the banner/today/status object that I want to animate. I export the SVG from composer, replace the 'fake' object with a real one. And voila.
SWEET!

now - if only i could change the wifi image..... it doesnt "fit" in the theme i am making. maybe I could just make in invisible.

this: x-object:/WLANSignalLevel is for which... the signal? (which never shows anyway?) or the image (WIFI)
__________________

Last edited by StaticFX; 04-22-2010 at 02:29 PM.
Reply With Quote Tip this Post
    Thread Author   #38  
Old 04-22-2010, 03:04 PM
CrackBerry Abuser
Device(s): Tour
Carrier: Verizon
 
Join Date: Mar 2009
Posts: 215
Likes Received: 3
Thanked 5 Times in 2 Posts
Default

Quote:
Originally Posted by StaticFX View Post
SWEET!

now - if only i could change the wifi image..... it doesnt "fit" in the theme i am making. maybe I could just make in invisible.

this: x-object:/WLANSignalLevel is for which... the signal? (which never shows anyway?) or the image (WIFI)
I believe its that funny signal indicator thats under the regular 'bar' signal indicator by default in theme builder.

You can hide the wifi image. What you do is create an image object in your SVG. Set its image source to 'wallpaper'. In theme builder, set homescreen over banner. Then just add the banner items you want with code. Problem solved!
Reply With Quote Tip this Post
  #39  
Old 04-22-2010, 04:01 PM
CrackBerry Master
Device(s): 9850 (Torch 2)
Carrier: Verizon
 
Location: New York
Join Date: Jan 2009
Posts: 1,157
Likes Received: 0
Thanked 1 Time in 1 Post
Default

deficit, did you figure out how to show the text under icons on portrait homescreen in custom svg yet? Please post if you do. Thanks!
__________________
Come check out my Website with all of my Storm and S2 themes!
Follow me on Twitter @Padgoi.
Reply With Quote Tip this Post
  #40  
Old 04-22-2010, 04:20 PM
CrackBerry User
Carrier: Vodafone
 
Join Date: Jun 2009
Posts: 53
Likes Received: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by Padgoi View Post
deficit, did you figure out how to show the text under icons on portrait homescreen in custom svg yet? Please post if you do. Thanks!
please deficit.
__________________
PulcinellaStyle Gallery
Reply With Quote Tip this Post
  #41  
Old 04-25-2010, 01:10 AM
CrackBerry User
Device(s): Tour 9630 5.0.0.624
Carrier: Sprint
 
Join Date: Feb 2010
Posts: 17
Likes Received: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by StaticFX View Post
SWEET!

now - if only i could change the wifi image..... it doesnt "fit" in the theme i am making. maybe I could just make in invisible.

this: x-object:/WLANSignalLevel is for which... the signal? (which never shows anyway?) or the image (WIFI)
Hey how did you get the date/time to move. I can't seem to figure it out.
Reply With Quote Tip this Post
  #42  
Old 04-26-2010, 08:39 PM
CrackBerry Abuser
Device(s): 9550 (Storm2)
Carrier: Verizon
 
Join Date: Oct 2008
Posts: 152
Likes Received: 0
Thanked 0 Times in 0 Posts
Default

Quick question by adding a clock coding to a landscape svg on a storm theme and removing the original clock from it will that remove the clock bug.
Reply With Quote Tip this Post
    Thread Author   #43  
Old 04-27-2010, 03:06 AM
CrackBerry Abuser
Device(s): Tour
Carrier: Verizon
 
Join Date: Mar 2009
Posts: 215
Likes Received: 3
Thanked 5 Times in 2 Posts
Default

I'm not familiar enough with that particular bug. I mainly theme for the qwerty devices.

Can you explain the issue?

I know for a fact that you can add new completely different clocks. And I know you have events that you can access to change which clock is displayed based on rotation.
Reply With Quote Tip this Post
  #44  
Old 04-27-2010, 09:33 AM
CrackBerry User
Carrier: Vodafone
 
Join Date: Jun 2009
Posts: 53
Likes Received: 0
Thanked 0 Times in 0 Posts
Default

I was on this svg a couple of hours...but nothing done all bad my try.
My goal is to have the text under the icons because I want create an "hidden dock with the text under custom icons"
I enclose the full svg 9500 storm that I extracted using the method described.
If anyone has the solution to the text under the icons would be very grateful.
Pulcinella.
here is the 9500 svg
Attached Files
File Type: zip mostruoso.zip (290.6 KB, 115 views)
__________________
PulcinellaStyle Gallery
Reply With Quote Tip this Post
  #45  
Old 04-27-2010, 05:24 PM
CrackBerry User
Device(s): Tour 9630 5.0.0.624
Carrier: Sprint
 
Join Date: Feb 2010
Posts: 17
Likes Received: 0
Thanked 0 Times in 0 Posts
Default

@deficitism for the default homescreen time and date, do I HAVE to remove them from theme builder and add them manually in SVG or can I just address them in the SVG file. All I wanna do is move them.

If I absolutely have to remove and add then does anyone have the code for the default time and date on a tour?
Reply With Quote Tip this Post
Reply
BlackBerry Forums at CrackBerry.com > > BlackBerry Professionals > Theme Developers   Undocumented SVG Objects (hand coded SVG)

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes