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: 37
Registered: ‎03-10-2011
My Device: Not Specified

porting AIR app on PlayBook

Hi all, 

 

I'm porting an AIR app on PlayBook. I'd tried to launched it with

blackberry-airpackager -package -devMode -target bar-debug app.bar -installApp -launchApp app.xml app.swf -device IP-password *****

 

after package was built and sent to device there was just white screen. In /appdata/logs/air-trace theres

 

XMLList: extensionsDeviceBundledDirectory is null
app:/META-INF/AIR/extensions
Extensions to load: 0
TypeError: Error #1009
TypeError: Error #1009

 

In /appdata/logs/air-log there's 

 

err: Couldn't open the audio/route PPS object (tid:1)

 

Does anyone knows where the problem is? 

 

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

Re: porting AIR app on PlayBook

Are you doing anything with sound, midi, or mixing of sound?

Contributor
Posts: 37
Registered: ‎03-10-2011
My Device: Not Specified

Re: porting AIR app on PlayBook

No, I don't. There's ane sound signal at the start

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

Re: porting AIR app on PlayBook

What do you mean by "sound signal"?

Contributor
Posts: 37
Registered: ‎03-10-2011
My Device: Not Specified

Re: porting AIR app on PlayBook

I mean that I dont use any sound on startup hence it couldn't be the reason of a disaster

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

Re: porting AIR app on PlayBook

OK.  Does the

 

XMLList: extensions DeviceBundledDirectory

 

 

Make any sense in your code?  What is the DeviceBundleDirectory?

 

FYI, the PPS is a publish/subscribe service that runs on the OS.  Some classes (mostly singletons) try to connect to that service when referenced.

Contributor
Posts: 37
Registered: ‎03-10-2011
My Device: Not Specified

Re: porting AIR app on PlayBook

[ Edited ]

No, there's anything looking like that in my code

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

Re: porting AIR app on PlayBook

Hopefully someone else can chime in.  My only suggestion is to start commenting out initial parts of your code until it stops crashing so you can narrow down what line of code is doing this.  Hopefully your code is structured in a way that this is possible.

 

Are you using the GPS location class?  There is a problem with adding event listeners to it in the 093 SDK.

 

Sorry that I could not be of more help.

Contributor
Posts: 37
Registered: ‎03-10-2011
My Device: Not Specified

Re: porting AIR app on PlayBook

Thanks for replies. Well I think it'll try to simplify startup.

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

Re: porting AIR app on PlayBook

If you find out what the issue ends up being, please post it just in case it might be helpful to someone else.