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
Posts: 304
Registered: ‎08-14-2012
My Device: PlayBook, Z10, Dev C
My Carrier: Rogers
Accepted Solution

webView keeps crashing on sim

sorry this is a bit simlar to a post i made before but i just notice this after my webView crashed.

 

### BAD_FRAME pid=30351458 at 12668234 ms -> t: 30 ms p1: Thread 12 (info): JS Console: http://connect.facebook.net/en_US/all.js:50: Received message of type object from https://s-static.ak.facebook.com, expected a string
0 ms, r: 29 ms, p2: 0 ms, u: 0 ms

 

i was actual going to a crackberry.com - below is my code im still very new at this thanks

 

WebPage {
content: WebContainer {
id: container
background: Color.LightGray
layout: StackLayout {
layoutDirection: LayoutDirection.TopToBottom
}
ProgressIndicator {
id: progressIndicator
topMargin: 10
leftMargin: 10
bottomMargin: 10
fromValue: 0
toValue: 100
preferredWidth: 800
} // progress of the webview loading and web status
ScrollView {
scrollViewProperties {
scrollMode: ScrollMode.Vertical
}
layoutProperties: StackLayoutProperties {
spaceQuota: 1.0
}
Container {
background: Color.LightGray
layout: StackLayout {
layoutDirection: LayoutDirection.TopToBottom
}
Label {
id: statusLabel
leftMargin: 10.0
text: ""
bottomMargin: 0.0
preferredHeight: 0.0
textStyle.lineSpacing: 0.0
textStyle.size: 0.0
visible: true
topMargin: 0.0
}
WebView {
id: myWebView
url: "http://crackberry.com"
onLoadProgressChanged: {
progressIndicator.value = loadProgress
}
onLoadingChanged: {
if (loadRequest.status == WebView.LoadStartedStatus) {
statusLabel.setText("")
} else if (loadRequest.status == WebView.LoadSucceededStatus) {
statusLabel.setText("")
} else if (loadRequest.status == WebView.LoadFailedStatus) {
statusLabel.setText("Loading of the URL that was set on this WebView failed. Please check Internet connection.")
}
}
onNavigationRequested: {
console.debug("NavigationRequested: " + request.url + " navigationType=" + request.navigationType)
}
}
}
}
}
}

BlackBerry 10 game reviews for the unknown, small and indie developers. Little games with big dreams. VeryBerryGames.com | Follow @VeryBerryGames | TwoCasualCoders.com | never casual on quality
BlackBerry Development Advisor (Retired)
Posts: 155
Registered: ‎07-16-2012
My Device: Dev Alpha
My Carrier: Bell

Re: webView keeps crashing on sim

Hi quincar,

 

actually there are 2 things to fix, WebPage and WebContainer, I've changed both and it worked:

 

Page {
    content: Container {
        id: container
        background: Color.LightGray
        layout: StackLayout {
            layoutDirection: LayoutDirection.TopToBottom
        }
        ProgressIndicator {
            id: progressIndicator
            topMargin: 10
			leftMargin: 10
			bottomMargin: 10
			fromValue: 0
			toValue: 100
			preferredWidth: 800
		} // progress of the webview loading and web status
		ScrollView {
		    scrollViewProperties {
		        scrollMode: ScrollMode.Vertical
		    }
		    layoutProperties: StackLayoutProperties {
		        spaceQuota: 1.0
		    }
		    Container {
		        background: Color.LightGray
		        layout: StackLayout {
		            layoutDirection: LayoutDirection.TopToBottom
		        }
		        Label {
					id: statusLabel
					leftMargin: 10.0
					text: ""
					bottomMargin: 0.0
					preferredHeight: 0.0
					textStyle.lineSpacing: 0.0
					textStyle.size: 0.0
					visible: true
					topMargin: 0.0
				}
		         
				WebView {
					id: myWebView
					url: "http://crackberry.com"
					onLoadProgressChanged: {
						progressIndicator.value = loadProgress
					}
					onLoadingChanged: {
						if (loadRequest.status == WebView.LoadStartedStatus) {
						    statusLabel.setText("")
						} else if (loadRequest.status == WebView.LoadSucceededStatus) {
						    statusLabel.setText("")
						} else if (loadRequest.status == WebView.LoadFailedStatus) {
						    statusLabel.setText("Loading of the URL that was set on this WebView failed. Please check Internet connection.")
						}
					}
					onNavigationRequested: {
					    console.debug("NavigationRequested: " + request.url + " navigationType=" + request.navigationType)
					}
				}
             }
         }
     }
}

 

BlackBerry Development Advisor (Retired)
Posts: 155
Registered: ‎07-16-2012
My Device: Dev Alpha
My Carrier: Bell

Re: webView keeps crashing on sim

Perhaps,

 

you tried to set WebPage and WebContainer as id for each?

