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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
    Thread Author   #1  
Old 07-11-2011, 12:54 PM
CrackBerry Abuser
Device(s): Bold 9700
Carrier: Vodafone NL
 
Join Date: Jul 2010
Posts: 262
Likes Received: 36
Thanked 85 Times in 38 Posts
Default Homescreen Issues

I just started out with theming. I managed to push out my first theme and I like it. I made a minimal custom os6 layout for 9700/9780 devices.

Some questions popped up while working with Theme Builder (version 6.0.0.55):

When removing all navigation to the homescreen areas (clock; signalmeter), still the clock remains as a shortcut. How do I disable this ?

Furthermore, I would like to add an invisible 1st App tot the homescreen. Adding the icon and navigating to it works, but I can't seem to figure out how to make it invisible.

Last question is how to make Universal Search work with a hotkey. I created an .svg, added the action, but it simply won't launch. Other created hotkeys in the same .svg work just fine.

I hope someone can help me out !
Thanks !!
__________________
** Bold 9700 ** Hybrid OS: B@stard Verdell (.723 Base) ** Vodafone NL **
Reply With Quote Tip this Post
  #2  
Old 07-11-2011, 01:47 PM
CrackBerry Master
Device(s): 9700 (Abalone)
Carrier: T-Mobile
Pin: her: down: on: a: photograph: album:
 
Location: 5280
Join Date: Mar 2008
Posts: 1,295
Likes Received: 287
Thanked 676 Times in 235 Posts
Default

Quote:
Originally Posted by FRanatic View Post
When removing all navigation to the homescreen areas (clock; signalmeter), still the clock remains as a shortcut. How do I disable this ?
If you remove those hotspots from navigation, then the cursor should not be moving to them. TB will throw an error about how they can't be accessed, but that's the desired effect so you can just ignore that.

Quote:
Originally Posted by FRanatic View Post
Furthermore, I would like to add an invisible 1st App tot the homescreen. Adding the icon and navigating to it works, but I can't seem to figure out how to make it invisible.
You can toggle the visibility with a hotkey. Here's a sample of the code I use:

Code:
<set xlink:href="#S0" attributeName="display" to="inline" begin="0"/>
<set xlink:href="#S0" attributeName="display" to="inline" begin="accessKey(w)"/>
<set xlink:href="#S0" attributeName="display" to="none" begin="accessKey(1)"/>

Quote:
Originally Posted by FRanatic View Post
Last question is how to make Universal Search work with a hotkey. I created an .svg, added the action, but it simply won't launch. Other created hotkeys in the same .svg work just fine.
Make sure you're calling the correct module. It is:

xlink:href="x-exec://net_rim_bb_universalsearch_app"
__________________
Themes by wu-wei
Premium: leeboUltraDock | blnk | sophie | ideal | Free: B@stard6 | leebo (OS6) | leebo (OS5)
Latest B@stard Hybrid OS
Abalone....Hybrid Install Guide....3rd Party App Backup Guide
Reply With Quote Tip this Post
    Thread Author   #3  
Old 07-11-2011, 01:54 PM
CrackBerry Abuser
Device(s): Bold 9700
Carrier: Vodafone NL
 
Join Date: Jul 2010
Posts: 262
Likes Received: 36
Thanked 85 Times in 38 Posts
Default

Thanks for your reply !

Looks like I need to do some handcoding on the .svg...
I made the svg in Composer the easy way and it only contains the hotkeys.

I'll need to look into thta a bit further.

The Search I called was listed in the list with BB apps, but I'll call the module instead.

Disabeling the shortcuts seems easy enough ;P

Thanks for helping !!
__________________
** Bold 9700 ** Hybrid OS: B@stard Verdell (.723 Base) ** Vodafone NL **
Reply With Quote Tip this Post
  #4  
Old 07-11-2011, 01:55 PM
CrackBerry Master
Device(s): 9700 (Abalone)
Carrier: T-Mobile
Pin: her: down: on: a: photograph: album:
 
Location: 5280
Join Date: Mar 2008
Posts: 1,295
Likes Received: 287
Thanked 676 Times in 235 Posts
Default

You can also toggle visibility of the first app icon based on different events, depending on how you want it to appear/disappear.
__________________
Themes by wu-wei
Premium: leeboUltraDock | blnk | sophie | ideal | Free: B@stard6 | leebo (OS6) | leebo (OS5)
Latest B@stard Hybrid OS
Abalone....Hybrid Install Guide....3rd Party App Backup Guide
Reply With Quote Tip this Post
  #5  
