This site is no longer active and is available for archival purposes only. Registration and login is disabled.

PocketHAL 1.0.3 Released


PocketHAL 1.0.3 Released

Postby Kzinti » Nov 7, 2007 @ 7:26am

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.
Last edited by Kzinti on Dec 6, 2007 @ 6:13am, edited 1 time in total.
Kzinti
pm Member
 
Posts: 3238
Joined: Jan 13, 2002 @ 5:23am


Postby Cardinal » Nov 7, 2007 @ 8:43pm

Oh I was SO hoping you would nail down the button/orientation issue.

You da man!
Cardinal
pm Member
 
Posts: 53
Joined: Feb 6, 2006 @ 5:39am
Location: Ottawa, Ontario


Postby hrissan » Nov 12, 2007 @ 8:58am

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...
hrissan
pm Member
 
Posts: 30
Joined: Mar 10, 2007 @ 1:38pm


Postby Kzinti » Nov 12, 2007 @ 7:47pm

Kzinti
pm Member
 
Posts: 3238
Joined: Jan 13, 2002 @ 5:23am


1/4 screen on the x51v

Postby smachado » Nov 14, 2007 @ 11:17pm

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.
smachado
pm Member
 
Posts: 5
Joined: Aug 26, 2006 @ 3:43pm


Postby Kzinti » Nov 15, 2007 @ 3:11am

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)?
Kzinti
pm Member
 
Posts: 3238
Joined: Jan 13, 2002 @ 5:23am


Postby smachado » Nov 15, 2007 @ 8:50pm

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.
smachado
pm Member
 
Posts: 5
Joined: Aug 26, 2006 @ 3:43pm


Postby hrissan » Nov 16, 2007 @ 1:40pm

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?
hrissan
pm Member
 
Posts: 30
Joined: Mar 10, 2007 @ 1:38pm


Postby Kzinti » Nov 16, 2007 @ 6:16pm

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?
Kzinti
pm Member
 
Posts: 3238
Joined: Jan 13, 2002 @ 5:23am


Postby smachado » Nov 16, 2007 @ 11:21pm

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
smachado
pm Member
 
Posts: 5
Joined: Aug 26, 2006 @ 3:43pm


Postby Kzinti » Nov 17, 2007 @ 12:21am

It's great you found a workaround. I never tested with subsytem > 4.20. I consider this a bug and will fix it.
Kzinti
pm Member
 
Posts: 3238
Joined: Jan 13, 2002 @ 5:23am


Postby Kzinti » Nov 17, 2007 @ 7:16am

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).
Kzinti
pm Member
 
Posts: 3238
Joined: Jan 13, 2002 @ 5:23am


Postby hrissan » Nov 19, 2007 @ 2:07pm

hrissan
pm Member
 
Posts: 30
Joined: Mar 10, 2007 @ 1:38pm


Postby Dan East » Nov 19, 2007 @ 3:17pm

User avatar
Dan East
Site Admin
 
Posts: 5264
Joined: Jan 25, 2001 @ 5:19pm
Location: Virginia, USA


Postby Kzinti » Nov 19, 2007 @ 6:07pm

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!
Attachments
PocketHAL_ARM.zip
RC for Blackjack orientation problem + logging enabled.
(64.91 KiB) Downloaded 1089 times
Kzinti
pm Member
 
Posts: 3238
Joined: Jan 13, 2002 @ 5:23am


Next

Return to PocketFrog & PocketHAL


Sort


Forum Description

SDKs for fast and robust device-independent access to Pocket PC display hardware.

Moderators:

sponge, Kzinti

Forum permissions

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

cron