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
    Thread Author   #1  
Old 04-10-2010, 05:11 PM
CrackBerry Abuser
Device(s): Tour
Carrier: Verizon
 
Join Date: Mar 2009
Posts: 215
Likes Received: 3
Thanked 5 Times in 2 Posts
Default Undocumented SVG Objects (hand coded SVG)

So if you've been following this thread, you may be aware of some newly discovered objects that you can now manipulate with SVG code. Since there's so much code involved, and quite a few folks interested, I decided to maintain an active thread with 'snip-its' that you can use to customize your themes even more than before. With this new discovery, nothing on the home screen is off-limits. And the items that were limited before, are now fully customizable. I'll be adding new items as I find them. If you have something to contribute, post it and I'll update the OP. All of the snip-its below need to be placed inside of object tags (image, text, etc). You can customize the fonts and appearance to your liking via formatting code. Here goes.

Wallpaper:
Code:
x-object:/Image?src=wallpaper
Date:
Code:
x-object:/CurrentDateTime?clocktype=date
Time:
Code:
x-object:/CurrentDateTime?clocktype=time
Battery:
Code:
xlink:href="x-object:/BatteryLevel"
Coverage:
Code:
xlink:href="x-object:/Coverage"
Roaming Icon:
Code:
xlink:href="x-object:/Roaming"
GPS Mode Icon:
Code:
x-object:/GPSMode
Alarm Icon:
Code:
x-object:/AlarmIndicator
System Status:
Code:
x-object:/SystemStatus
Indicators:
Code:
xlink:href="x-object:/GridIndicators
Wifi Signal:
Code:
x-object:/WLANSignalLevel
Owner Name:
Code:
x-object:/OwnerInfo?id=name
Owner's Info:
Code:
x-object:/OwnerInfo?id=info
More to come. The status text and today objects are A LOT more complex, so I'm just trying to figure a good way to put them in this thread.
Reply With Quote Tip this Post
Liked by lllabao and razorx0 like this.
Thanked by 4 Berry Unlimited (12-29-2010), JTekt (11-19-2010), razorx0 (05-19-2012), sunnylovesalman (04-21-2011)
  #2  
Old 04-10-2010, 07:06 PM
CrackBerry Addict
Device(s): 7100x>8800>9000>9530>9700>9550>9800>9900/Playbook
Carrier: Rogers
 
Location: Toronto
Join Date: Jun 2008
Posts: 799
Likes Received: 8
Thanked 4 Times in 4 Posts
Default

This is what is going to separate the men from the boys (women from the girls).
Good luck guys.



btw, what does System Status actually display?
__________________
Creator of Blackberry Themes:
Classique Docked and Finesse and Cubic and Defined Pro
Reply With Quote Tip this Post
    Thread Author   #3  
Old 04-11-2010, 08:54 AM
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 shankeith View Post


btw, what does System Status actually display?
If I'm not mistaken, System Status is Carrier as well as that item that says 'No Service' when you don't have coverage.

I'm going to be attaching a banner.svg, so that everyone can see how the items are actually placed. You can use it as a real-world example.
Reply With Quote Tip this Post
  #4  
Old 04-11-2010, 09:21 AM
CrackBerry Addict
Device(s): 9810 (Torch2)
Carrier: Virgin Mobile Canada
 
Join Date: Feb 2009
Posts: 596
Likes Received: 109
Thanked 208 Times in 90 Posts
Default

Just to help out here are the Banner and Homescreen SVG's for the Bold 2 9700
Attached Files
File Type: zip SVG.zip (3.1 KB, 570 views)
Reply With Quote Tip this Post
  #5  
Old 04-11-2010, 09:58 AM
CrackBerry Master
Device(s): 9530 (Storm)
Carrier: Verizon
Pin: 306F0656
 
Location: Lockport Ny
Join Date: May 2009
Posts: 1,049
Likes Received: 0
Thanked 0 Times in 0 Posts
Default

heres my question, can i just call these items from inside of my own hand coded svg or do i need additional info for each thing?
__________________
AHazDesigns.com For Tutorials
Reply With Quote Tip this Post
  #6  
Old 04-11-2010, 12:05 PM
CrackBerry Addict
Device(s): 7100x>8800>9000>9530>9700>9550>9800>9900/Playbook
Carrier: Rogers
 
Location: Toronto
Join Date: Jun 2008
Posts: 799
Likes Received: 8
Thanked 4 Times in 4 Posts
Default

