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


Thank you for visiting the BlackBerry Support Community Forums.

BlackBerry will be closing the BlackBerry Support Community Forums Device Forums on April 1st (Developers, see below)

BlackBerry remains committed to providing excellent customer support to our customers. We are delighted to direct you to the CrackBerry Forums, a well-established and thorough support channel, for continued BlackBerry support. Please visit http://forums.crackberry.com or http://crackberry.com/ask. You can also continue to visit BlackBerry Support or the BlackBerry Knowledge Base for official support options available for your BlackBerry Smartphone.

"When we launched CrackBerry.com 10 years ago, we set out to make it a fun and useful destination where BlackBerry Smartphone owners could share their excitement and learn to unleash the full potential of their BlackBerry. A decade later, the CrackBerry community is as active and passionate as ever and I know our knowledgeable members and volunteers will be excited to welcome and assist more BlackBerry owners with their questions."

- Kevin Michaluk, Founder, CrackBerry.com

Developers, for more information about the BlackBerry Developer Community please review Join the Conversation on the BlackBerry Developer Community Forums found on Inside BlackBerry.


Reply
Highlighted
New Developer
Posts: 10
Registered: ‎12-16-2009
My Device: Not Specified

eAdd a Bookmark programatically

[ Edited ]

Hi , 

 

I have to add bookmarks to the Blackberry device praogrammatically.

 

I have the URL and other details of Bookmark in an XML file.I am able to read the details.But have no idea how to add the bookmark.

 

From the forums i could not get any help related to this.Am i missing anything.

 

Please help me.I am a novice in BlackBerry Development.

 

I am using Blackberry 4.7 JDE and the default simulators.

 

Thanks in advance.

Developer
Posts: 3,951
Registered: ‎07-15-2008
My Device: Not Specified

Re: eAdd a Bookmark programatically

We can add Bookmarks programatically. In your application, save the links in persistent system and make use it later.


Use Search. "Accept Solution" If the problem is resolved.
New Developer
Posts: 10
Registered: ‎12-16-2009
My Device: Not Specified

Re: eAdd a Bookmark programatically

Could you please explain me how to save the link to the persistent store?

 

I have the URL and other details of the bookmark.

Developer
Posts: 3,951
Registered: ‎07-15-2008
My Device: Not Specified

Re: eAdd a Bookmark programatically

Create a custom class which extends persistable interface and put all your bookmark related data into the class and add this class into a vector and store that vector in persistent store.


Use Search. "Accept Solution" If the problem is resolved.
New Developer
Posts: 10
Registered: ‎12-16-2009
My Device: Not Specified

Re: eAdd a Bookmark programatically

I want to add the Bookmarks to the existing browser bookmarks .

 

So that when i open Browser --> Bookmarks ,these bookmarks added by me should get displayed along with them.

Developer
Posts: 3,951
Registered: ‎07-15-2008
My Device: Not Specified

Re: eAdd a Bookmark programatically

I dn't think any API's availabe to add it to the device Browser Bookmarks.


Use Search. "Accept Solution" If the problem is resolved.