Developer
Posts: 304
Registered: ‎08-14-2012
My Device: PlayBook, Z10, Dev C
My Carrier: Rogers

Re: webView keeps crashing on sim

I had the webPage set so the title of the xml file would pull to the website in question crackberry is on the actual page and below it would be the blue loading line.

 

I   crackberry    I

I--------------       I

I  web page      I

I                          I

I                          I

Iback button     I

 

If i put put back just webPage will it still crash thanks for taking it and testing it for me much apprciated. im going to test it when i go home tonight.

BlackBerry 10 game reviews for the unknown, small and indie developers. Little games with big dreams. VeryBerryGames.com | Follow @VeryBerryGames | TwoCasualCoders.com | never casual on quality
BlackBerry Development Advisor (Retired)
Posts: 155
Registered: ‎07-16-2012
My Device: Dev Alpha
My Carrier: Bell

Re: webView keeps crashing on sim

No problem, let us know how it goes.

Developer
Posts: 304
Registered: ‎08-14-2012
My Device: PlayBook, Z10, Dev C
My Carrier: Rogers

Re: webView keeps crashing on sim

[ Edited ]

ok still having the same issue was it crashing with u as well. With the changes it still works except i dont have my tittle bar. see below the console log.

how do i put things like this in a small box like you did. Im notcing its only happening to crackberry and any site that cant change to the mobile site. i have force crackberry to goto the mobile sit and no issues is this normal.

 


NavigatorPrivate::NavigatorPrivate - width=768
NavigatorPrivate::NavigatorPrivate - height=1280
NavigatorPrivate::NavigatorPrivate - angle=0

### TIMESTAMP pid=8564748 at 1969463 ms -> "server thread started"
### Server Thread: STARTED
startScreenEventThread(SUCCESS)
### PPS Thread: STARTED (9)
ERROR:: QNXPpsSubscriptionServer: QNXPpsSubscriptionServer::createObject: (13) Failed to create dir /pps/services/automation/framework

ERROR:: QNXPpsSubscriptionServer: QNXPpsSubscriptionServer::subscribe: Failed to open /pps/services/automation/framework/control?delta,notify=35f:00000001


### TIMESTAMP pid=8564748 at 1969639 ms -> "handle incoming events begin (1)"

### TIMESTAMP pid=8564748 at 1969640 ms -> "handle incoming events end (1)"

### TIMESTAMP pid=8564748 at 1969640 ms -> "waiting for events begin"

### TIMESTAMP pid=8564748 at 1969640 ms -> "waiting for events end"

### TIMESTAMP pid=8564748 at 1969640 ms -> "handle incoming events begin (1)"

### TIMESTAMP pid=8564748 at 1969640 ms -> "handle incoming events end (1)"

### TIMESTAMP pid=8564748 at 1969640 ms -> "waiting for events begin"

### TIMESTAMP pid=8564748 at 1969739 ms -> "waiting for events end"

### TIMESTAMP pid=8564748 at 1969739 ms -> "handle incoming events begin (1)"

### TIMESTAMP pid=8564748 at 1969739 ms -> "handle incoming events end (1)"

### TIMESTAMP pid=8564748 at 1969739 ms -> "waiting for events begin"

### TIMESTAMP pid=8564748 at 1969747 ms -> "waiting for events end"

### TIMESTAMP pid=8564748 at 1969747 ms -> "handle incoming events begin (1)"

### TIMESTAMP pid=8564748 at 1969747 ms -> "handle incoming events end (1)"

### TIMESTAMP pid=8564748 at 1969747 ms -> "waiting for events begin"

### TIMESTAMP pid=8564748 at 1969752 ms -> "waiting for events end"

### TIMESTAMP pid=8564748 at 1969752 ms -> "handle incoming events begin (1)"

### TIMESTAMP pid=8564748 at 1969752 ms -> "handle incoming events end (1)"

### TIMESTAMP pid=8564748 at 1969752 ms -> "waiting for events begin"

### TIMESTAMP pid=8564748 at 1969755 ms -> "waiting for events end"

### TIMESTAMP pid=8564748 at 1969755 ms -> "handle incoming events begin (1)"

### TIMESTAMP pid=8564748 at 1969756 ms -> "handle incoming events end (1)"

### TIMESTAMP pid=8564748 at 1969756 ms -> "waiting for events begin"

### TIMESTAMP pid=8564748 at 1969756 ms -> "waiting for events end"

### TIMESTAMP pid=8564748 at 1969756 ms -> "handle incoming events begin (1)"

### TIMESTAMP pid=8564748 at 1969756 ms -> "handle incoming events end (1)"

### TIMESTAMP pid=8564748 at 1969756 ms -> "waiting for events begin"

### TIMESTAMP pid=8564748 at 1969759 ms -> "waiting for events end"

