Welcome to the CrackBerry Forums Create Your Account or Ask a Question Answers in 5 minutes - no registration required!
Page 1 of 25 123411 ... LastLast
Results 1 to 25 of 611
Like Tree30Likes
  1. generous's Avatar
    CrackBerry Abuser

    Posts
    215 Posts
    Global Posts
    305 Global Posts
    Thread AuthorThread Author   #1  

    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.
    Thanked by 5:
    Berry Unlimited (12-29-2010),  JTekt (11-19-2010),  ppdragon (09-11-2012),  razorx0 (05-19-2012) 
    lllabao and razorx0 like this.
  2. shankeith's Avatar
    CrackBerry Addict

    Posts
    836 Posts
    #2  

    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?
  3. generous's Avatar
    CrackBerry Abuser

    Posts
    215 Posts
    Global Posts
    305 Global Posts
    Thread AuthorThread Author   #3  

    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.
  4. curve1967's Avatar
    CrackBerry Addict

    Posts
    602 Posts
    Global Posts
    726 Global Posts
    #4  

    Default

    Just to help out here are the Banner and Homescreen SVG's for the Bold 2 9700
    Attached Files Attached Files
  5. ahaz86's Avatar
    CrackBerry Master

    Posts
    1,049 Posts
    PIN
    306F0656
    #5  

    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?
  6. shankeith's Avatar
    CrackBerry Addict

    Posts
    836 Posts
    #6  

    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
  7. pulcinella's Avatar
    CrackBerry User

    Posts
    53 Posts
    #7  

    Default

    how we can add the now the permanent/fixed status text in homescreen,please?
  8. generous's Avatar
    CrackBerry Abuser

    Posts
    215 Posts
    Global Posts
    305 Global Posts
    Thread AuthorThread Author   #8  

    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.
  9. Padgoi's Avatar
    CrackBerry Master

    Posts
    1,155 Posts
    #9  

    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.
  10. generous's Avatar
    CrackBerry Abuser

    Posts
    215 Posts
    Global Posts
    305 Global Posts
    Thread AuthorThread Author   #10  

    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.
  11. curve1967's Avatar
    CrackBerry Addict

    Posts
    602 Posts
    Global Posts
    726 Global Posts
    #11  

    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
    lllabao likes this.
  12. curve1967's Avatar
    CrackBerry Addict

    Posts
    602 Posts
    Global Posts
    726 Global Posts
    #12  

    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>
    lllabao likes this.
  13. generous's Avatar
    CrackBerry Abuser

    Posts
    215 Posts
    Global Posts
    305 Global Posts
    Thread AuthorThread Author   #13  

    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"
  14. curve1967's Avatar
    CrackBerry Addict

    Posts
    602 Posts
    Global Posts
    726 Global Posts
    #14  

    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
  15. parkerstorm's Avatar
    CrackBerry Abuser

    Posts
    486 Posts
    #15  

    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
  16. StaticFX's Avatar
    CrackBerry Genius

    Posts
    2,309 Posts
    Global Posts
    2,726 Global Posts
    #16  

    Default

    i dont think thats possible. It would require a hook into the API's.

    that would be VERY cool... maybe in OS 6... fingers crossed!
  17. mgdotnet's Avatar
    CrackBerry Genius

    Posts
    1,672 Posts
    Global Posts
    1,673 Global Posts
    PIN
    TBA
    #17  

    Default

    Quote Originally Posted by parkerstorm View Post
    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?
    no such APIs....ahh shouldnt say api..no such code within the RIM world...
    Last edited by b15ginz; 04-20-2010 at 02:26 AM.
  18. monkeybiz's Avatar
    CrackBerry User

    Posts
    86 Posts
    PIN
    30B139C5
    #18  

    Default

    So, here's a question. I'd like to create an element that turns on and off on whether or not the text from the today area is displayed. I found the code in the homescreen files (it's like "today_text" or something like that), but whenever I try to impliment it it crashes. Suggestions?
  19. chameleon6's Avatar
    CrackBerry User

    Posts
    75 Posts
    #19  

    Default

    Is there a way to make the today text to fade out faster when you click off? Been trying to think of a way this can be done
  20. generous's Avatar
    CrackBerry Abuser

    Posts
    215 Posts
    Global Posts
    305 Global Posts
    Thread AuthorThread Author   #20  

    Default

    Quote Originally Posted by monkeybiz View Post
    So, here's a question. I'd like to create an element that turns on and off on whether or not the text from the today area is displayed. I found the code in the homescreen files (it's like "today_text" or something like that), but whenever I try to impliment it it crashes. Suggestions?
    You can do something that: when a new message is received, display today area. When no new messages available, hide today area. I've tested this successfully.
    lllabao likes this.
  21. generous's Avatar
    CrackBerry Abuser

    Posts
    215 Posts
    Global Posts
    305 Global Posts
    Thread AuthorThread Author   #21  

    Default

    Quote Originally Posted by chameleon6 View Post
    Is there a way to make the today text to fade out faster when you click off? Been trying to think of a way this can be done
    yes. You would do something like set today visibility to none on focusout.

    My latest theme has a slide-up/slide-down today. Its nifty!
  22. generous's Avatar
    CrackBerry Abuser

    Posts
    215 Posts
    Global Posts
    305 Global Posts
    Thread AuthorThread Author   #22  

    Default

    Quote Originally Posted by monkeybiz View Post
    So, here's a question. I'd like to create an element that turns on and off on whether or not the text from the today area is displayed. I found the code in the homescreen files (it's like "today_text" or something like that), but whenever I try to impliment it it crashes. Suggestions?
    What crashes? Your blackberry? Theme builder?
  23. generous's Avatar
    CrackBerry Abuser

    Posts
    215 Posts
    Global Posts
    305 Global Posts
    Thread AuthorThread Author   #23  

    Default

    Quote Originally Posted by parkerstorm View Post
    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?
    TECHNICALLY, its possible. the 'GridIndicators' object has an option called 'omitindicator'. Anything specified after that switch hides the display of that particular indicator. In the default indicator object it specifies omit bluetooth. The code is "omitindicator=:bluetooth:"
    I'd imagine, if you could figure out the specific indicator names of all BUT BBM you could omit them all? Or even better, if you could find a way to specify only BBM. The only way to figure that out would be through trial and error. Maybe "includeindicator=:bbm:"

    *shrugs* play around with it!
  24. chameleon6's Avatar
    CrackBerry User

    Posts
    75 Posts
    #24  

    Default

    Quote Originally Posted by deficitism View Post
    yes. You would do something like set today visibility to none on focusout.

    My latest theme has a slide-up/slide-down today. Its nifty!

    Thanks for the reply! What would I target to set this?
  25. mgdotnet's Avatar
    CrackBerry Genius

    Posts
    1,672 Posts
    Global Posts
    1,673 Global Posts
    PIN
    TBA
    #25  

    Default

    Anyone got the full code for putting a transparent background behind a today?
Page 1 of 25 123411 ... LastLast

Posting Permissions