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

Native Development

Trusted Contributor
Posts: 104
Registered: ‎02-05-2012
My Device: Bold 9900 (primary) Z10 LE (secondary)
My Carrier: Singtel

how to handle different bb 10 devices


How are you guys handling the different resolutions for different devices real-time? through get windows pixel size and then go to different handler?

Where can I find a sample for this? Thanks.




New Developer
Posts: 15
Registered: ‎04-09-2012
My Device: Z10
My Carrier: Telkomsel

Re: how to handle different bb 10 devices

have you read this docs ?



My Channel
Feed Manga Channel
Snap Me Channel
Posts: 252
Registered: ‎08-17-2012
My Device: BlackBerry Z10 and Q10
My Carrier: Bell

Re: how to handle different bb 10 devices

Hi pigling,


The cascadescookbookqml sample app demonstrates how to handle different device resolutions in QML. The sample is available here: https://github.com/blackberry/Cascades-Samples/tree/master/cascadescookbookqml


Did this answer your question? Please accept post as solution.
Please refrain from posting new questions in solved threads.
Found a bug? Report it using the Issue Tracker
Posts: 262
Registered: ‎07-13-2012
My Device: PlayBook, DA B, DA C, LE Z10 #102, Q10, Z30
My Carrier: T-Mobile

Re: how to handle different bb 10 devices

Here's a write up I did a little while back about the asset selector to support different resolutions: http://m.crackberry.com/asset-selector-designing-z-and-q
Check out my BB10 Cascades Coding site: BBcascades.com & Cascades Blog: bbcascadescode.tumblr.com

My Built for BlackBerry app: The Dive Plan