BlackBerry Forums Support Community               

Closed Thread
LinkBack Thread Tools
Old 09-04-2007, 08:59 AM   #1 (permalink)
Knows Where the Search Button Is
Join Date: Aug 2007
Model: 8100
Carrier: cingular
Posts: 33
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default OutofMemory Error with pushContext/pushRegion

Please Login to Remove!


I want to have clipped region similar to used in j2me(setClip and clipRect)

For this i'm using pushContext and pushRegion.

But, I'm getting OutofMemory error with them.

The code does this in a while loop which can run like 500 times and every time both these methods will be called simulataneously.

Is there anything that i can try to get out of it OR is there any other alternative for setClip in blackberry.


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