Quote:
Originally Posted by ahaz86 View Post
heres my question, can i just call these items from inside of my own hand coded svg or do i need additional info for each thing?
i think deficitism was saying that was the only way, in the other thread
__________________
Creator of Blackberry Themes:
Classique Docked and Finesse and Cubic and Defined Pro
Reply With Quote Tip this Post
  #7  
Old 04-11-2010, 01:00 PM
CrackBerry User
Carrier: Vodafone
 
Join Date: Jun 2009
Posts: 53
Likes Received: 0
Thanked 0 Times in 0 Posts
Default

how we can add the now the permanent/fixed status text in homescreen,please?
Reply With Quote Tip this Post
    Thread Author   #8  
Old 04-13-2010, 04:37 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 planning on posting up the non-fading status text today. This REALLY helps with composer created icon lag issues.

On another note, if anyone has played around with the 'wallpaper' object, you will notice that this is an internal device object. It doesn't seem like a big deal, but this is (as themers) our first step into the blackberry's internal memory. 20 bucks to the first person who figures out the object names of other pictures stored by the user. If we can figure this out, it'll be HUGE.
Reply With Quote Tip this Post
  #9  
Old 04-13-2010, 09:50 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

I think part of the problem is that a lot of these things cannot be manipulated. In other words, if you try to manipulate the clock with this code, you cannot or you will get a duplicate entry error. You need to add a SEPARATE clock and THAT one you can manipulate with the code.

Furthermore, we still haven't figured out how to manipulate font size of a custom font greater than 50.
__________________
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   #10  
Old 04-13-2010, 10:36 AM
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 Padgoi View Post
I think part of the problem is that a lot of these things cannot be manipulated. In other words, if you try to manipulate the clock with this code, you cannot or you will get a duplicate entry error. You need to add a SEPARATE clock and THAT one you can manipulate with the code.

Furthermore, we still haven't figured out how to manipulate font size of a custom font greater than 50.
As far as the clock thing goes:
If you want a second duplicate clock, you need to set the objects name to something other than what RIM names it by default.

