File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Java Micro Edition and the fly likes Question about screen size and record store Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Mobile » Java Micro Edition
Bookmark "Question about screen size and record store" Watch "Question about screen size and record store" New topic
Author

Question about screen size and record store

HaoZhe Xu
Ranch Hand

Joined: Nov 03, 2003
Posts: 222
Many Nokia phones have screen size 128x128, but the emulator has a larger screen, so can I set the emulator's screen size by myself?
and, the midp provides functionalities to load images/audio, but if i write a game, i may need to load a map file that is generated by my mapeditor, so how to do this? I don't believe those role-play game's maps are hardcoded.


[url]Olnex.net[/url]
[SCJP 1.2, SCJD, SCWCD]
Michael Yuan
author
Ranch Hand

Joined: Mar 07, 2002
Posts: 1427
The Nokia Series 40 emulators have 128x128 screens. Download them from Forum.Nokia.com


Seam Framework: http://www.amazon.com/exec/obidos/ASIN/0137129394/mobileenterpr-20/
Ringful: http://www.ringful.com/
Yuri Magrisso
Ranch Hand

Joined: Sep 13, 2003
Posts: 58
If you are using the Wireless Toolkit from Sun you can also change the properties of a particular device.

In the folder where you installed the Wireless Toolkit there is a folder called 'wtklib\devices'. There you have the folders of all devices (skins) that the emulator uses.
In the folder of each of those devices (say 'DefaultColorPhone') you have a properties file (DefaultColorPhone.properties).

In that file you can set the screen size and many other properties.
HaoZhe Xu
Ranch Hand

Joined: Nov 03, 2003
Posts: 222
Thanks a lot.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Question about screen size and record store