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

Adobe AIR Development

Reply
Contributor
Posts: 32
Registered: ‎12-10-2010
My Device: Not Specified

Load local html file with QNXStageWebView

Hello, i'm trying to load a local html file with QNXStageWebView but it doesn't work. Maybe my realtive path is not correct.

 

Does anyone try it?

Regular Contributor
Posts: 86
Registered: ‎10-25-2010
My Device: Not Specified

Re: Load local html file with QNXStageWebView

There are few examples already using QNXStageWebView. If you pull down the FullRSSReader from the webinar's resources download.

blog: http://renaun.com
twitter: @renaun
Contributor
Posts: 32
Registered: ‎12-10-2010
My Device: Not Specified

Re: Load local html file with QNXStageWebView

[ Edited ]

Thanks for the answer,

 

but i'm asking for how to load a "local" html file, not a url

Here is my directory structure. Now i want to load the index.html file, but i don't know how to do it

Capture.PNG

.

Developer
Posts: 153
Registered: ‎10-26-2010
My Device: Bold 9900
My Carrier: AT&T

Re: Load local html file with QNXStageWebView

Hi,

    I asked this a bit ago and got this answer.  Is this what you are looking for?

 

       Reading HTML files from the .bar file             

 

Harry

--------------
Accepted PlayBook Applications: Marmi-doos, BASIC, Run and Hide, SuperClip
Accepted OS4-7 SmartPhone App: KeepLightOn
Contributor
Posts: 32
Registered: ‎12-10-2010
My Device: Not Specified

Re: Load local html file with QNXStageWebView

Thanks,

 

my problem was solved.

New Contributor
Posts: 5
Registered: ‎12-08-2010
My Device: Not Specified

Re: Load local html file with QNXStageWebView

[ Edited ]

Can you show the code you used to actually get it working? my webView still resolves "undefined" when I try to open a local file.

 

[Edit]

Nevermind, my pages were displaying with white text and I couldn't see them! Smiley Very Happy