Reputation: 9157
When developing a blackberry app originally, I didn't pay much attention to being able to support multiple screen resolutions. So, I ended up with code that runs fine on a 320*240 resolution but messes up completely on other screens.
How do I go about fixing this? Or in general, how would you support multiple resolutions without making one build for each res?
Thanks,
Teja.
Upvotes: 3
Views: 2599
Reputation: 156
The blackberry developer site has some good advice on how to go about doing this. It isn't the best way, but one option is to detect the device information and have the app use the correct implementation for the device it detects. The downside to this would be having to make the app multiple times and store all of them in the application, making it rather bloated unnecessarily. This could be avoided by providing different download links for different devices, or using some of the advice they list on the site here:
Designing and developing for different BlackBerry devices and software versions
Upvotes: 3
Reputation: 3666
Generally try to do a few things:
layout
method of your screens/fields. This method should only be called once (or a very few number of times) so any computationally intensive stuff can safely be done there. Really it's not bad if you keep a few things in mind - definitely easier to design this way from scratch than to fix up an app that's been designed for one resolution.
Also one last tip: if you have a graphic/UI designer, get them to do at least 2-3 mockups for different resolutions. It'll get them thinking about the challenges involved too.
Upvotes: 9