### TIMESTAMP pid=8564748 at 1969759 ms -> "handle incoming events begin (1)"

### TIMESTAMP pid=8564748 at 1969759 ms -> "handle incoming events end (1)"

### TIMESTAMP pid=8564748 at 1969759 ms -> "waiting for events begin"

### TIMESTAMP pid=8564748 at 1969759 ms -> "waiting for events end"

### TIMESTAMP pid=8564748 at 1969759 ms -> "handle incoming events begin (1)"

### TIMESTAMP pid=8564748 at 1969759 ms -> "handle incoming events end (1)"

### TIMESTAMP pid=8564748 at 1969759 ms -> "waiting for events begin"
NavigatorPrivate::setAllowedOrientation - allow=4

### TIMESTAMP pid=8564748 at 1969767 ms -> "waiting for events end"

### TIMESTAMP pid=8564748 at 1969767 ms -> "handle incoming events begin (1)"

### TIMESTAMP pid=8564748 at 1969767 ms -> "handle incoming events end (1)"

### TIMESTAMP pid=8564748 at 1969767 ms -> "waiting for events begin"

### TIMESTAMP pid=8564748 at 1969767 ms -> "waiting for events end"

### TIMESTAMP pid=8564748 at 1969767 ms -> "handle incoming events begin (1)"

### TIMESTAMP pid=8564748 at 1970099 ms -> "handle incoming events end (1)"

### TIMESTAMP pid=8564748 at 1970100 ms -> "renderFrame begin"

### TIMESTAMP pid=8564748 at 1970341 ms -> "renderFrame end"

### TIMESTAMP pid=8564748 at 1970341 ms -> "handle incoming events begin (2)"

### TIMESTAMP pid=8564748 at 1970341 ms -> "handle incoming events end (2)"

### TIMESTAMP pid=8564748 at 1970341 ms -> "updateMainScreen begin"

### TIMESTAMP pid=8564748 at 1970342 ms -> "updateMainScreen end"

### BAD_FRAME pid=8564748 at 1970342 ms -> t: 574 ms p1: 331 ms, r: 241 ms, p2: 0 ms, u: 0 ms

### TIMESTAMP pid=8564748 at 1970348 ms -> "handle incoming events begin (1)"

### TIMESTAMP pid=8564748 at 1970348 ms -> "handle incoming events end (1)"

### TIMESTAMP pid=8564748 at 1970348 ms -> "renderFrame begin"
NavigatorPrivate::handleBpsEvent: Event received: navigator active. WindowGroupID: mainWindow-8564748-0
NavigatorPrivate::handleBpsEvent - window state
NavigatorPrivate::handleWindowStateEvent - fullscreen

### TIMESTAMP pid=8564748 at 1970478 ms -> "renderFrame end"

### TIMESTAMP pid=8564748 at 1970480 ms -> "handle incoming events begin (2)"
Context: Failed to find target node with id 159
Context: Failed to find target node with id 159
Context: Failed to find target node with id 182
Context: Failed to find target node with id 205
Context: Failed to find target node with id 228
Context: Failed to find target node with id 251
Context: Failed to find target node with id 274
Context: Failed to find target node with id 297
Context: Failed to find target node with id 320
Context: Failed to find target node with id 343
Context: Failed to find target node with id 366
Context: Failed to find target node with id 389
Context: Failed to find target node with id 412
Context: Failed to find target node with id 435
Context: Failed to find target node with id 458
Context: Failed to find target node with id 481
Context: Failed to find target node with id 504
Context: Failed to find target node with id 527
Context: Failed to find target node with id 550

### TIMESTAMP pid=8564748 at 1970541 ms -> "handle incoming events end (2)"

### TIMESTAMP pid=8564748 at 1970541 ms -> "updateMainScreen begin"

### TIMESTAMP pid=8564748 at 1970551 ms -> "updateMainScreen end"

### BAD_FRAME pid=8564748 at 1970551 ms -> t: 202 ms p1: 0 ms, r: 131 ms, p2: 60 ms, u: 9 ms

### BAD_FRAME pid=8564748 at 1970575 ms -> t: 23 ms p1: 0 ms, r: 17 ms, p2: 3 ms, u: 1 ms

### BAD_FRAME pid=8564748 at 1970815 ms -> t: 239 ms p1: 0 ms, r: 236 ms, p2: 0 ms, u: 2 ms

### BAD_FRAME pid=8564748 at 1970841 ms -> t: 25 ms p1: 0 ms, r: 24 ms, p2: 0 ms, u: 0 ms

### BAD_FRAME pid=8564748 at 1970868 ms -> t: 26 ms p1: 0 ms, r: 23 ms, p2: 0 ms, u: 2 ms

### BAD_FRAME pid=8564748 at 1970887 ms -> t: 18 ms p1: 0 ms, r: 17 ms, p2: 0 ms, u: 0 ms

