Page 1 of 2
PocketHAL 1.0.3 Released

Posted:
Nov 7, 2007 @ 7:26am
by Kzinti
PocketHAL 1.0.3 is available.
- Nailed down orientation issues with input
- Speeded up initialization on WM2003 SE devices
- More details inside the readme.
You can download PocketHAL here:
http://www.droneship.com/downloads.html
Donators can obtain the registered copy (without the logo/banner) by e-mailing us.

Posted:
Nov 7, 2007 @ 8:43pm
by Cardinal
Oh I was SO hoping you would nail down the button/orientation issue.
You da man!

Posted:
Nov 12, 2007 @ 8:58am
by hrissan
Dear Kzinti!
You promised GetShellOrientation() and possibly GetShellResolution() which work correctly on "weird" devices...
Without that functions we cannot get behavior we need - start in the same orientation as shell and then follow it when it changes.
Or start always in portrait (or landscape, depending on product) and ignore shell rotations...

Posted:
Nov 12, 2007 @ 7:47pm
by Kzinti
1/4 screen on the x51v

Posted:
Nov 14, 2007 @ 11:17pm
by smachado
I detected a problem running the new PHAL on x51v. It had the stylus problem in the PHAL 0 7 but it emulated for the 640x480 on x51v. The stylus problem got solved in the PHAL 1 0 but now (with no code changes, in my project) it display in a 1/4 screen on the x51v.

Posted:
Nov 15, 2007 @ 3:11am
by Kzinti
smachado: just to make sure I understand your problem correctly, are you saying that:
1) The display is 480x640 but the stylus input is 240x320
or:
2) The display is rendering at 240x320, using 25% of the actual screen and the stylus input is 480x680
or:
3) Something else?
I will test 1.0.3 on my Axim x50v and see if I can find a problem.
Also, are you using the device in emulation mode (240x320) or hi-res DPI aware (with the CEUX resource, 480x640)?

Posted:
Nov 15, 2007 @ 8:50pm
by smachado
Kzinti hi
display 480x640 on x51v
with 0.7 it renders ok (100%)
with 1.0.3 it renders on 25%
With both PHAL Builds:
No resources on the project.
Compiled for WM5, so the subsystem > 4.20
I'll try changing the proj options for Pocket PC 2003 (ARM) (subsystem 4.20) and test, i'll post tomorrow.

Posted:
Nov 16, 2007 @ 1:40pm
by hrissan
Dear Kzinti!
I have the problem running on Samsung Blackjack!
I set orientation to PHAL::GetShellOrientation() and I expect it to run in Normal orientation 320x240...
But it runs rotated (in 240x320), I have checked and found that PHAL::GetShellOrientation() returns ORIENTATION_ROTATE90CCW...
So GetShellOrientation works wrong on Samsung Blackjack... Or I do not understand something?

Posted:
Nov 16, 2007 @ 6:16pm
by Kzinti
GetShellOrientation() should return ORIENTATION_NORMAL in 320x240 mode on the Blackjack.
Initializing PocketHAL with ORIENTATION_NORMAL should keep PocketHAL in 320x240.
So is the problem with GetShellOrientation() (that doesn't return ORIENTATION_NORMAL) or initializing PocketHAL with ORIENTATION_NORMAL? Can you narrow it down for me?

Posted:
Nov 16, 2007 @ 11:21pm
by smachado
Kzinti Hi !
i fixed my problem with x51v and the emulation mode
i lowered the subsystem to 4.20 on my project's linker options:
/subsystem:windowsce,4.20 /machine:THUMB
works fine with PHAL 1.0

Posted:
Nov 17, 2007 @ 12:21am
by Kzinti
It's great you found a workaround. I never tested with subsytem > 4.20. I consider this a bug and will fix it.

Posted:
Nov 17, 2007 @ 7:16am
by Kzinti
I have done some testing with my Axim x50 and I can't reproduce your problem:
1) If I leave subsystem <= 4.20, I get a 240x320 screen
2) If I use subsystem = 5.00, I get a 480x640 screen
This behaviour is correct.
I have also verified that the input is on the right scale in each case (it is).

Posted:
Nov 19, 2007 @ 2:07pm
by hrissan

Posted:
Nov 19, 2007 @ 3:17pm
by Dan East

Posted:
Nov 19, 2007 @ 6:07pm
by Kzinti
hrissan: sorry, you were clear and I didn't read your post properly. It sounds like the device has the same problem as the Motorola Q with reporting shell orientation. Please try the attached lib and let me know if this fixes your problem.
The attached lib also has logging enabled (it will create a log file in the root of the filesystem).
smachado: if you are still around, can you try this version with subsystem=windowsce,5.0 and send me / post the log? Thanks!