Old 07-11-2011, 01:57 PM
CrackBerry Master
Device(s): 9700 (Abalone)
Carrier: T-Mobile
Pin: her: down: on: a: photograph: album:
 
Location: 5280
Join Date: Mar 2008
Posts: 1,295
Likes Received: 287
Thanked 676 Times in 235 Posts
Default

Quote:
Originally Posted by FRanatic View Post
Thanks for your reply !

Looks like I need to do some handcoding on the .svg...
I made the svg in Composer the easy way and it only contains the hotkeys.

I'll need to look into thta a bit further.

The Search I called was listed in the list with BB apps, but I'll call the module instead.

Disabeling the shortcuts seems easy enough ;P

Thanks for helping !!
Yep, hand-coding is infinitely easier/cleaner/more efficient. Seems daunting at first, but you get used to it.

And yes, Composer does list a Search app, but it is the old OS5 search that comes up, if anything comes up at all.
__________________
Themes by wu-wei
Premium: leeboUltraDock | blnk | sophie | ideal | Free: B@stard6 | leebo (OS6) | leebo (OS5)
Latest B@stard Hybrid OS
Abalone....Hybrid Install Guide....3rd Party App Backup Guide
Reply With Quote Tip this Post
    Thread Author   #6  
Old 07-11-2011, 02:20 PM
CrackBerry Abuser
Device(s): Bold 9700
Carrier: Vodafone NL
 
Join Date: Jul 2010
Posts: 262
Likes Received: 36
Thanked 85 Times in 38 Posts
Default

Quote:
Originally Posted by wu-wei View Post
If you remove those hotspots from navigation, then the cursor should not be moving to them. TB will throw an error about how they can't be accessed, but that's the desired effect so you can just ignore that.
I did just that. I received that error on exporting. In the navigation pane it shows those hotspots, but none are linked. Yet in the theme the cursor is 'set' to Clock.

Quote:
Originally Posted by wu-wei View Post
You can toggle the visibility with a hotkey. Here's a sample of the code I use:

Code:
<set xlink:href="#S0" attributeName="display" to="inline" begin="0"/>
<set xlink:href="#S0" attributeName="display" to="inline" begin="accessKey(w)"/>
<set xlink:href="#S0" attributeName="display" to="none" begin="accessKey(1)"/>
You can also toggle visibility of the first app icon based on different events, depending on how you want it to appear/disappear.
Not sure if that is what I am aiming for. What I want to do is place the 1st app from the app list onto the homescreen, make it accessible by default (like the clock is at this moment) and make it permanently invisible. Clicking the trackpad launches the the app and navigating to hotspots on the homescreen is disabled.

Quote:
Originally Posted by wu-wei View Post
Make sure you're calling the correct module. It is:

xlink:href="x-exec://net_rim_bb_universalsearch_app"
Done ! Although not hand coded

Quote:
Originally Posted by wu-wei View Post
Yep, hand-coding is infinitely easier/cleaner/more efficient. Seems daunting at first, but you get used to it.
I'll need to find me a decent write-up and some samples to get that down. I'll just save that for later. Haven't got the time to dive into that at the moment.

Thanks for helping me out !!
__________________
** Bold 9700 ** Hybrid OS: B@stard Verdell (.723 Base) ** Vodafone NL **
Reply With Quote Tip this Post
  #7  
Old 07-11-2011, 08:21 PM
CrackBerry Genius
Device(s): 8520, 9300, 9500, 8900, 9100, 9780, 9800, 9900
Carrier: bags are useful
 
Location: UK
Join Date: Apr 2009
Posts: 3,843
Likes Received: 486
Thanked 408 Times in 273 Posts
Default

Quote:
Originally Posted by FRanatic View Post
Last question is how to make Universal Search work with a hotkey. I created an .svg, added the action, but it simply won't launch. Other created hotkeys in the same .svg work just fine.
this isnt something iv ever bothered to do, as universal search works from typing directly from the homescreen, unless theres something im missing?
Reply With Quote Tip this Post
  #8  
Old 07-11-2011, 09:07 PM
CrackBerry Master
Device(s): 9700 (Abalone)
Carrier: T-Mobile
Pin: her: down: on: a: photograph: album:
 
