PocketMatrix forums

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

Porting PF game to smartphone (Motorola Q)

Hey guys,

I've been struggling to convert my existing PF game to smartphone. Is there anything special I need to do to get the exe to run on a smartphone? I've installed the smartphone SDK but I don't see a "smartphone" target in evc4. Right now I'm building for Pocket PC 2002. When I try to run the exe on a smartphone (Motorola Q), I get an exception error. The same exe runs fine on regular pocket PC.

FYI: I originally tried to build my project with VS2005, but after spending 5 (unsuccessful) hours, I gave up.

Any help would be greatly appreciated.

Thanks!
:)
Well, I've had some success. I ended up removing the following line and the game will now run on the Smartphone:
Code:

_config.orientation = ORIENTATION_ROTATE90CCW;

However, the display is all messed up. Instead of showing the entire display (320x240) on the Motorola Q, I only see a small section in the very middle.

Image

I'm using the latest PocketHal_7_7_e with the Moto-Q fix. Is there something I need to add/remove from my code to get PocketHal to display correctly on the Motorola Q?

Thanks...