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
gwy
New Contributor
Posts: 9
Registered: ‎02-09-2011
My Device: Curve
My Carrier: Sprint
Accepted Solution

Fishy Problem with Burrito where AIR App Window Never Appears

I'm all out of Google-fu, having also looked everywhere here and at Adobe, but wondered if someone here might have experienced the same issue:

 

When using Adobe Flash Builder Burrito, the window for the desktop version of even the most basic app never appears -- but works fine when I push it to the Playbook Simulator.

 

All that happens is the adl.exe process starts up. No new window ever appears. If I run it in a debug config, it's obvious that the app is indeed running somewhere, because I can get of trace() feedback.

 

I have installed and reinstalled Flash Builder, and have tried it on both XP and Win7 systems; both exhibit the same problem. It's something that has developed over time, as I used to be able to use the desktop mode just fine. I've tested my own app as well as the Playbook-in-90-minutes tutorial app; both work when I load them up on the Simulator (just not on the desktop).

 

I've tried updating Flash Player and even Shockwave Player, to no avail. This is using the v0.9.2 AIR APIs.

 

It's making development excrutiating -- I need a quick feedback loop since I am new to ActionScript. The Sim takes way too long.

 

Thanks! -- you guys have been a great resource already.

Developer
Posts: 2,462
Registered: ‎11-04-2010
My Device: Bold 9700

Re: Fishy Problem with Burrito where AIR App Window Never Appears

hey gwy,

 

welcome to the forums! i ran into a similar problem a while ago. what helped me was instead of doing a desktop AIR application, i went the mobile route. now you might be thinking thats not what you asked for but bear with me hah. when you choose the mobile application debug, dont choose teh device option. instead choose the option before that one. i beleive its called "on desktop". when you choose that the drop down box to it should be enabled and you can choose "BlackBerry PlayBoook". from there just hit debug. at that point the ADL should show up.

 

hope that works for you. i can totally understand your frustration. good luck!

J. Rab (Blog) (Twitter)
--
1. If you liked my post or found it useful please click on the thumbs up and provide a Like!
2. If my post solved your problem please click on the Accept as Solution button. Much appreciated!

Approved Apps: OnTrack | ssShots | Hangman
Developer
Posts: 6,541
Registered: ‎10-27-2010
My Device: HTC One, PlayBook, LE Z10, DE Q10
My Carrier: Verizon

Re: Fishy Problem with Burrito where AIR App Window Never Appears

Is it possible that in the app-xml file, you're not making the window visible?

 

<initialWindow>

  <visible>true</visible>

  ..

</initialWindow>

 

It might be commented out.

gwy
New Contributor
Posts: 9
Registered: ‎02-09-2011
My Device: Curve
My Carrier: Sprint

Re: Fishy Problem with Burrito where AIR App Window Never Appears

Holy cow! You guys solved my problem twice over! I wouldn't have figured out either one of those solutions... ever.

 

Firstly, setting it up as a mobile app but targetting the desktop worked like a charm (and deployment took 1 second rather than 30+ seconds like loading onto the Playbook does...)

 

But then it turns out that <visible> was false, too, and running the old config after changing <visible> to true worked beautifully. Since I'm guessing that that was the main problem, I marked jtegen's answer as correct... even though both solutions worked.

 

The real question is, why would that value default to false, and I wonder how it got changed along the way!

 

Thanks so much! -- I'm having so many problems with AIR's SQLite that I was about to admit defeat, since testing stuff out took so very long. This'll help a ton.