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
Navaneetha
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.

Please use plain text.
Developer
BBDeveloper
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.
Please use plain text.
New Developer
Navaneetha
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.

Please use plain text.
Developer
BBDeveloper
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.
Please use plain text.
New Developer
Navaneetha
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.

Please use plain text.
Developer
BBDeveloper
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.
Please use plain text.