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
New Contributor
Posts: 2
Registered: ‎04-05-2012
My Device: playbook
My Carrier: blackberry

Problem about bb::cascades::WebView

Hello,

 

I'm trying the new cascade UI framework these days and mentioned there's a WebView class which function is to show web page. (http://beta.webapps.blackberry.com/developer/cascades/reference/bb__cascades__webview.html)

But when I decided to use it, I found that RIM has not tell me about which header file is needed for this class.

As the WebView class is inherited from bb::cascades::Control class, I searched in my NDK install folder: target/target-override/usr/include/bb/cascades/controls, in this folder I found the header files corresponding to most classes inherited from bb::cascades::Control, e.g.: button, checkbox, customcontrol, etc. but there's no webview.h file. So I don't know which header file contains the definition of the WebView class.

I then tried to add a WebView in QML, but when application runs, an error message is generated: "WebView is not a type".

So it seems the WebView class is not implemented yet?

Developer
Posts: 1,280
Registered: ‎03-03-2011
My Device: Playbook, Z10, Q10, Z30 with Files & Folders and Orbit of course
My Carrier: Vodafone

Re: Problem about bb::cascades::WebView

[ Edited ]

Cascades is in closed beta. This is a public forum, so even those of us with access to the beta can't discuss it here due to NDA.

 

You'd probably best use a beta forum, or ask your dev relations contact at RIM.

Files & Folders, the unified file & cloud manager for PlayBook and BB10 with SkyDrive, SugarSync, Box, Dropbox, Google Drive, Google Docs. Free 3-day trial! - Jon Webb - Innovatology - Utrecht, Netherlands
Developer
Posts: 1,068
Registered: ‎11-24-2011
My Device: PlayBook
My Carrier: x

Re: Problem about bb::cascades::WebView

out of curiosity - how do you become close beta tester? -)

Contributor
Posts: 17
Registered: ‎07-23-2010
My Device: Blackberry Storm 9530
My Carrier: Verizon

Re: Problem about bb::cascades::WebView

dstian Did you get this Working? I'm wanting to do the same thing right now. Do you have an example in "C" using ::bb::cascades;;WebView