Hi,
I am using LWUIT framework as JME GUI. I was able to run the example for LWUIT and it works fine on the emulator. Also I downloaded in on the device (Samsung OMNIA HD I8910). The application functions very well and customized the example to suite my need. The only issue I am having is with the text really. First the Traffic Counter is showing but can't be read because is like italic fuzzy style and not clear, and the same for the logo (OpenStreetMap and Yahoo) logos they are the same (fuzzy italic style). I initialized MapComponent like this to suite my screen size:
map = new MapComponent("abcdtrial", "Nutiteq", "Mapper", Display.getInstance().getDisplayWidth(),
Display.getInstance().getDisplayHeight(), new WgsPoint(24.764580, 59.437420), 9);
I thought the problem might be because of the screen size but it is not. I did try with the default screen size 200, 200 but it is the same.
Can you please help me with please.
Thanks
Aiman Farhat
| Attachment | Size |
|---|---|
| StringCopyright.java | 1.53 KB |
| NutiteqDownloadDisplay.java | 3.14 KB |
I attached here the default implementation sources from library. You could use these as templates for your own ones.
It seems that the built-in fonts on the device's J2ME implementation are not ok. You should define own DownloadDisplay and Copyright classes instead of using the default ones (NutiteqDownloadDisplay and StringCopyright, respectively), and try other font faces and sizes, so they look better on the device.
/JaakL