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
BlackBerry Development Advisor
Posts: 172
Registered: ‎10-25-2010
My Device: Not Specified

Re: QNXStageWebView broken for local files now?

"VerifyError: Error #1079: Native methods are not allowed in loaded code." This means that you compiled the qnx-air.swc into your application. You need to set this library to external so that it doesn't get included in your project.
New Developer
Posts: 12
Registered: ‎04-04-2011
My Device: Developer
My Carrier: Blackberry Application Developer

Re: QNXStageWebView broken for local files now?

yeah Flash Builder is 4.5.1  ...  and AIR is 2.7 ..  ,  QNX 1.1...

Developer
Posts: 6,541
Registered: ‎10-27-2010
My Device: HTC One, PlayBook, LE Z10, DE Q10
My Carrier: Verizon

Re: QNXStageWebView broken for local files now?

How did you get the BB/QNX libraries into your project? Manually or check the preference to do it automatically?
New Developer
Posts: 12
Registered: ‎04-04-2011
My Device: Developer
My Carrier: Blackberry Application Developer

Re: QNXStageWebView broken for local files now?

I am manually adding the library..

Developer
Posts: 6,541
Registered: ‎10-27-2010
My Device: HTC One, PlayBook, LE Z10, DE Q10
My Carrier: Verizon

Re: QNXStageWebView broken for local files now?

Ah, you need to go into the preferences and check the box for BB Tablet OS to auto add those libraries.
Developer
Posts: 6,541
Registered: ‎10-27-2010
My Device: HTC One, PlayBook, LE Z10, DE Q10
My Carrier: Verizon

Re: QNXStageWebView broken for local files now?

Select the project in the FB Package Explorer, then right-click and select Properties. Select ActionScript Build Packaging > BlackBerry Tablet OS and check 'Add platform specific libraries to library path'.
New Developer
Posts: 12
Registered: ‎04-04-2011
My Device: Developer
My Carrier: Blackberry Application Developer

Re: QNXStageWebView broken for local files now?

I did that too.. but still getting same error.. Smiley Sad

 

kanika

Developer
Posts: 6,541
Registered: ‎10-27-2010
My Device: HTC One, PlayBook, LE Z10, DE Q10
My Carrier: Verizon

Re: QNXStageWebView broken for local files now?

Did you remove the one you added?
Can you do a screen shot of the library preference page?
New Developer
Posts: 12
Registered: ‎04-04-2011
My Device: Developer
My Carrier: Blackberry Application Developer

Re: QNXStageWebView broken for local files now?

Now I am getting following error:

 

[SWF] FacebookIntegration.swf - 2,699,995 bytes after decompression

 

typecheck views::FacebookIntegrationHomeView/open()

outer-scope = [global Object$ flash.events::EventDispatcher$ flash.display:Smiley Very HappyisplayObject$ flash.display::InteractiveObject$ flash.display:Smiley Very HappyisplayObjectContainer$ flash.display:Smiley Frustratedprite$ mx.core::FlexSprite$ mx.core::UIComponent$ spark.components.supportClasses:Smiley FrustratedkinnableComponent$ spark.components.supportClasses:Smiley FrustratedkinnableContainerBase$ spark.components:Smiley FrustratedkinnableContainer$ spark.components::View$ views::FacebookIntegrationHomeView$]

[views::FacebookIntegrationHomeView~[O] *[A]] {} ()

0:debugfile "C:\Documents and Settings\460572\Adobe Flash Builder 4.5\FacebookIntegration\src;views;FacebookIntegrationHomeView.mxml"

[views::FacebookIntegrationHomeView~[O] *[A]] {} ()

2:debugline 14

[views::FacebookIntegrationHomeView~[O] *[A]] {} ()

4:getlocal0

[views::FacebookIntegrationHomeView~[O] *[A]] {} (views::FacebookIntegrationHomeView~[O])

5Smiley Tongueushscope

[views::FacebookIntegrationHomeView~[O] *[A]] {views::FacebookIntegrationHomeView~[O]} ()

6:debug

[views::FacebookIntegrationHomeView~[O] *[A]] {views::FacebookIntegrationHomeView~[O]} ()

11:debugline 16

[views::FacebookIntegrationHomeView~[O] *[A]] {views::FacebookIntegrationHomeView~[O]} ()

13:findpropstrict qnx.media::QNXStageWebView

[views::FacebookIntegrationHomeView~[O] *[A]] {views::FacebookIntegrationHomeView~[O]} (Object~[A])

15:constructprop 14 0

[views::FacebookIntegrationHomeView~[O] *[A]] {views::FacebookIntegrationHomeView~[O]} (*[A])

18:coerce qnx.media::QNXStageWebView

VerifyError: Error #1014: Class qnx.media::QNXStageWebView could not be found.

at views::FacebookIntegrationHomeView/___FacebookIntegrationHomeView_Button1_click()[C:\Documents and Settings\460572\Adobe Flash Builder 4.5\FacebookIntegration\src\views\FacebookIntegrationHomeView.mxml:27]

 

Highlighted
New Developer
Posts: 12
Registered: ‎04-04-2011
My Device: Developer
My Carrier: Blackberry Application Developer

Re: QNXStageWebView broken for local files now?

Screen shot is :

image.JPG