Location: 5280
Join Date: Mar 2008
Posts: 1,295
Likes Received: 287
Thanked 676 Times in 235 Posts
Default

Quote:
Originally Posted by FRanatic View Post
I did just that. I received that error on exporting. In the navigation pane it shows those hotspots, but none are linked. Yet in the theme the cursor is 'set' to Clock.
Hmm. Well, I would try disabling all default navigation links which should clear them completely. If not, then you're about to be introduced to coding and compiling by hand.


Quote:
Originally Posted by FRanatic View Post
Not sure if that is what I am aiming for. What I want to do is place the 1st app from the app list onto the homescreen, make it accessible by default (like the clock is at this moment) and make it permanently invisible. Clicking the trackpad launches the the app and navigating to hotspots on the homescreen is disabled.
If that's the case, then don't even bother with any image code. Make a rectangle, assign it opacity of 0, or just make the visibility attribute = "none" and never make it visible. Do you intend to have the application text fade in and out though? That might be tricky, but I have to think about it....
__________________
Themes by wu-wei
Premium: leeboUltraDock | blnk | sophie | ideal | Free: B@stard6 | leebo (OS6) | leebo (OS5)
Latest B@stard Hybrid OS
Abalone....Hybrid Install Guide....3rd Party App Backup Guide
Reply With Quote Tip this Post
  #9  
Old 07-11-2011, 11:31 PM
CrackBerry Genius
Device(s): 8520, 9300, 9500, 8900, 9100, 9780, 9800, 9900
Carrier: bags are useful
 
Location: UK
Join Date: Apr 2009
Posts: 3,843
Likes Received: 486
Thanked 408 Times in 273 Posts
Default

Quote:
Originally Posted by wu-wei View Post
That might be tricky, but I have to think about it....
a thinking outside of the box suggestion, just place the icon outside the visible canvas area in the .cp file. as long as the layer its on is never hidden you`ll always be able to navigate to it (as long as you set the nav of course) and you`ll never see it.
Reply With Quote Tip this Post
  #10  
Old 07-12-2011, 12:00 AM
CrackBerry Master
Device(s): 9700 (Abalone)
Carrier: T-Mobile
Pin: her: down: on: a: photograph: album:
 
Location: 5280
Join Date: Mar 2008
Posts: 1,295
Likes Received: 287
Thanked 676 Times in 235 Posts
Default

Quote:
Originally Posted by BBThemes View Post
a thinking outside of the box suggestion, just place the icon outside the visible canvas area in the .cp file. as long as the layer its on is never hidden you`ll always be able to navigate to it (as long as you set the nav of course) and you`ll never see it.
Very true, and that's what I do for the offscreen option on my themes. But I don't even bother making it an icon. Just a simple rectangle with a hotkey loadScene. It really doesn't matter where it is if you set visibility="hidden". And of course if you define it as slot0 you can control focusin and focusout behaviors to handle onscreen text.
__________________
Themes by wu-wei
Premium: leeboUltraDock | blnk | sophie | ideal | Free: B@stard6 | leebo (OS6) | leebo (OS5)
Latest B@stard Hybrid OS
Abalone....Hybrid Install Guide....3rd Party App Backup Guide
Reply With Quote Tip this Post
    Thread Author   #11  
Old 07-17-2011, 07:10 AM
CrackBerry Abuser
Device(s): Bold 9700
Carrier: Vodafone NL
 
Join Date: Jul 2010
Posts: 262
Likes Received: 36
Thanked 85 Times in 38 Posts
Default

Quote:
Originally Posted by wu-wei View Post
Hmm. Well, I would try disabling all default navigation links which should clear them completely. If not, then you're about to be introduced to coding and compiling by hand.

If that's the case, then don't even bother with any image code. Make a rectangle, assign it opacity of 0, or just make the visibility attribute = "none" and never make it visible. Do you intend to have the application text fade in and out though? That might be tricky, but I have to think about it....
Quote:
Originally Posted by BBThemes View Post
a thinking outside of the box suggestion, just place the icon outside the visible canvas area in the .cp file. as long as the layer its on is never hidden you`ll always be able to navigate to it (as long as you set the nav of course) and you`ll never see it.
Quote:
Originally Posted by wu-wei View Post
Very true, and that's what I do for the offscreen option on my themes. But I don't even bother making it an icon. Just a simple rectangle with a hotkey loadScene. It really doesn't matter where it is if you set visibility="hidden". And of course if you define it as slot0 you can control focusin and focusout behaviors to handle onscreen text.
Wow, thanks for the insight on that. I didn't realize it would be that tricky. I'll be passing that for now, I first need to learn some more basic stuff.

