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

Native Development

Reply
Developer
ekke
Posts: 1,317
Registered: ‎04-08-2010
My Carrier: Telekom.de, O2, Vodafone
Accepted Solution

WebView - Manage Navigation

do I understand this right:

 

WebView has no comfort built-in about navigation of the user,

so I have to watch

 

navigationRequested()

urlChanged()

 

and then build my own click-historie to manage that the user can go back thru visited sites or back to the first site I opened the WebView with

 

ekke

-------------------------------------------------------------------------------
ekke (independent software architect, rosenheim, germany)

BlackBerry Elite Developer
International Development Mobile Apps BlackBerry 10 Cascades
Cascades - Workshops / Trainings / Bootcamps

Open Source Enthusiast
blog: http://ekkes-corner.org videos: http://www.youtube.com/user/ekkescorner
bb10-development: http://appbus.org Twitter: @ekkescorner
Please use plain text.
Developer
bcs925
Posts: 259
Registered: ‎07-13-2012
My Carrier: T-Mobile

Re: WebView - Manage Navigation

From what I have seen that is correct, no built in navigation.  However I don't believe it was their intension for you to use WebView as a full browser, rather it can call the web for certain specific calls and/or call local HTML files

---
Check out my BB10 Cascades Coding site: BBcascades.com & Cascades Blog: bbcascadescode.tumblr.com

My Built for BlackBerry app: The Dive Plan
Please use plain text.
Developer
ekke
Posts: 1,317
Registered: ‎04-08-2010
My Carrier: Telekom.de, O2, Vodafone

Re: WebView - Manage Navigation


bcs925 wrote:

From what I have seen that is correct, no built in navigation.  However I don't believe it was their intension for you to use WebView as a full browser, rather it can call the web for certain specific calls and/or call local HTML files


not as a full browser, but per ex. if you have some HelpSites in the web

or want to have access to a blog

 

then it's important to have some navigation built-in

 

yes - with InvokationFramework you'll have access to the Browser,

but sometimes a Browser-Integration is too much,

but a single WebSite too less

 

so from my POV a minimum of navigating back and forth inside the WebView should be available

-------------------------------------------------------------------------------
ekke (independent software architect, rosenheim, germany)

BlackBerry Elite Developer
International Development Mobile Apps BlackBerry 10 Cascades
Cascades - Workshops / Trainings / Bootcamps

Open Source Enthusiast
blog: http://ekkes-corner.org videos: http://www.youtube.com/user/ekkescorner
bb10-development: http://appbus.org Twitter: @ekkescorner
Please use plain text.
Developer
bcs925
Posts: 259
Registered: ‎07-13-2012
My Carrier: T-Mobile

Re: WebView - Manage Navigation

I completely agree and see where you are coming from, I was just trying to give some rationale of why it wasn't setup.  Maybe it is a feature they'll add in the future.  It might not be too hard if you are pulling up the webview in a container that doesn't fill the whole screen to create some of your own navigation.

---
Check out my BB10 Cascades Coding site: BBcascades.com & Cascades Blog: bbcascadescode.tumblr.com

My Built for BlackBerry app: The Dive Plan
Please use plain text.
Developer
kylefowler
Posts: 525
Registered: ‎05-17-2009
My Carrier: ATT

Re: WebView - Manage Navigation

They do track the history internally. There are methods canGoBack and goBack which you can call on the webview that will navigate back through the requests for you. The only thing they dont do is give you access to the history itself
Like all of my posts
Please use plain text.
Developer
ekke
Posts: 1,317
Registered: ‎04-08-2010
My Carrier: Telekom.de, O2, Vodafone

Re: WebView - Manage Navigation

thx for that info, Kyle :smileyhappy:

 

but it seems this isn't available yet in QML

-------------------------------------------------------------------------------
ekke (independent software architect, rosenheim, germany)

BlackBerry Elite Developer
International Development Mobile Apps BlackBerry 10 Cascades
Cascades - Workshops / Trainings / Bootcamps

Open Source Enthusiast
blog: http://ekkes-corner.org videos: http://www.youtube.com/user/ekkescorner
bb10-development: http://appbus.org Twitter: @ekkescorner
Please use plain text.
BlackBerry Development Advisor (Retired)
gperry
Posts: 138
Registered: ‎05-11-2012
My Carrier: Developer

Re: WebView - Manage Navigation

Is this thread complete?

 

Doesnt seem like we can do muchabout it until QML is changed.

 

Can we close this thread, please?

 

Graham

Please use plain text.