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
jdolce
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.
Please use plain text.
New Developer
techkanika
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...

Please use plain text.
Developer
jtegen
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?
Please use plain text.
New Developer
techkanika
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..

Please use plain text.
Developer
jtegen
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.
Please use plain text.
Developer
jtegen
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'.
Please use plain text.
New Developer
techkanika
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.. :smileysad:

 

kanika

Please use plain text.
Developer
jtegen
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?
Please use plain text.
New Developer
techkanika
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::smileyvery-happy:isplayObject$ flash.display::InteractiveObject$ flash.display::smileyvery-happy:isplayObjectContainer$ flash.display::smileyfrustrated:prite$ mx.core::FlexSprite$ mx.core::UIComponent$ spark.components.supportClasses::smileyfrustrated:kinnableComponent$ spark.components.supportClasses::smileyfrustrated:kinnableContainerBase$ spark.components::smileyfrustrated:kinnableContainer$ 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])

5:smileytongue:ushscope

[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]

 

Please use plain text.
New Developer
techkanika
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

Please use plain text.