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
Developer
Posts: 723
Registered: ‎03-12-2009
My Device: Playbook

Annoying Storm bug with HorizontalFieldManager and scrolling

 

 

hfm = new HorizontalFieldManager(HorizontalFieldManager.HORIZONTAL_SCROLL | HorizontalFieldManager.HORIZONTAL_SCROLLBAR);

 

This piece of code throws an exception with an effect of "Bitmap is too large".   The same code works correctly on 4.2.x, 4.3, 4.5, 4.6 and 4.7.1 (tour) OSes.   

 

Is there a workaround for this?  Known issue?   Is there a way to enable horizontal scrolling on the Storm?

 

BlackBerry Development Advisor
Posts: 15,698
Registered: ‎07-09-2008
My Device: BlackBerry PRIV
My Carrier: Bell

Re: Annoying Storm bug with HorizontalFieldManager and scrolling

What BlackBerry handheld software version are you testing on?  You can find this under Options, About on the BlackBerry Smartphone.  Are you using the BlackBerry Simulator or a real BlackBerry Storm?
Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Problem solved? Click the Accept As Solution button.
Found a bug? Report it using Issue Tracker
Developer
Posts: 723
Registered: ‎03-12-2009
My Device: Playbook

Re: Annoying Storm bug with HorizontalFieldManager and scrolling

This occurs under both the simulator and original VZ OS plus the latest OS for VZ Storm.  (Don't have device at hand at the moment to confirm exact version numbers).

 

 

 Thank you.

BlackBerry Development Advisor
Posts: 15,698
Registered: ‎07-09-2008
My Device: BlackBerry PRIV
My Carrier: Bell

Re: Annoying Storm bug with HorizontalFieldManager and scrolling

I haven't been able to reproduce this.  Can you post a larger code sample that triggers this exception?
Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Problem solved? Click the Accept As Solution button.
Found a bug? Report it using Issue Tracker
Developer
Posts: 723
Registered: ‎03-12-2009
My Device: Playbook

Re: Annoying Storm bug with HorizontalFieldManager and scrolling

Hi, the error occurs on that line, the constructor crashes out.   That line is called in class extending MainScreen as a third line of code after calling super and setting the title.   Super is called with Default Menu and Default Close flags.

 

I will try to get a more detailed report with detailed error soon.

 

Thank you.

Developer
Posts: 723
Registered: ‎03-12-2009
My Device: Playbook

Re: Annoying Storm bug with HorizontalFieldManager and scrolling

http://supportforums.blackberry.com/rim/board/message?board.id=java_dev&message.id=30994&query.id=13...

 

In this post the user is having exactly the same issue.  He posts some more details.