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 Contributor
Posts: 9
Registered: ‎03-06-2012
My Device: 9930
My Carrier: 9930
Accepted Solution

How can browser get the previous page?

here, the code http://supportforums.blackberry.com/t5/Java-Development/Browser-Field-Not-displaying-page-properly/t.... I have tested the code succeedfully, and I have a question that  how can the browser get the  previous page? If wo want to return the page which I watched just now, how should I do?

Developer
Posts: 729
Registered: ‎05-04-2011
My Device: 9700

Re: How can browser get the previous page?

[ Edited ]

Try: browserField.back();

 

[edit] if it returns false, then there is no page to go back to (no history).

 

E.

 

New Contributor
Posts: 9
Registered: ‎03-06-2012
My Device: 9930
My Carrier: 9930

Re: How can browser get the previous page?

Yeah, your are right. Thank you.