Another issue I encountered is the following.
After some tweaking and re-arranging the homescreen icons the bannertext for the browser (amongst others) gets cut off. I didn't change anything there.
Any clue on what that might have caused that ? I realise it could be lots of things, but maybe it's a know TB bug.

Thanks !

PS. Check out my latest version
__________________
** Bold 9700 ** Hybrid OS: B@stard Verdell (.723 Base) ** Vodafone NL **
Reply With Quote Tip this Post
  #12  
Old 07-18-2011, 11:20 AM
CrackBerry Genius
Device(s): iPhone4s 32GB Black
Carrier: AT&T
 
Location: Elk Grove, CA
Join Date: Jun 2008
Posts: 1,585
Likes Received: 18
Thanked 16 Times in 13 Posts
Default

You can make an icon "invisible" by just setting the icon and focus icon as transparent icons. Make a transparent icon in Gimp to whatever size you need then just add it as you would any other icon.
__________________
 @Rockdog97 
Reply With Quote Tip this Post
    Thread Author   #13  
Old 07-18-2011, 01:34 PM
CrackBerry Abuser
Device(s): Bold 9700
Carrier: Vodafone NL
 
Join Date: Jul 2010
Posts: 262
Likes Received: 36
Thanked 85 Times in 38 Posts
Default

Quote:
Originally Posted by Rockdog97 View Post
You can make an icon "invisible" by just setting the icon and focus icon as transparent icons. Make a transparent icon in Gimp to whatever size you need then just add it as you would any other icon.
That trick doesn't work for the purpose I am aiming for.
Thanks for the tip though !
__________________
** Bold 9700 ** Hybrid OS: B@stard Verdell (.723 Base) ** Vodafone NL **
Reply With Quote Tip this Post
  #14  
Old 07-18-2011, 11:10 PM
CrackBerry Master
Device(s): 9700 (Abalone)
Carrier: T-Mobile
Pin: her: down: on: a: photograph: album:
 
Location: 5280
Join Date: Mar 2008
Posts: 1,295
Likes Received: 287
Thanked 676 Times in 235 Posts
Default

Quote:
Originally Posted by FRanatic View Post
Wow, thanks for the insight on that. I didn't realize it would be that tricky. I'll be passing that for now, I first need to learn some more basic stuff.

Another issue I encountered is the following.
After some tweaking and re-arranging the homescreen icons the bannertext for the browser (amongst others) gets cut off. I didn't change anything there.
Any clue on what that might have caused that ? I realise it could be lots of things, but maybe it's a know TB bug.

Thanks !

PS. Check out my latest version
Yes, I was having the same problem. So I changed the way I build my themes and I have much more control over everything now. It can be fixed, but it ain't easy.
__________________
Themes by wu-wei
Premium: leeboUltraDock | blnk | sophie | ideal | Free: B@stard6 | leebo (OS6) | leebo (OS5)
Latest B@stard Hybrid OS
Abalone....Hybrid Install Guide....3rd Party App Backup Guide
Reply With Quote Tip this Post
    Thread Author   #15  
Old 07-19-2011, 12:42 PM
CrackBerry Abuser
Device(s): Bold 9700
Carrier: Vodafone NL
 
Join Date: Jul 2010
Posts: 262
Likes Received: 36
Thanked 85 Times in 38 Posts
Default

Quote:
Originally Posted by wu-wei View Post
Yes, I was having the same problem. So I changed the way I build my themes and I have much more control over everything now. It can be fixed, but it ain't easy.
I think I have isolated the problem. It's the custom clock icon (the one in the banner) that causes this.
It can be fixed by decreasing the font size in the app banner.

For now it's a nice fix.
__________________
** Bold 9700 ** Hybrid OS: B@stard Verdell (.723 Base) ** Vodafone NL **
Reply With Quote Tip this Post
Reply
BlackBerry Forums at CrackBerry.com > > BlackBerry Professionals > Theme Developers   Homescreen Issues

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes