Before, i only develope App on Sony and Samsung. But now, i wanna try with Nokia Series60 but my app cannot use FullScreen. Please show me how to use full canvas...
Before, i only develope App on Sony and Samsung. But now, i wanna try with Nokia Series60 but my app cannot use FullScreen. Please show me how to use full canvas...
Hi,
u need to include the SetExtentToWholeScreen(); function in your container's ConstructL() function as follows:
void MyContainer::ConstrucL(const TRect& aRect)
{
CreateWindowL();
// Take the whole screen into use
SetExtentToWholeScreen();
...
SetRect(aRect);
ActivateL();
}
hope this will help
Abolfoooud
Somehow, I don't think C++ code is going to help this programmer with a Java problem.
To use FullCanvas, you have to import the right package:
Then change your code so that you extend FullCanvas instead of Canvas. Note that you cannot use Commands with FullCanvas, so calls to addCommand() or setCommandListener() will fail.Code:import com.nokia.mid.ui.*;
Graham.