Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

Reply
New Developer
jverd
Posts: 10
Registered: ‎10-26-2008
My Device: Not Specified
Accepted Solution

Adding items to the shortcut bar

I'm developing an app using JDE 4.7 and I would like to add items to the shortcut bar  but I couldn't find any examples showing how to do this. I've also tried looking in the API but haven't found anything on manipulating or creating shortcut bars.

 

Does anyone know know how to access the shortcut bar to add/remove items?

 

Thanks in advance.

Please use plain text.
BlackBerry Development Advisor (Retired)
bzubert
Posts: 86
Registered: ‎07-11-2008
My Device: Not Specified

Re: Adding items to the shortcut bar

jverd,

 

If by the shortcut bar you mean the black toolbar that is displayed at the bottom of the screen in apps like the email application, then you'll need to create your own implementation of the toolbar.  Currently, there is no toolbar API available although it has been feature requested for a future release. 

 

That being said, the UI Guidelines documentation contains all the information you need to create a toolbar with the exact same look and feel.

 

UI Guidelines

See this section in particular.

 

Brian Zubert
Technical Partnership Manager
Research In Motion
Please use plain text.
New Developer
jverd
Posts: 10
Registered: ‎10-26-2008
My Device: Not Specified

Re: Adding items to the shortcut bar

I wish there was an easier way than implementing my own toolbar but I guess I have no choice.

 

thanks for your response.

Please use plain text.
BlackBerry Development Advisor (Retired)
bzubert
Posts: 86
Registered: ‎07-11-2008
My Device: Not Specified

Re: Adding items to the shortcut bar

As a follow up to this thread, if anyone encounters a scenario where the shortcut bar is present by default, this is only an issue with the beta simulator available on blackberry.com/developers.  If you run the simulator in secure mode, the shortcut bar will not be shown. 

 

See page 25 of the Simulator Guide for instructions on how to run the simulator in secure mode.

Brian Zubert
Technical Partnership Manager
Research In Motion
Please use plain text.
New Developer
hitman
Posts: 17
Registered: ‎12-22-2008
My Device: Not Specified

Re: Adding items to the shortcut bar

Hi,

How should i disable that shoutcut bar?

i do not want to show that bar on my app screen or if it can't be removed then how should i handle events on that bar.??

Please use plain text.
Developer
RexDoug
Posts: 4,764
Registered: ‎07-21-2008
My Device: Not Specified

Re: Adding items to the shortcut bar

Update you 4.7 JDE to the latest version, the issue was fixed.

 

Please use plain text.
New Developer
hitman
Posts: 17
Registered: ‎12-22-2008
My Device: Not Specified

Re: Adding items to the shortcut bar

Ok..

can u give me the link to download it.

Because i was trying to download it from this forum link, it says "the page is unavailable as it has been removed from site."

 

My current version is 4.7.0.35 and the updated version which i think available according to forum is 4.7.0.39.

 

Please give me the link to download it.

 

 

Thanx in advance.

 

Please use plain text.
Developer
RexDoug
Posts: 4,764
Registered: ‎07-21-2008
My Device: Not Specified

Re: Adding items to the shortcut bar

Please use plain text.