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

Java Development

Reply
Regular Contributor
Posts: 96
Registered: ‎06-09-2011
My Device: sdk 9800
My Carrier: java development

Re: Adjusting the image size for different simulators

yaa .......for the button field u can override the getPrefferedWidth and getPrefferedHeight methods and u can set the height and width as like u want

Press the Kudos button (star) on the left side to thank and
please mark the Thread as solved if its solved...


Thanks and Regards
Nagarjuna
Contributor
Posts: 28
Registered: ‎07-06-2011
My Device: 9800
My Carrier: blackberry developer trainee

Re: Adjusting the image size for different simulators

Now im giving by that method only

But for each simulator i have to give separate values 

 

Regular Contributor
Posts: 96
Registered: ‎06-09-2011
My Device: sdk 9800
My Carrier: java development

Re: Adjusting the image size for different simulators

the dimensions are different from each and every simulator.....first u work with one simulator ...and there is no way to adjust the image size automatically in other simulators

Press the Kudos button (star) on the left side to thank and
please mark the Thread as solved if its solved...


Thanks and Regards
Nagarjuna
Contributor
Posts: 28
Registered: ‎07-06-2011
My Device: 9800
My Carrier: blackberry developer trainee

Re: Adjusting the image size for different simulators

But I have to creat a project for blackberry, which should used for all the phones.

Highlighted
Regular Contributor
Posts: 96
Registered: ‎06-09-2011
My Device: sdk 9800
My Carrier: java development

Re: Adjusting the image size for different simulators

just give the average dimensions and check ......if the image is not fitted to the screen u just use the scroll events....

but i am not sure about the applications which will work on all simulators....

Press the Kudos button (star) on the left side to thank and
please mark the Thread as solved if its solved...


Thanks and Regards
Nagarjuna