11-30-2012 11:53 AM
Purpose:
Click a button to show a local html file
Problem:
The onClick function des not work.
Code:
NavigationPane {
id: navigationPane
Page {
Button {
id: test123
onClicked: {
//navigationPane.deprecatedPushQmlByString("blog.q
//navigationPane.deprecatedPushQmlByString("WMMSht
navigationPane.deprecatedPushQmlByString("asset://
}
text: "Test"
}
}
}
Does anyone know how to make click function work on BB 10 simulator??
Thanks your attention,
11-30-2012 12:11 PM
You need a Web View to view the HTML.
See https://developer.blackberry.com/cascades/document
11-30-2012 01:29 PM
Fortunately, I found a bug in BB 10.
So far, webview does not work on BB 10 Simulator.
http://supportforums.blackberry.com/t5/Native-Deve
Cheers.
11-30-2012 03:55 PM