BlackBerry Forums Support Community
              

Closed Thread
 
Thread Tools
Old 03-23-2005, 02:51 PM   #1
dicksonw
New Member
 
Join Date: Mar 2005
Posts: 3
Default UI Design - Programming for various Blackberry models

Please Login to Remove!

Hi, I'm been writing blackberry apps for a little while now but one of the biggest annoyances I have encountered is when deploying the app to another blackberry that has a different screen size/resolution. It seems I have to redesign the UI when ever I switch to another blackberry and so I'm wondering is there a easier way to do this? or if I'm doings something wrong.
I'm using my own custom draw manager where I can specify the x and y coordinates to place the fields (this is probably my problem) but I don't see any other way that will give me the same flexbility and control over the screen.

Thanks.
Offline  
Old 03-24-2005, 01:56 PM   #2
Mark Rejhon
Retired BBF Moderator
 
Mark Rejhon's Avatar
 
Join Date: Aug 2004
Location: Ottawa, Ontario, Canada
Model: Bold
Carrier: Rogers
Posts: 4,870
Default

If you need to use a co-ordinate system, there's many workarounds if you're willing to do a little bit of extra programming...

Try developing some kind of auto-aligning system, with top/bottom/left/center/right alignment flags. That way, you can specify a graphics item to be aligned with the bottom of the screen.

Another method is to use a virtual co-ordinate system, like 1000 by 1000 pixels, and scale gracefully to the BlackBerry resolution. So Pixel position (500,500) translates to the center of the screen.

One of the things I developed with my home theater career, was a virtual co-ordinate system for resolution-independent user interface displays, so I am pretty experienced with using co-ordinates gracefully on displays of unpredictable resolution...
__________________
Thanks,
Mark Rejhon
Author of XMPP extension XEP-0301:
www.xmpp.org/extensions/xep-0301.html - specification
www.realjabber.org - open source
Offline  
Closed Thread


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


EEPROM BIOS USB Programmer CH341A + SOIC8 Clip + 1.8V Adapter + SOIC8 Ad Hot picture

EEPROM BIOS USB Programmer CH341A + SOIC8 Clip + 1.8V Adapter + SOIC8 Ad Hot

$16.39



CH341A SOIC Clip Socket 1.8V 3.3V USB EEPROM Flash BIOS Repair Programmer picture

CH341A SOIC Clip Socket 1.8V 3.3V USB EEPROM Flash BIOS Repair Programmer

$16.88



(1 Piece) Authentic Atmel AT28C64B 64K  (8K x 8) EEPROM 28 Pin DIP New picture

(1 Piece) Authentic Atmel AT28C64B 64K (8K x 8) EEPROM 28 Pin DIP New

$10.95



CH341A EEPROM Flash BIOS USB Programmer Kit with SOP8 Clip picture

CH341A EEPROM Flash BIOS USB Programmer Kit with SOP8 Clip

$12.21



USB Programmer CH341A 24 25 Series Flash EEPROM BIOS Repair Tool picture

USB Programmer CH341A 24 25 Series Flash EEPROM BIOS Repair Tool

$12.88



CH341A Programmer EEPROM BIOS SOP8 Clip Flasher Writer Repair Tool picture

CH341A Programmer EEPROM BIOS SOP8 Clip Flasher Writer Repair Tool

$17.22







Copyright © 2004-2016 BlackBerryForums.com.
The names RIM © and BlackBerry © are registered Trademarks of BlackBerry Inc.