### BAD_FRAME pid=8564748 at 1970963 ms -> t: 58 ms p1: 0 ms, r: 57 ms, p2: 0 ms, u: 0 ms

### BAD_FRAME pid=8564748 at 1970985 ms -> t: 21 ms p1: 0 ms, r: 20 ms, p2: 0 ms, u: 0 ms

### BAD_FRAME pid=8564748 at 1971081 ms -> t: 44 ms p1: 0 ms, r: 43 ms, p2: 0 ms, u: 0 ms

### BAD_FRAME pid=8564748 at 1971101 ms -> t: 19 ms p1: 0 ms, r: 18 ms, p2: 0 ms, u: 0 ms

### BAD_FRAME pid=8564748 at 1971142 ms -> t: 23 ms p1: 0 ms, r: 22 ms, p2: 0 ms, u: 0 ms

### BAD_FRAME pid=8564748 at 1971167 ms -> t: 24 ms p1: 0 ms, r: 23 ms, p2: 0 ms, u: 0 ms

### BAD_FRAME pid=8564748 at 1971194 ms -> t: 26 ms p1: 0 ms, r: 25 ms, p2: 0 ms, u: 0 ms

### BAD_FRAME pid=8564748 at 1971214 ms -> t: 19 ms p1: 0 ms, r: 18 ms, p2: 0 ms, u: 0 ms

### BAD_FRAME pid=8564748 at 1971241 ms -> t: 26 ms p1: 0 ms, r: 25 ms, p2: 0 ms, u: 0 ms

### BAD_FRAME pid=8564748 at 1971262 ms -> t: 20 ms p1: 0 ms, r: 19 ms, p2: 0 ms, u: 0 ms

### BAD_FRAME pid=8564748 at 1971290 ms -> t: 27 ms p1: 0 ms, r: 26 ms, p2: 0 ms, u: 0 ms

### BAD_FRAME pid=8564748 at 1971314 ms -> t: 23 ms p1: 0 ms, r: 22 ms, p2: 0 ms, u: 0 ms

### BAD_FRAME pid=8564748 at 1971345 ms -> t: 30 ms p1: 0 ms, r: 29 ms, p2: 0 ms, u: 0 ms

### BAD_FRAME pid=8564748 at 1971367 ms -> t: 21 ms p1: 0 ms, r: 19 ms, p2: 0 ms, u: 1 ms

### BAD_FRAME pid=8564748 at 1971390 ms -> t: 22 ms p1: 0 ms, r: 21 ms, p2: 0 ms, u: 0 ms

### BAD_FRAME pid=8564748 at 1971435 ms -> t: 44 ms p1: 0 ms, r: 43 ms, p2: 0 ms, u: 0 ms

### BAD_FRAME pid=8564748 at 1971455 ms -> t: 19 ms p1: 0 ms, r: 18 ms, p2: 0 ms, u: 0 ms

### BAD_FRAME pid=8564748 at 1971493 ms -> t: 20 ms p1: 0 ms, r: 19 ms, p2: 0 ms, u: 0 ms

### BAD_FRAME pid=8564748 at 1971530 ms -> t: 36 ms p1: 0 ms, r: 35 ms, p2: 0 ms, u: 0 ms

### BAD_FRAME pid=8564748 at 1971550 ms -> t: 19 ms p1: 0 ms, r: 12 ms, p2: 0 ms, u: 6 ms

### BAD_FRAME pid=8564748 at 1971594 ms -> t: 26 ms p1: 0 ms, r: 25 ms, p2: 0 ms, u: 0 ms

### BAD_FRAME pid=8564748 at 1971622 ms -> t: 27 ms p1: 0 ms, r: 26 ms, p2: 0 ms, u: 0 ms

### BAD_FRAME pid=8564748 at 1971648 ms -> t: 25 ms p1: 0 ms, r: 24 ms, p2: 0 ms, u: 0 ms

### BAD_FRAME pid=8564748 at 1971694 ms -> t: 45 ms p1: 0 ms, r: 44 ms, p2: 0 ms, u: 0 ms

### BAD_FRAME pid=8564748 at 1971794 ms -> t: 47 ms p1: 0 ms, r: 46 ms, p2: 0 ms, u: 0 ms

### BAD_FRAME pid=8564748 at 1971849 ms -> t: 20 ms p1: 0 ms, r: 19 ms, p2: 0 ms, u: 0 ms

### BAD_FRAME pid=8564748 at 1971870 ms -> t: 20 ms p1: 0 ms, r: 19 ms, p2: 0 ms, u: 0 ms

### BAD_FRAME pid=8564748 at 1971906 ms -> t: 35 ms p1: 0 ms, r: 33 ms, p2: 0 ms, u: 1 ms

