|
Latest version 1.6.1 Download the latest pstros package Download interface doc |
|
2009.9.3: version 1.6.1 - support for setting the size and height of the fonts. Define following parameters on the command line to set-up corresponding font size (the example shows the default values): -device.fontSizeSmall=10 -device.fontSizeMedium=12 -device.fontSizeLarge=14 If you need to adjust the height (in pixels) that is returned from the font.getHeight() then specify following parameters: -device.fontHeightSmall=xxx -device.fontHeightMedium=xxx -device.fontHeightLarge=xxx Xxx is the number specifying the height in pixels. The number will be returned from the font.getHeight() method call. Note: the parameters can be stored in the device configuration file too. - fixed an Image loading bug when image is loaded from http stream (thanks to Ignacio C.) |
|
2008.11.16: version 1.6.0 - support for loading of the resources from the system class loader. Define following parameter on the command line to enable it: -Djava.system.class.loader=ole.pstros.utils.JarClassLoader This will fix most errors complaining that resource cannot be loaded, or errors that throw Null pointer exception during loading. Note: You don't need this parameter if your programs use sensible way of loading resources from the classes you made. - support for screen size change. It simulates rotation of the display that some of the new phones use. Press F4 to resize your display, press it again to get the original screen size. If a Canvas instance is displayed then size change notification is sent to the canvas. - sound bug fixes related to sound locking in some ocasions. - fixed Canvas.repaint(x,y,w,h). Now it sets correct clip region to the Graphics object passed to paint() method. Visualy repainted area on the screen is limited to this region as well. - fixed some widget related bugs (still not perfect though..) |
|
2008.06.09: http connection provider - implemented http connection provider (thanks to the microemulator team). Download the httpcp.jar and use it with the pstros this way: java -Xbootclasspath/a:pstros.jar;httpcp.jar;MyGame.jar ole.pstros.MainApp -CGameMidlet -rcp=ole.pstros.io.HttpConnectionProvider; Note the -rcp parameter: this registers the class of the connection provider. Beyond the semicolon you may pass the proxy host and port like that: -rcp=ole.pstros.io.HttpConnectionProvider;proxyHost=192.168.100.1;proxyPort=8080 Source code for the connection provider is included in the jar archive. |
|
2007.03.25: version 1.5.9 - implemented collision of the Sprite and TiledLayer (both collision rectangle and pixel level). Tested on Rollo game. |
|
2007.03.16: version 1.5.8 - support for external libraries implementing the Connector functionality - implemented file connection - bug fixes and imlementation of some missing methods |
|
2006.10.XX: version 1.5.6 - support for pointer events - support for device screen brightnes: parameter -gamma - bug fixes (exception throwing according the spec, missing methods) |
|
2006.10.12: version 1.5.5 - unreleased - support for running midp apps in applet viewer / web browser - empty implementation of the io interfaces |
|
2006.09.02: version 1.5.4 - fixed sprites - fixed serviceRepaints bug |
|
2006.07.02: version 1.5.2 - fixed class monitor, added support for arrays - added zoom,distance and color viewer (Alt+d or RMB) - fixed drawRGB method, fully opaque pixels are drawn if alpha processing is disabled |
|
2006.06.09: version 1.5.0 - added partial support for VSCL, CJSP, Samsung empty api - added class monitor - fixed sprite and drawRegion transformations |
|
2006.04.29: version 1.4.7 - fixed rendering of the semitransparent polygons and triangles - speedup of the rendering of semitransparent polygons and triangles - fixed bug of a clip size set on the graphics object aquired from image - list with null text no longer crashes |
|
2006.04.15: version 1.4.6 - initial public release |