setCurrent() forces my midlet to foreground?

Hi,

When my midlet goes into the background, I still have a thread running, doing some work. Sometimes it tries popping up a notification by eventually calling setCurrent().

On my test blackberry device, the call to setCurrent() actually forces my application into the foreground again. Is there any way to block that from happening, other than coming up with my own system of catching calls to setCurrent() and ignoring them while in the background?

Thanks
DJ_AM_JuiceboxAsked:
Who is Participating?
 
CodeFishConnect With a Mentor Commented:
Try doing a conditional  setcurrent(null) if it is in the background. That's all i can think of. Hope it helps.
0
All Courses

From novice to tech pro — start learning today.