If you want a single clock that you can fully manipulate with code, set the visibility of the 'time' object in theme builder to none. (uncheck the box that says 'time' in the homescreen banner section of theme builder. Then you will not get duplicate errors.

For your font question, I think you are right. The max font for blackberry is 50. If you want larger, you will need to create a custom font. Then its 100% possible.
Reply With Quote Tip this Post
  #11  
Old 04-13-2010, 10:44 AM
CrackBerry Addict
Device(s): 9810 (Torch2)
Carrier: Virgin Mobile Canada
 
Join Date: Feb 2009
Posts: 596
Likes Received: 109
Thanked 208 Times in 90 Posts
Default

Quote:
Originally Posted by deficitism View Post
I'm planning on posting up the non-fading status text today. This REALLY helps with composer created icon lag issues.

On another note, if anyone has played around with the 'wallpaper' object, you will notice that this is an internal device object. It doesn't seem like a big deal, but this is (as themers) our first step into the blackberry's internal memory. 20 bucks to the first person who figures out the object names of other pictures stored by the user. If we can figure this out, it'll be HUGE.

Here are the object names for the other pics for the Curve 83xx

App Screen
Code:
  <image id="background"
        x="0"
        y="0"
        width="320"
        height="240"
        xlink:href="IconGridBackground.png"/>
Lock Screen

Code:
  <image x="0"
        y="0"
        width="320"
        height="240"
        xlink:href="Images/OwnerInfoBackground.png"/>
  <image x="271"
        y="204"
        width="48"
        height="36"
        xlink:href="Images/LockscreenLock.png"/>
Still looking for incoming call screens
Reply With Quote Tip this Post
Liked by lllabao likes this.
  #12  
Old 04-13-2010, 11:30 AM
CrackBerry Addict
Device(s): 9810 (Torch2)
Carrier: Virgin Mobile Canada
 
Join Date: Feb 2009
Posts: 596
Likes Received: 109
Thanked 208 Times in 90 Posts
Default

Object Names for the Bold2 9700

App Screen
Code:
  <image id="background-mask"
        x="0"
        y="0"
        width="480"
        height="360"
        xlink:href="IconGridBackground.png"/>
Incoming Call
Code:
  <rect x="0"
        y="0"
        width="480"
        height="360"
        fill="black"/>
  <switchGroup id="lineImage"
        currentChild="lineImage_default">
    <g id="lineImage_default">
      <image x="0"
            y="0"
            width="480"
            height="360"
            xlink:href="Images/IncomingCallBackground.png"/>
    </g>
    <g id="lineImage_1">
      <image x="0"
            y="0"
            width="480"
            height="360"
            xlink:href="Images/IncomingCallBackground.png"/>
    </g>
    <g id="lineImage_2">
      <image x="0"
            y="0"
            width="480"
            height="360"
            xlink:href="Images/IncomingCallBackground.png"/>
    </g>
    <g id="lineImage_5000">
      <image x="0"
            y="0"
            width="480"
            height="360"
            xlink:href="Images/IncomingCallBackground.png"/>
    </g>
    <g id="lineImage_13000">
      <image x="0"
            y="0"
            width="480"
            height="360"
            xlink:href="Images/IncomingCallBackground.png"/>
    </g>
Lock Screen

Code:
  <image x="0"
        y="0"
        width="480"
        height="360"
        xlink:href="Images/OwnerInfoBackground.png"/>
  <image x="399"
        y="253"
        width="80"
        height="80"
        xlink:href="Images/LockscreenLock.png"/>
Active Call Screen

Code:
  <switchGroup id="lineImage"
        currentChild="lineImage_default">
    <g id="lineImage_default">
      <image x="0"
            y="0"
            width="480"
            height="360"
            xlink:href="Images/background_activecall_portrait.png"/>
    </g>
    <g id="lineImage_1">
      <image x="0"
            y="0"
            width="480"
            height="360"
            xlink:href="Images/background_activecall_portrait.png"/>
    </g>
    <g id="lineImage_2">
      <image x="0"
            y="0"
            width="480"
            height="360"
            xlink:href="Images/background_activecall_portrait.png"/>
    </g>
    <g id="lineImage_5000">
      <image x="0"
            y="0"
            width="480"
            height="360"
            xlink:href="Images/background_activecall_portrait.png"/>
    </g>
    <g id="lineImage_13000">
      <image x="0"
            y="0"
            width="480"
            height="360"
            xlink:href="Images/background_activecall_portrait.png"/>
    </g>
Reply With Quote Tip this Post
Liked by lllabao likes this.
    Thread Author   #13  
Old 04-13-2010, 11:38 AM
CrackBerry Abuser
Device(s): Tour
Carrier: Verizon
 
Join Date: Mar 2009
Posts: 215
Likes Received: 3
Thanked 5 Times in 2 Posts
Default

Very nice contribution! I'll update the OP.

What I was kind of hoping someone could potentially figure out is user images! The question is, can a theme have access to user content.

For example, could we say something along the lines of:
xlink:href="user/pictures/slot1.png"
Reply With Quote Tip this Post
  #14  
Old 04-13-2010, 11:49 AM
CrackBerry Addict
Device(s): 9810 (Torch2)
Carrier: Virgin Mobile Canada
 
Join Date: Feb 2009
Posts: 596
Likes Received: 109
Thanked 208 Times in 90 Posts
Default

I exported a completed theme using the security settings from the other thread. I noticed that the wallpaper I choose was automatically renamed when the theme was exported.

example

App screen wallpaper called
"mywallpaper91.jpg"

was renamed on export to
"IconGridBackground.png"

So I think what we have to do is rename to the names used in the SVG
Reply With Quote Tip this Post
  #15  
Old 04-13-2010, 10:56 PM
CrackBerry Abuser
Device(s): HTC Thunderbolt
Carrier: Verizon
 
Location: Tennessee
Join Date: Jan 2009
Posts: 485
Likes Received: 3
Thanked 41 Times in 28 Posts
Default

so here's what i would like to see.....

i'm looking for a code for "on_new_bbm" or something like that! i want to be able to add an indicator to a custom button for new messages from bbm or sms..... in other words, say I want to add a new overlay on an image i create for an indicator for bbm messages..... it's gotta be out there. i would pay for this....


also, I want to see a command to make an item follow your finger on the touch screen bb.... like "onFocus" or "onActivate" but more along the lines of "onSwipe" or "onSlide" i'm looking to make it where an image or an icon can be moved according to where you touch without having to lift your finger and retouch.... also willing to pay for this.... that would be a HUGE contribution to the theme building community!

Somebody? Anybody?
__________________
i am tech revive designs.....
Themes In Motion
Free Wallpapers, Free BerryWeather Icon Sets, Free BattEx Icon Sets! Register for lots of goodies!
Follow Me On Twitter
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