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: 29
Registered: ‎05-08-2011
My Device: Bold 9900 / Playbook

Active Frame Cover and Landscape Application

I'm having a problem with my Active Frame cover with my landscape application.

 

After updating my Dev Alpha to 10.0.9.1103 (and deploying using the Beta 4 SDK) as soon as the app is minimized the orientation automatically switches to portrait in the active frame window before the cover window fades in. 

 

When I remove the  QNXCover.qnxCover.setCoverFromWindow( cover.window );  line, the orientation remains in landscape when the app is minimized.

 

Any ideas how to keep the orientation landscape and have a cover window on my application ?

Contributor
Posts: 29
Registered: ‎05-08-2011
My Device: Bold 9900 / Playbook

Re: Active Frame Cover and Landscape Application

[ Edited ]

More Information:

 

I took the ActiveFrameSample in GitHub and made it run only in landscape mode by changing the following properties in the app.xml file to:

 

<aspectRatio>landscape</aspectRatio>
<autoOrients>false</autoOrients>

 

The sample app then exhibited the same behaviour as described in my post above.

 

Edit: Added photos to help show the issue

 

Application in LandscapeApplication minimized prior to showing Active Frame Covert

 IMG_00000043.png

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Left Image: Sample App in Landscape

Middle Image: Sample App minimized prior to showing Active Frame Cover

Right Image: Sample App minimized with no Active Frame Cover

Contributor
Posts: 29
Registered: ‎05-08-2011
My Device: Bold 9900 / Playbook

Re: Active Frame Cover and Landscape Application

This is still occuring using the Gold SDK and OS 10.0.9.1675 on the Dev Alpha A

Retired
Posts: 71
Registered: ‎11-08-2012
My Device: Blackberry 10 - Dev Alpha B | Blackberry Playbook | Blackberry Torch 9810

Re: Active Frame Cover and Landscape Application

Hello @soul2k

May you clarify the scenario you would like to achieve?

To have a custom cover window for your application, you may look into the SceneCover class

An overview: https://developer.blackberry.com/cascades/reference/bb__cascades__scenecover.html
William Hoang

Application Developer Advocate | Developer Relations
BlackBerry


Contributor
Posts: 29
Registered: ‎05-08-2011
My Device: Bold 9900 / Playbook

Re: Active Frame Cover and Landscape Application

Hi William,

 

Julian Dolce has informed me that the team is now aware of the problem and the fix will be via an OS update and the applications will not need to be recompiled.

 

I will post any further updates on this thread.