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: 342
Registered: ‎09-28-2009
My Device: Not Specified

white screen after placing a call with platformRequest

Howdy, folks.

 

I have midlet application that I've ported over to the BB.  One of its features is to place a phone call, which I achieve by using "midlet.platformRequest("tel:"+tel);".  However, after the call is placed, the user sees a white screen.  Does anyone know how to fix this?

 

Thanks,

Joseph

Developer
Posts: 342
Registered: ‎09-28-2009
My Device: Not Specified

Re: white screen after placing a call with platformRequest

Just to let you know, I've solved this.  Apparently, this has to do with the way canvas repaints are done...I had an optimization that would cause the screen to stop redrawing when the interface is static.  When the call ended, I guess the screen was cleared by the vm, and thus it wouldn't redraw until the user did something.  I simply forced it to redraw that screen at set intervals, and the problem was resolved.