maGetScrSize()

2 posts / 0 new
Last post
Takhaar
Takhaar's picture
Offline
Joined: 30 Jun 2010
Posts:
maGetScrSize()

Hi Guys,

I'm testing on a Nokia 6210 Navigator.

When using the maGetScrSize() method, the MA_PROF_CONST_SCREENSIZE_X (240) and MA_PROF_CONST_SCREENSIZE_Y(320) is returned for the EXTENTS, irrespective of the device orientation. If I however install the JAR (compiled with the Nokia/Midp2Cldc11 profile), the EXTENT is returned correct: 240 x 320 in portrait, and 320 x 240 in landscape (if the phone is turned sideways).

I've tested this on MoSync r767 and r1566.

I'm not sure if this is related, but I've added another post because I cannot get the EVENT_TYPE_SCREEN_CHANGED event to be raised. Wink

Regards.

PS: MoSync is the best thing since sliced bread!!! Cool THANX

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Fredrik Eldh
Fredrik's picture
Offline
Mobile Sorcerer
Joined: 16 Feb 2009
Posts:

I'm pretty sure this is related to the SCREEN_CHANGED issue. I expect they will be resolved simultaneously.