### BAD_FRAME pid=8564748 at 1971947 ms -> t: 40 ms p1: 0 ms, r: 39 ms, p2: 0 ms, u: 0 ms

### BAD_FRAME pid=8564748 at 1976005 ms -> t: 50 ms p1: 37 ms, r: 11 ms, p2: 0 ms, u: 0 ms

### BAD_FRAME pid=8564748 at 1976030 ms -> t: 24 ms p1: 0 ms, r: 23 ms, p2: 0 ms, u: 0 ms

### BAD_FRAME pid=8564748 at 1976056 ms -> t: 25 ms p1: 0 ms, r: 20 ms, p2: 3 ms, u: 0 ms

### BAD_FRAME pid=8564748 at 1976080 ms -> t: 23 ms p1: 0 ms, r: 21 ms, p2: 0 ms, u: 1 ms
WebViewPrivate::smileytongue:ageInitialized()

### BAD_FRAME pid=8564748 at 1976117 ms -> t: 36 ms p1: 0 ms, r: 35 ms, p2: 0 ms, u: 0 ms

### BAD_FRAME pid=8564748 at 1976195 ms -> t: 77 ms p1: 0 ms, r: 76 ms, p2: 0 ms, u: 0 ms

### BAD_FRAME pid=8564748 at 1976250 ms -> t: 19 ms p1: 0 ms, r: 15 ms, p2: 0 ms, u: 2 ms

### BAD_FRAME pid=85NavigationRequested: http://crackberry.com/ navigationType=5
64748 at 1976273 ms -> t: 22 ms p1: 0 ms, r: 17 ms, p2: 0 ms, u: 4 ms

### BAD_FRAME pid=8564748 at 1976294 ms -> t: 19 ms p1: 0 ms, r: 18 ms, p2: 0 ms, u: 0 ms

### BAD_FRAME pid=8564748 at 1976350 ms -> t: 20 ms p1: 0 ms, r: 17 ms, p2: 0 ms, u: 2 ms

### BAD_FRAME pid=8564748 at 1976371 ms -> t: 20 ms p1: 0 ms, r: 17 ms, p2: 0 ms, u: 2 ms

### BAD_FRAME pid=8564748 at 1976460 ms -> t: 88 ms p1: 0 ms, r: 87 ms, p2: 0 ms, u: 0 ms

### BAD_FRAME pid=8564748 at 1976505 ms -> t: 44 ms p1: 0 ms, r: 43 ms, p2: 0 ms, u: 0 ms

### BAD_FRAME pid=8564748 at 1976542 ms -> t: 36 ms p1: 0 ms, r: 35 ms, p2: 0 ms, u: 0 ms

### BAD_FRAME pid=8564748 at 1976577 ms -> t: 34 ms p1: 0 ms, r: 33 ms, p2: 0 ms, u: 0 ms

### BAD_FRAME pid=8564748 at 1976613 ms -> t: 35 ms p1: 0 ms, r: 33 ms, p2: 0 ms, u: 1 ms

### BAD_FRAME pid=8564748 at 1976650 ms -> t: 36 ms p1: 0 ms, r: 35 ms, p2: 0 ms, u: 0 ms

### BAD_FRAME pid=8564748 at 1976682 ms -> t: 31 ms p1: 0 ms, r: 25 ms, p2: 3 ms, u: 1 ms

### BAD_FRAME pid=8564748 at 1976983 ms -> t: 49 ms p1: 0 ms, r: 23 ms, p2: 0 ms, u: 24 ms

### BAD_FRAME pid=8564748 at 1977005 ms -> t: 21 ms p1: 0 ms, r: 16 ms, p2: 0 ms, u: 4 ms

### BAD_FRAME pid=8564748 at 1977040 ms -> t: 34 ms p1: 0 ms, r: 30 ms, p2: 0 ms, u: 3 ms

### BAD_FRAME pid=8564748 at 1977080 ms -> t: 39 ms p1: 0 ms, r: 37 ms, p2: 0 ms, u: 0 ms

### BAD_FRAME pid=8564748 at 1977131 ms -> t: 50 ms p1: 0 ms, r: 49 ms, p2: 0 ms, u: 0 ms

### BAD_FRAME pid=8564748 at 1977182 ms -> t: 50 ms p1: 0 ms, r: 44 ms, p2: 0 ms, u: 4 ms

### BAD_FRAME pid=8564748 at 1977222 ms -> t: 39 ms p1: 0 ms, r: 33 ms, p2: 0 ms, u: 5 ms

### BAD_FRAME pid=8564748 at 1977272 ms -> t: 49 ms p1: 0 ms, r: 48 ms, p2: 0 ms, u: 0 ms

### BAD_FRAME pid=8564748 at 1977315 ms -> t: 42 ms p1: 0 ms, r: 39 ms, p2: 0 ms, u: 1 ms

