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
Regular Contributor
sberfield
Posts: 68
Registered: ‎03-18-2011
My Device: Playbook Developer
My Carrier: none

Re: Two questions from a new dev

Thanks. That's great info on the UI components. I think I may try re-doing part of the current app using the QNX stuff to see how it all works then start on the new one.

Two apps and counting:
Video Poker: http://appworld.blackberry.com/webstore/content/33870
Classic Slots: http://appworld.blackberry.com/webstore/content/40279
Please use plain text.
Contributor
becooltim
Posts: 25
Registered: ‎03-19-2011
My Device: BlackBerry Bold 9930 & PlayBook
My Carrier: Sprint

Re: Two questions from a new dev

Just warning you that the alert dialogs don't work in the Flash Builder debugger. You'll get an error about PPSChannel package not being found, so that part has to be tested on the simulator. The other thing I would recommend looking into is listening for stage resize to handle when a user flips from landscape to portrait. Which can be tested in the simulator by dragging from the bottom right corner of the bezel towards the center of the screen.
Please use plain text.
Developer
UberschallSamsara
Posts: 922
Registered: ‎12-29-2010
My Device: PlayBook, Z10 LE, Dev Alpha C

Re: Two questions from a new dev

FYI there are some 3rd party efforts out there to enable more app development & API usage testing (e.g. PPS stuff) outside the VM; see these two for example:

 

http://supportforums.blackberry.com/t5/Tablet-OS-SDK-for-Adobe-AIR/Playbook-Device-Simulation-releas...

 

http://supportforums.blackberry.com/t5/Tablet-OS-SDK-for-Adobe-AIR/Community-Library-Released-for-cl...

 

 

Obviously such efforts are both great contributions by individuals, but at the same time likely to be supported only a best-efforts basis, and may not stay in sync w/RIM.

Please use plain text.
Contributor
becooltim
Posts: 25
Registered: ‎03-19-2011
My Device: BlackBerry Bold 9930 & PlayBook
My Carrier: Sprint

Re: Two questions from a new dev

I said to listen for stageResize, but there is also StageOrientationEvent.ORIENTATION_CHANGE.

Please use plain text.