Deploying to a device

Deploy test packages onto your mobile device, using a USB cable, Bluetooth connection, infrared, or other hardware compatible connection. Alternatively, deploy the application using OTA technology.

For instructions on how to do this, see section Deploying MIDlets to a device.

Note: Since memory is a real concern when rendering SVG and animation in Series 40, the following tips may prove to be helpful to the application developer:

  • If the application is intended to render more than one SVG file, then is advisable to create an instance of the ScalableGraphics and hold a reference to it for the entire life of the MIDlet. (This will save the MIDlet some time of initializing the native environment each time a new SVG document is played)

  • Once an SvgImage is not required anymore by the MIDlet, make sure that the instance is null as soon as possible and also that the SvgDocumentImpl instance is not referenced anywhere else.