### BAD_FRAME pid=8564748 at 1977342 ms -> t: 26 ms p1: 0 ms, r: 24 ms, p2: 0 ms, u: 1 ms

### BAD_FRAME pid=8564748 at 1977386 ms -> t: 42 ms p1: 0 ms, r: 28 ms, p2: 0 ms, u: 12 ms

### BAD_FRAME pid=8564748 at 1977427 ms -> t: 40 ms p1: 0 ms, r: 39 ms, p2: 0 ms, u: 0 ms

### BAD_FRAME pid=8564748 at 1977470 ms -> t: 42 ms p1: 0 ms, r: 40 ms, p2: 0 ms, u: 1 ms

### BAD_FRAME pid=8564748 at 1977501 ms -> t: 30 ms p1: 0 ms, r: 29 ms, p2: 0 ms, u: 0 ms

### BAD_FRAME pid=8564748 at 1977533 ms -> t: 30 ms p1: 0 ms, r: 27 ms, p2: 0 ms, u: 1 ms

### BAD_FRAME pid=8564748 at 1977557 ms -> t: 22 ms p1: 0 ms, r: 20 ms, p2: 0 ms, u: 1 ms

### BAD_FRAME pid=8564748 at 1977813 ms -> t: 115 ms p1: 0 ms, r: 111 ms, p2: 0 ms, u: 2 ms

### BAD_FRAME pid=8564748 at 1977833 ms -> t: 19 ms p1: 0 ms, r: 4 ms, p2: 0 ms, u: 13 ms

### BAD_FRAME pid=8564748 at 1977985 ms -> t: 33 ms p1: 12 ms, r: 17 ms, p2: 0 ms, u: 1 ms

### BAD_FRAME pid=8564748 at 1978017 ms -> t: 31 ms p1: 0 ms, r: 26 ms, p2: 0 ms, u: 4 ms

### BAD_FRAME pid=8564748 at 1978081 ms -> t: 63 ms p1: 0 ms, r: 59 ms, p2: 0 ms, u: 3 ms

### BAD_FRAME pid=8564748 at 1978122 ms -> t: 40 ms p1: 0 ms, r: 29 ms, p2: 0 ms, u: 10 ms

### BAD_FRAME pid=8564748 at 1978147 ms -> t: 24 ms p1: 0 ms, r: 23 ms, p2: 0 ms, u: 0 ms

### BAD_FRAME pid=8564748 at 1978186 ms -> t: 38 ms p1: 0 ms, r: 25 ms, p2: 0 ms, u: 11 ms

### BAD_FRAME pid=8564748 at 1978235 ms -> t: 48 ms p1: 0 ms, r: 47 ms, p2: 0 ms, u: 0 ms

### BAD_FRAME pid=8564748 at 1978266 ms -> t: 30 ms p1: 0 ms, r: 25 ms, p2: 0 ms, u: 3 ms

### BAD_FRAME pid=8564748 at 1978307 ms -> t: 40 ms p1: 0 ms, r: 37 ms, p2: 0 ms, u: 1 ms

### BAD_FRAME pid=8564748 at 1978358 ms -> t: 50 ms p1: 0 ms, r: 46 ms, p2: 0 ms, u: 2 ms

### BAD_FRAME pid=8564748 at 1978399 ms -> t: 40 ms p1: 0 ms, r: 38 ms, p2: 0 ms, u: 1 ms

### BAD_FRAME pid=8564748 at 1978442 ms -> t: 42 ms p1: 0 ms, r: 40 ms, p2: 0 ms, u: 1 ms

### BAD_FRAME pid=8564748 at 1978480 ms -> t: 37 ms p1: 0 ms, r: 33 ms, p2: 0 ms, u: 3 ms

### BAD_FRAME pid=8564748 at 1978748 ms -> t: 24 ms p1: 0 ms, r: 23 ms, p2: 0 ms, u: 0 ms

### BAD_FRAME pid=8564748 at 1978773 ms -> t: 24 ms p1: 0 ms, r: 22 ms, p2: 0 ms, u: 1 ms

### BAD_FRAME pid=8564748 at 1978800 ms -> t: 26 ms p1: 0 ms, r: 22 ms, p2: 0 ms, u: 2 ms

### BAD_FRAME pid=8564748 at 1978830 ms -> t: 29 ms p1: 0 ms, r: 25 ms, p2: 0 ms, u: 2 ms

### BAD_FRAME pid=8564748 at 1978857 ms -> t: 25 ms p1: 0 ms, r: 22 ms, p2: 0 ms, u: 2 ms

### BAD_FRAME pid=8564748 at 1978888 ms -> t: 30 ms p1: 0 ms, r: 27 ms, p2: 0 ms, u: 1 ms

