PocketMatrix forums

A read-only archive of the PocketMatrix forums (2001–2014). Posting and accounts are closed.

Smartphone screen size being detected incorrectly

Apologies if this is some compiler/linker switch I've got wrong but whilst working through the samples using the latest v2 build I'm getting the screen size detected as 320x240 rather than the Smartphone size.

This is happening on emulator as well as real phone and I'm pretty sure I've got the correct 'tpc' libraries and dll in use.

Also been trying really hard to get plasma demo up as well but only get top banner appear then app closes.

Any ideas?

TIA
peligoni: I know this has been reported previously. I will investigate it first thing tomorrow morning.
I've been experimenting further and now have plasma demo working on Smartphone emulator and real phone. Width and Height appear correct on real phone but on emulator GetWidth and GetHeight report 240x320 respectively. Double checked that I'm using tpc-em2002 for the emulator.

Thanks
Ok, the error was found and corrected. Sorry about that.. Now it correctly queries the display for width and size...
Wow..that was quick. Thanks.