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
Developer
aryono_mcm
Posts: 18
Registered: ‎05-06-2013
My Device: BB Z10
My Carrier: AXIS

Re: play audio while backgrounded

I forgot to mention the error, Error #1065: Variable qnx.system::QNXSystem is not defined.

is triggered on runtime. so I still can build the bar file.

But I don't have a real device to test it.

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: play audio while backgrounded

Did you select the ANE?
Please use plain text.
Developer
aryono_mcm
Posts: 18
Registered: ‎05-06-2013
My Device: BB Z10
My Carrier: AXIS

Re: play audio while backgrounded

yes i idid set the ane

bb ane

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: play audio while backgrounded

My last thought is: are the selected ANE from the correct SDK? If you updated the SDK, the ANEs do not update. They still might be referencing the old SDK. You have to remove them and re-add them.
Please use plain text.
Developer
aryono_mcm
Posts: 18
Registered: ‎05-06-2013
My Device: BB Z10
My Carrier: AXIS

Re: play audio while backgrounded

I remove the ANEs then add them again but the error stil there...
I will look some more, and will post it here if I found something new :smileyhappy:

thank you
Please use plain text.
Developer
aryono_mcm
Posts: 18
Registered: ‎05-06-2013
My Device: BB Z10
My Carrier: AXIS

Re: play audio while backgrounded

Hi all,

 

I found the solution to this problem..
somehow the bar-descriptor.xml not included on package contents,

 

check it on "Project Properties -> Flex Build Packaging -> Blackberry -> Package Contents -> bar-descriptor.xml"

will do the trick! :smileyhappy:

 

bar descriptor

 

thank you all :smileyhappy:

 

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: play audio while backgrounded

No need to include the tmp bar files. Those can be deleted.
Please use plain text.