### BAD_FRAME pid=8564748 at 1978918 ms -> t: 29 ms p1: 0 ms, r: 28 ms, p2: 0 ms, u: 0 ms

### BAD_FRAME pid=8564748 at 1978942 ms -> t: 23 ms p1: 0 ms, r: 20 ms, p2: 0 ms, u: 2 ms

### BAD_FRAME pid=8564748 at 1978971 ms -> t: 28 ms p1: 0 ms, r: 24 ms, p2: 0 ms, u: 3 ms

### BAD_FRAME pid=8564748 at 1979004 ms -> t: 32 ms p1: 0 ms, r: 29 ms, p2: 0 ms, u: 1 ms

### BAD_FRAME pid=8564748 at 1979033 ms -> t: 28 ms p1: 0 ms, r: 26 ms, p2: 0 ms, u: 0 ms

### BAD_FRAME pid=8564748 at 1979054 ms -> t: 20 ms p1: 0 ms, r: 16 ms, p2: 0 ms, u: 2 ms

### BAD_FRAME pid=8564748 at 1979082 ms -> t: 27 ms p1: 0 ms, r: 24 ms, p2: 0 ms, u: 2 ms

### BAD_FRAME pid=8564748 at 1979111 ms -> t: 28 ms p1: 0 ms, r: 23 ms, p2: 0 ms, u: 3 ms

### BAD_FRAME pid=8564748 at 1979145 ms -> t: 33 ms p1: 0 ms, r: 29 ms, p2: 0 ms, u: 3 ms

### BAD_FRAME pid=8564748 at 1979170 ms -> t: 24 ms p1: 0 ms, r: 19 ms, p2: 0 ms, u: 4 ms

### BAD_FRAME pid=8564748 at 1979202 ms -> t: 31 ms p1: 0 ms, r: 30 ms, p2: 0 ms, u: 0 ms

### BAD_FRAME pid=8564748 at 1979231 ms -> t: 28 ms p1: 0 ms, r: 24 ms, p2: 0 ms, u: 3 ms

### BAD_FRAME pid=8564748 at 1979261 ms -> t: 29 ms p1: 0 ms, r: 22 ms, p2: 0 ms, u: 5 ms

### BAD_FRAME pid=8564748 at 1979288 ms -> t: 26 ms p1: 0 ms, r: 22 ms, p2: 0 ms, u: 3 ms

### BAD_FRAME pid=8564748 at 1979311 ms -> t: 22 ms p1: 0 ms, r: 18 ms, p2: 0 ms, u: 2 ms

### BAD_FRAME pid=8564748 at 1979344 ms -> t: 32 ms p1: 0 ms, r: 31 ms, p2: 0 ms, u: 0 ms

### BAD_FRAME pid=8564748 at 1979369 ms -> t: 24 ms p1: 0 ms, r: 20 ms, p2: 0 ms, u: 3 ms

### BAD_FRAME pid=8564748 at 1979400 ms -> t: 30 ms p1: 0 ms, r: 29 ms, p2: 0 ms, u: 0 ms

### BAD_FRAME pid=8564748 at 1979419 ms -> t: 18 ms p1: 0 ms, r: 14 ms, p2: 0 ms, u: 3 ms

### BAD_FRAME pid=8564748 at 1979459 ms -> t: 39 ms p1: 0 msThread 12 (info): JS Console: http://connect.facebook.net/en_US/all.js:50: Received message of type object from https://s-static.ak.facebook.com, expected a string
, r: 38 ms, p2: 0 ms, u: 0 ms

### BAD_FRAME pid=8564748 at 1979486 ms -> t: 26 ms p1: 0 ms, r: 20 ms, p2: 0 ms, u: 4 ms

### BAD_FRAME pid=8564748 at 1979521 ms -> t: 34 ms p1: 0 ms, r: 32 ms, p2: 0 ms, u: 0 ms

### BAD_FRAME pid=8564748 at 1979559 ms -> t: 37 ms p1: 0 ms, r: 36 ms, p2: 0 ms, u: 0 ms

### BAD_FRAME pid=8564748 at 1979595 ms -> t: 35 ms p1: 0 ms, r: 30 ms, p2: 0 ms, u: 3 ms

### BAD_FRAME pid=8564748 at 1979634 ms -> t: 38 ms p1: 0 ms, r: 33 ms, p2: 0 ms, u: 4 ms

### BAD_FRAME pid=8564748 at 1979777 ms -> t: 142 ms p1: 0 ms, r: 141 ms, p2: 0 ms, u: 0 ms

### BAD_FRAME pid=8564748 at 1980530 ms -> t: 69 ms p1: 0 ms, r: 68 ms, p2: 0 ms, u: 0 ms

### BAD_FRAME pid=8564748 at 1980556 ms -> t: 25 ms p1: 0 ms, r: 6 ms, p2: 0 ms, u: 18 ms

