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

Web and WebWorks Development

Reply
Developer
Posts: 777
Registered: ‎07-21-2012
My Device: 9810
My Carrier: 0

Support Blackberry and android application for landscape and portrait mode using phone gap

Hi

actually when i run appliction on landscape it will run fine , but when i till my device application is closed and alert will come,

I think there is problem of landscape and portrait mode .i think i am not supported these mode,

 

can you please tell me how to support these mode. in android and blackberry 

 

Thanks

Retired
Posts: 162
Registered: ‎10-11-2011
My Device: BlackBerry 9810
My Carrier: Rogers

Re: Support Blackberry and android application for landscape and portrait mode using phone gap

Hi There,

 

I am not sure how this can be done on Android, but here is a way to do it on BlackBerry WebWorks platform.

 

http://supportforums.blackberry.com/t5/Web-and-WebWorks-Development/Detect-screen-orientation-change...

 

Thanks

 

Naveen M

Developer
Developer
Posts: 607
Registered: ‎04-29-2011
My Device: PlayBook 16GB, BB10 LE Z10 (red)
My Carrier: none

Re: Support Blackberry and android application for landscape and portrait mode using phone gap

If your application is closed it won't throw any alerts anymore, I think.

 

It might be possible that you haven't supported both modes, depends on the config.xml in case of BlackBerry and the AndroidManifest.xml in case of Android. Have a closer look to the one and search for the <rimSmiley Surprisedrientation> and to the other looking for a defined <activity> and you can find what is defined for your app.


"Like" if you liked the post.
"Accept as Solution" if the post solves your question.