MIDP2.0 Canvas can call SetFullScreenMode (TRUE) to set Canvas to full screen, but set to a full screen new Canvas Width & Height is not the same for different phones.
1 Motov series
After calling SetFullScreenMode (TRUE), the SIZECHANGED event will be triggered. This event accepts two parameters from the system, which is the Width & Height after the full screen of Canvas, and the new aspect can be obtained through this event.
Protected Void SizeChanged (int W, int H)
{
Width = W;
Height = h;
}
But note that this event is not synchronized, that is, if you call SETFULLSCREENMODE (TRUE), use new Width, Height, which is possible to get the result of the error.
2 SE K700
After calling SetFullScreenmode (TRUE), it does not trigger SIZECHANGED, but is a new aspect of GetWidth and GetHeight. After the SETFULLSCREENMODE call is returned immediately, so you can get the correct Width & Height
------------
I don't know much about other models.