Skip to main content

Tested phoneME Advanced - Personal Profile b89

8 replies [Last post]
jldominguez
Offline
Joined: 2008-01-02
Points: 0

Hello,

Within about ten days we are going to publish a new release of our mobile GIS application, which is intended to run on both Phoneme and IBM J9. I've been testing the "phoneME Advanced - Personal Profile b89" and the only relevant issue is the one with java.awt.Choice item height when we have 192 DPI. I don't think it can be fixed by overwritting some Java method, right? Can we do something to help you solve it? If you send me test CAB files, I promise to answer very very quickly.

Thank you very much Hinkmond and Davy for your great job,
Regards

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
jacarma
Offline
Joined: 2008-09-19
Points: 0

I also work in gvSIG Mobile. We can send to you a beta version, do you prefer a zipped eclipse workspace or the compiled application?

Davy Preuveneers

On Monday 06 October 2008 13:59:47 phonemeadvanced@mobileandembedded.org
wrote:
> I also work in gvSIG Mobile. We can send to you a beta version, do you
> prefer a zipped eclipse workspace or the compiled application? [Message
> sent by forum member 'jacarma' (jacarma)]
>
> http://forums.java.net/jive/thread.jspa?messageID=303474
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: advanced-unsubscribe@phoneme.dev.java.net
> For additional commands, e-mail: advanced-help@phoneme.dev.java.net

Hi jacarma,

A precompiled version would easier for testing, but having the sources would
be nice in case of a bug. So you can send both if you like.

Thanks,
Davy

---------------------------------------------------------------------
To unsubscribe, e-mail: advanced-unsubscribe@phoneme.dev.java.net
For additional commands, e-mail: advanced-help@phoneme.dev.java.net

jldominguez
Offline
Joined: 2008-01-02
Points: 0

Davy has solved the choice height issue in b91. We are using the WM2003 version in all devices and looks good also for DPI = 192.

Thanks,
Lucas

Davy Preuveneers

On Tuesday 30 September 2008 09:25:49 phonemeadvanced@mobileandembedded.org
wrote:
> Hello,
>
> Within about ten days we are going to publish a new release of our mobile
> GIS application, which is intended to run on both Phoneme and IBM J9. I've
> been testing the "phoneME Advanced - Personal Profile b89" and the only
> relevant issue is the one with java.awt.Choice item height when we have 192
> DPI. I don't think it can be fixed by overwritting some Java method, right?
> Can we do something to help you solve it? If you send me test CAB files, I
> promise to answer very very quickly.
>
> Thank you very much Hinkmond and Davy for your great job,
> Regards
> [Message sent by forum member 'jldominguez' (jldominguez)]
>
> http://forums.java.net/jive/thread.jspa?messageID=302489
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: advanced-unsubscribe@phoneme.dev.java.net
> For additional commands, e-mail: advanced-help@phoneme.dev.java.net

Hi Lucas,

I put a new build of b89 online in which I modified the implementation of
AwtChoice::GetDropDownHeight(). I am very much interested in what the result
would be if you run the test application you mentioned earlier:

https://correo.prodevelop.es/descarga/mobile/choice_issue/four_items.jpg

(it is possible that the height is OK but that the items still overlap)

Is your mobile GIS application available somewhere? It sounds like a test nice
application for the WinCE pMEA builds.

Cheers,
Davy

---------------------------------------------------------------------
To unsubscribe, e-mail: advanced-unsubscribe@phoneme.dev.java.net
For additional commands, e-mail: advanced-help@phoneme.dev.java.net

jldominguez
Offline
Joined: 2008-01-02
Points: 0

Hello,

I forgot to mention that you can use the Windows Device emulator to test Windows Mobile 2003/5/6 with 96/192 DPI (all combinations available)

192 DPI devices are the ones whose name ends with VGA in the device list. The emulator can be downloaded from the Windows website:

http://www.microsoft.com/downloads/details.aspx?familyid=A6F6ADAF-12E3-4...

Here is the result. Ok on Windows Mobile 5. The issue persists on Windows Mobile 2003:

https://correo.prodevelop.es/descarga/mobile/new_b89/wm5.avi
https://correo.prodevelop.es/descarga/mobile/new_b89/wm2003.avi

Font sizes are 12, 24 and 48. As you can see, the 48 pixel font on one Windows Mobile version appears like the 24 pixel font on the other Windows Mobile version.

Thank you very much.
Regards,

