I'd like to have a direct access to the screen on
a Nokia 7650. (I'm using the Nokia Series60 SDK v0.9)
Here is a sample code I'm using to display some pixels :
TUint8 *pScreenAddress = STATIC_CAST(TUint8 *,screenInfo.iScreenAddress);
for (int j = 80; j < 140; j++)
for (int i = 0; i < 176; i++)
*(pScreenAddress + 2*(16 + i + j*176)) = i/8 + j;
The result is correct on a 9210 device (with 9200 SDK v1.2).
On a 7650 device, result is strange. Nothing is displayed inside
the loop, but if I open a Menu, therefore my rectangle is displayed.
It seems there is a kind a double buffering in the 7650 but not in the 9210.
Difficult to find any documentation about the TScreenInfoV01 !
Do you have any idea ?
RE: Use of TScreenInfoV01 on Nokia 7650 ...
The best way for direct screen access is to use the API for it. CDirectScreenAccess works as fast as using CFbsBitmapDevice and CFbsBitGc. In fact it is the same thing, except that now you are working with the Window Server and there are no complications that would normally come up.
There is a good document and an example on direct screen access at
And there see
How to implement Direct Screen Access with a Series 60 App
How to find the screen size of Nokia 7650?