Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Testing and Deployment

The reason a reset is required when upgrading an application

by Retired ‎02-16-2010 01:06 PM - edited ‎02-17-2010 04:34 PM (4,498 Views)

Summary


This article applies to the following:

  • BlackBerry® Device Software 4.0 and later


Details


When performing an application upgrade over the wireless network, the BlackBerry device user may be prompted to restart the BlackBerry device for the upgrade to complete. The application developer has minimal influence over whether or not a reset is required, other than to completely terminate the application prior to performing the upgrade. In general, no action is required from the application developer because these reset prompts are normal for the BlackBerry device and provide a clean operating environment.


The following list provides the most common causes for BlackBerry device reset prompts when upgrading an application:

  1. An application thread is running from one of the COD files to be updated.
  2. The application defines a dependency between a native class and one of its classes, possibly by a listener.
  3. The application contains a live reference to a large array or large String that cannot be copied.
  4. The application contains a live reference to a transient object.
  5. The application contains a live reference to a persistent object.
  6. The virtual machine (VM) detects another application's dependence on one of the application's COD files, possibly by a COD file defined as a library.
  7. The application is very large and/or contains many sibling COD files, resulting in the need for some complex linking operations that are only performed during startup.
Contributors
Users Online
Currently online: 26 members 2,883 guests
Please welcome our newest community members: