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
Highlighted
Contributor
Posts: 33
Registered: ‎08-24-2012
My Device: BB9900, Playbook Wifi 32 GB, BB10 Dev Alpha
My Carrier: Bell

After closing Webview, my app freezes.

I have got an app that saves the url to a property variant variable and when clicking a button, I push a page onto the NavigationPane. Then I initiate webView and use the url from the property variant variable to direct to a http link for webview. 

 

Although, because it was pushed, the webView pushed page has a back button(peek) button. When I go back the application freezes. 

 

This is my pushed webPage.qml 

 

import bb.cascades 1.0

Page {
Container {
WebView {
id: webView
url: mapView
}
}
}

 

What is the problem? Am i supposed to destroy webView after initiating it?

Contributor
Posts: 33
Registered: ‎08-24-2012
My Device: BB9900, Playbook Wifi 32 GB, BB10 Dev Alpha
My Carrier: Bell

Re: After closing Webview, my app freezes.

I think this guy had the same problem, it this the same thing i am facing?

http://supportforums.blackberry.com/t5/Adobe-AIR-Development/Images-disappear-after-loading-another-...

Developer
Posts: 74
Registered: ‎01-08-2013
My Device: Playbook
My Carrier: NA

Re: After closing Webview, my app freezes.

 

Look at

http://supportforums.blackberry.com/t5/Cascades-Development/Beta-4-WebView-app-freeze-post-exit/td-p...

 

I also get application hang on close of app. Possibly simulator only issue as per 1 person in the thread.