### BAD_FRAME pid=8564748 at 1980737 ms -> t: 22 ms p1: 0 ms, r: 18 ms, p2: 0 ms, u: 3 ms

### BAD_FRAME pid=8564748 at 1980804 ms -> t: 53 ms p1: 0 ms, r: 46 ms, p2: 0 ms, u: 6 ms

### BAD_FRAME pid=8564748 at 1980878 ms -> t: 37 ms p1: 0 ms, r: 34 ms, p2: 0 ms, u: 2 ms

### BAD_FRAME pid=8564748 at 1981020 ms -> t: 27 ms p1: 0 ms, r: 24 ms, p2: 0 ms, u: 1 ms

### BAD_FRAME pid=8564748 at 1981121 ms -> t: 22 ms p1: 0 ms, r: 21 ms, p2: 0 ms, u: 0 ms

### BAD_FRAME pid=8564748 at 1981154 ms -> t: 32 ms p1: 0 ms, r: 29 ms, p2: 0 ms, u: 1 ms

### BAD_FRAME pid=8564748 at 1981203 ms -> t: 48 ms p1: 0 ms, r: 27 ms, p2: 0 ms, u: 20 ms

### BAD_FRAME pid=8564748 at 1981238 ms -> t: 34 ms p1: 0 ms, r: 33 ms, p2: 0 ms, u: 0 ms

### BAD_FRAME pid=8564748 at 1981275 ms -> t: 36 ms p1: 0 ms, r: 34 ms, p2: 0 ms, u: 1 ms

### BAD_FRAME pid=8564748 at 1981310 ms -> t: 34 ms p1: 0 ms, r: 33 ms, p2: 0 ms, u: 0 ms

### BAD_FRAME pid=8564748 at 1981335 ms -> t: 23 ms p1: 0 ms, r: 21 ms, p2: 0 ms, u: 1 ms

### BAD_FRAME pid=8564748 at 1981361 ms -> t: 25 ms p1: 0 ms, r: 21 ms, p2: 0 ms, u: 3 ms

### BAD_FRAME pid=8564748 at 1981393 ms -> t: 31 ms p1: 0 ms, r: 27 ms, p2: 0 ms, u: 3 ms

### BAD_FRAME pid=8564748 at 1981441 ms -> t: 47 ms p1: 0 ms, r: 46 ms, p2: 0 ms, u: 0 ms

### BAD_FRAM

BlackBerry 10 game reviews for the unknown, small and indie developers. Little games with big dreams. VeryBerryGames.com | Follow @VeryBerryGames | TwoCasualCoders.com | never casual on quality
BlackBerry Development Advisor (Retired)
Posts: 155
Registered: ‎07-16-2012
My Device: Dev Alpha
My Carrier: Bell

Re: webView keeps crashing on sim

Hi,

 

For the box, I've changed the StampCollector sample application to test it, the sample app is available under https://github.com/blackberry/Cascades-Samples/tree/master/stampcollector on main.qml

 

I've changed

 

ListItemComponent {
    type: "item"
    StampItem {
    }
}

 to

 

ListItemComponent {
    type: "item"
    WebView {
        url: "http://m.crackberry.com"
        onNavigationRequested: {
            console.debug ("NavigationRequested: " + request.url + " navigationType=" + request.navigationType)
        }
    }
}

 For the rest, I'm affraid you will need to debug that, and like I said on the other thread, you might need to work with WebView signals and properties, to have it proper set and working. Also, regarding this signals take a look at the WebView.qml on the cascadescookbookqml sample app, available under https://github.com/blackberry/Cascades-Samples/tree/master/cascadescookbookqml

 

 

Developer
Posts: 304
Registered: ‎08-14-2012
My Device: PlayBook, Z10, Dev C
My Carrier: Rogers

Re: webView keeps crashing on sim

sorry for confusing you about the box what i meant was the small dialog box you put things in on your reply.

BlackBerry 10 game reviews for the unknown, small and indie developers. Little games with big dreams. VeryBerryGames.com | Follow @VeryBerryGames | TwoCasualCoders.com | never casual on quality
BlackBerry Development Advisor (Retired)
Posts: 155
Registered: ‎07-16-2012
My Device: Dev Alpha
My Carrier: Bell

Re: webView keeps crashing on sim

Oh, there is a Paste icon on the bar, with a C inside... Insert Code. You can Paste your code there and format it to add it here.

 

Cheers,

Developer
Posts: 304
Registered: ‎08-14-2012
My Device: PlayBook, Z10, Dev C
My Carrier: Rogers

Re: webView keeps crashing on sim

Thanks you've been great help.
BlackBerry 10 game reviews for the unknown, small and indie developers. Little games with big dreams. VeryBerryGames.com | Follow @VeryBerryGames | TwoCasualCoders.com | never casual on quality