Davy Preuveneers

On Tuesday 30 September 2008, phonemeadvanced@mobileandembedded.org wrote:
> Hello,
>
> I forgot to mention that you can use the Windows Device emulator to test
> Windows Mobile 2003/5/6 with 96/192 DPI (all combinations available)
>
> 192 DPI devices are the ones whose name ends with VGA in the device list.
> The emulator can be downloaded from the Windows website:
>
> http://www.microsoft.com/downloads/details.aspx?familyid=A6F6ADAF-12E3-4B2F
>-A394-356E2C2FB114&displaylang=en
>
> Here is the result. Ok on Windows Mobile 5. The issue persists on Windows
> Mobile 2003:
>
> https://correo.prodevelop.es/descarga/mobile/new_b89/wm5.avi
> https://correo.prodevelop.es/descarga/mobile/new_b89/wm2003.avi
>
> Font sizes are 12, 24 and 48. As you can see, the 48 pixel font on one
> Windows Mobile version appears like the 24 pixel font on the other Windows
> Mobile version.
>
> Thank you very much.
> Regards,
> [Message sent by forum member 'jldominguez' (jldominguez)]

Hi,

Thanks for the Windows Device/VGA emulator idea. I have been able to reproduce
the Choice widget problem with a Windows Mobile 6.1 VGA (480x640) emulator
using your test code.

There appears to be a difference with requesting screen resolution and DPI
information from the OS when pMEA/PP is compiled with either eVC4 or VS2005:

* With eVC4, I always get 240x320 as resolution with 96 dpi even though the
emulator has a native 480x640 resolution with 192 dpi. I use text metrics to
get the height of the font in pixels, and the value I get is in terms of the
native resolution. If I then use that value to size the choice box, the
height seems to be interpreted in terms of a 240x320 resolution (gets
divided by two?), which means you get the overlapping entries in the drop
down box.

* With VS2005, I get the correct resolution and dpi, and the fonts do not
overlap, but the fonts are rather small and perhaps too small to read on a
real device.

I tried to fix a few things in the eVC4 build and that one seems to work now
on Windows Mobile 2003, 5 and 6, as well as on Windows Mobile 6 with VGA
resolution for different font sizes.

Font sizes on a 192 DPI display are still a problem with the VS2005 build in
the sense that the DPI is not taken into account. They get too small and text
is hard to read. For those devices, if you do not want to address this in the
application directly I would advise to use the eVC4 build instead.

Davy

---------------------------------------------------------------------
To unsubscribe, e-mail: advanced-unsubscribe@phoneme.dev.java.net
For additional commands, e-mail: advanced-help@phoneme.dev.java.net

jldominguez
Offline
Joined: 2008-01-02
Points: 0

Hi, Davy:

I have tried the WM 6.1 emulator and neither IBM J9 (for WM 5) nor pMEA b89 worked.

Some people say Skype for WM 6 does not work on WM 6.1, so I thought there was simply no compatibility, but you say you have tested pMEA on WM 6.1 and it worked?

Our application gets the DPI value and scales awt controls and fonts accordingly. Crazy but true ;-)

Thanks,
Lucas

Davy Preuveneers

On Monday 06 October 2008, phonemeadvanced@mobileandembedded.org wrote:
> Hi, Davy:
>
> I have tried the WM 6.1 emulator and neither IBM J9 (for WM 5) nor pMEA b89
> worked.
>
> Some people say Skype for WM 6 does not work on WM 6.1, so I thought there
> was simply no compatibility, but you say you have tested pMEA on WM 6.1 and
> it worked?
>
> Our application gets the DPI value and scales awt controls and fonts
> accordingly. Crazy but true ;-)
>
> Thanks,
> Lucas
> [Message sent by forum member 'jldominguez' (jldominguez)]

Whoops! I was testing with both WM 6 and 6.1. I just verified it again and the
pMEA VM compiled with eVC4 works on WM 6.1 but indeed, the one compiled with
VS2005 does not work on WM 6.1.

BTW, I have reenabled the title bar and decoration of an AWT Frame by default.
If you do not want it, just do a "setUndecorated(true);" in the constructor
of the Frame. I may need to enable this feature in java.awt.Dialog too.

Davy

---------------------------------------------------------------------
To unsubscribe, e-mail: advanced-unsubscribe@phoneme.dev.java.net
For additional commands, e-mail: advanced-help@phoneme.dev.java.net