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
Posts: 13
Registered: ‎08-15-2008
My Device: Not Specified

BrowserContentProvider help

Hello everyone.

 

My app has a BrowserContentProvider that I use to render some custom stuff in the browser and my customer display has a button.

 

Is there any way that I can make it so that when the user clicks on the button it goes back to the page they were previously viewing, like if they hit the back button. 

 

It would be very simillar or the same as if you were downloading a jad file and clicked the cancel button, it just takes you back to the previous page.

 

Thanks in advance for the help!

BlackBerry Development Advisor
Posts: 15,727
Registered: ‎07-09-2008
My Device: BlackBerry PRIV
My Carrier: Bell

Re: BrowserContentProvider help

You could use JavaScript on your button that navigates back to the previous page in history.
Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Problem solved? Click the Accept As Solution button.
Found a bug? Report it using Issue Tracker
Highlighted
New Developer
Posts: 13
Registered: ‎08-15-2008
My Device: Not Specified

Re: BrowserContentProvider help

The BrowserContentProvider  is being use to display non-html content so I can't use javascript.