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 10-13-2010, 02:47 PM
CrackBerry Genius
Device(s): Agent 99: 9900 (7.1.0.391)[Robbers, unlocked] and CONTROL: PlayBook 64GB (2.0.1.358)
Carrier: Death Star Wireless
Pin: T of Strongbow, please.
 
Location: Florida
Join Date: Jun 2007
Posts: 3,249
Likes Received: 178
Thanked 176 Times in 152 Posts
Default P and Q hotkeys reversed

I've set hotkeys for Profiles and Pics to "q" and "p", respectively. However, on both the simulator and my 9700, they each launch the opposite functions. I've re-saved the .svg, deleted the hotkeys, re-made them, etc. Nothing seems to change this. P launches Profiles and q launches Pictures, no matter what I try.

I've set other hotkeys for BB functions and Google Maps, and they work. Certain others, such as "r" for Alarm, also do not work.

Any ideas? This is my first theme attempt, I'm a theme n00b. I've been unable to find an answer, but perhaps my Google-fu is lacking.
__________________
Member# 4563
Be a CrackBerry Commando!
SEARCH AND ENJOY! LMGTFY
Forum Rules and Policies - Posting Guidelines
:: BlackBerry FAQ
ALT + left cap = NUMLOCK : ALT + right cap = CAPSLOCK
Follow me on Twitter. I triple-dog-dare ya!
Reply With Quote Tip this Post
  #2  
Old 10-13-2010, 03:03 PM
CrackBerry Master
Device(s): 9700 (Bold)
Carrier: T-Mobile
 
Join Date: Jan 2009
Posts: 1,216
Likes Received: 0
Thanked 0 Times in 0 Posts
Default

You can try not setting the hot keys in composer but rather adding them in the SVG file. After you open up the SVG file in a text Editor (notepad or notepad++ [i use notepad++]). Add the following below to the end of the SVG file Before "</SVG>".

Code:
<loadScene xlink:href="x-exec:///net_rim_bb_profiles_app.Profiles"  begin="accessKey(q)"/>
<loadScene xlink:href="x-exec:///net_rim_bb_file_explorer.Pictures"  begin="accessKey(p)"/>
<loadScene xlink:href="x-exec://net_rim_bb_alarm_app.Alarm"  begin="accessKey(r)"/>
Reply With Quote Tip this Post
    Thread Author   #3  
Old 10-14-2010, 10:07 AM
CrackBerry Genius
Device(s): Agent 99: 9900 (7.1.0.391)[Robbers, unlocked] and CONTROL: PlayBook 64GB (2.0.1.358)
Carrier: Death Star Wireless
Pin: T of Strongbow, please.
 
Location: Florida
Join Date: Jun 2007
Posts: 3,249
Likes Received: 178
Thanked 176 Times in 152 Posts
Default

The .svg file already includes those lines, as well as the additional ones that do work. The only difference I see is that for Profiles and Pics, you have 3 slashes instead of two, but only 2 slashes for Alarm. This may just be a typo. Is there a difference in the way Composer creates the .svg file versus manually editing it yourself?

Code:
"x-exec:///net_rim_bb_profiles_app.Profiles"
"x-exec:///net_rim_bb_file_explorer.Pictures"
"x-exec://net_rim_bb_alarm_app.Alarm"
__________________
Member# 4563
Be a CrackBerry Commando!
SEARCH AND ENJOY! LMGTFY
Forum Rules and Policies - Posting Guidelines
:: BlackBerry FAQ
ALT + left cap = NUMLOCK : ALT + right cap = CAPSLOCK
Follow me on Twitter. I triple-dog-dare ya!
Reply With Quote Tip this Post
  #4  
Old 10-14-2010, 12:46 PM
CrackBerry Master
Device(s): 9700 (Bold)
Carrier: T-Mobile
 
Join Date: Jan 2009
Posts: 1,216
Likes Received: 0
Thanked 0 Times in 0 Posts
Default

My mistake. Those all should only have 2 slashes.

Is there a difference in the way composers exports vs adding in manually?...

Good Question. My PERSONAL opinion is yes, if i had the time to write the complete svg file myself i would as i have had duplicate lines of code when composer exports. In your svg file, maybe check for duplicate lines of your hot keys. They usually are not right next to each other bu somewhere else in the file. That could very well be the problem. I usually forget to add my hot keys in my composer file as i am more testing all the other features and usually end up modifing the svg file after export to my liking. if i have to re-export, i would have to re-modify my svg, so i just add hot keys manually most times anyways.
Reply With Quote Tip this Post
    Thread Author   #5  
Old 10-14-2010, 11:36 PM
CrackBerry Genius
Device(s): Agent 99: 9900 (7.1.0.391)[Robbers, unlocked] and CONTROL: PlayBook 64GB (2.0.1.358)
Carrier: Death Star Wireless
Pin: T of Strongbow, please.
 
Location: Florida
Join Date: Jun 2007
Posts: 3,249
Likes Received: 178
Thanked 176 Times in 152 Posts
Default

Nope, no duplicate lines. I have a feeling it's simply not good practice to assign hotkeys to keys that already have default OS functions. "p" opens the phone app by default, and holding "q" toggles the Vibrate profile. I deleted the hotkeys in Composer, and their functions returned to normal. The only hotkey I cannot seem to get working is "r" for Alarm.
__________________
Member# 4563
Be a CrackBerry Commando!
SEARCH AND ENJOY! LMGTFY
Forum Rules and Policies - Posting Guidelines
:: BlackBerry FAQ
ALT + left cap = NUMLOCK : ALT + right cap = CAPSLOCK
Follow me on Twitter. I triple-dog-dare ya!
Reply With Quote Tip this Post
  #6  
Old 10-17-2010, 12:23 PM
CrackBerry Master
Device(s): 9800 (Torch) and sometimes my good ol' 9700 (Bold)
Carrier: AT&T/Cingular
 
Join Date: Oct 2009
Posts: 1,492
Likes Received: 87
Thanked 213 Times in 104 Posts
Default

If you would ever assign hotkeys for p and q just use them in reverse. Like if you want p for profiles put q in the svg and vice versa. But it's true about p opening the call screen so using those hotkeys might not be a good thing.

Posted from my CrackBerry at wapforums.crackberry.com
Reply With Quote Tip this Post
    Thread Author   #7  
Old 10-18-2010, 12:03 PM
CrackBerry Genius
Device(s): Agent 99: 9900 (7.1.0.391)[Robbers, unlocked] and CONTROL: PlayBook 64GB (2.0.1.358)
Carrier: Death Star Wireless
Pin: T of Strongbow, please.
 
Location: Florida
Join Date: Jun 2007
Posts: 3,249
Likes Received: 178
Thanked 176 Times in 152 Posts
Default

I tried reversing them, to no effect, so I gave it up.
__________________
Member# 4563
Be a CrackBerry Commando!
SEARCH AND ENJOY! LMGTFY
Forum Rules and Policies - Posting Guidelines
:: BlackBerry FAQ
ALT + left cap = NUMLOCK : ALT + right cap = CAPSLOCK
Follow me on Twitter. I triple-dog-dare ya!
Reply With Quote Tip this Post
Reply
BlackBerry Forums at CrackBerry.com > > BlackBerry Professionals > Theme Developers   P and Q hotkeys reversed

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes