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

Native Development

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

how to handle different bb 10 devices

Hi,

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.

 

regards,

pigling

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

Re: how to handle different bb 10 devices

have you read this docs ?

 

https://developer.blackberry.com/native/documentation/cascades/best_practices/resolution

------------------------------
My Channel
C0003AEA66
+++++++++++++++++
Feed Manga Channel
C000DAC55
+++++++++++++++++
Snap Me Channel
C004B1717
_________________
@setiawand81
BlackBerry Development Advisor
Posts: 252
Registered: ‎08-17-2012
My Device: BlackBerry Z10 and Q10

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

@SamarAbdelsayed

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
Developer
Posts: 262
Registered: ‎07-13-2012
My Device: PlayBook, DA B, DA C, LE Z10 #102, Q10, Z30

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