11-05-2009 09:54 PM
I checked the doc on the internet and even the sample code in BB sdk,
it said, to set the orientaion in MIDlet, we could use code below:
DirectionControl dc = (DirectionControl)((Controllable)Display.getDispla
int directions = DirectionControl.DIRECTION_EAST;
But I got problem with this code, the (Controllable)Display.getDisplay(this)) part,
the error message is, cannot find the symbol Controllable,
I tried to import
but both faild when I loaded cod into my 9500 with alert: Class not found.
So, what should I import, if I want this work to set orientation??