Please note that as of October 24, 2014, the Nokia Developer Wiki will no longer be accepting user contributions, including new entries, edits and comments, as we begin transitioning to our new home, in the Windows Phone Development Wiki. We plan to move over the majority of the existing entries. Thanks for all your past and future contributions.

Archived:Calling LocationProvider.getLocation() periodically may result in device lock-ups with Nokia 6110 Navigator (Known Issue)

From Wiki
Jump to: navigation, search

Archived.pngArchived: This article is archived because it is not considered relevant for third-party developers creating commercial solutions today. If you think this article is still relevant, let us know by adding the template {{ReviewForRemovalFromArchive|user=~~~~|write your reason here}}.

Calling getLocation(int timeout) regularly may result in device lock-up in the Nokia 6110 Navigator.

Article Metadata
Tested with
Devices(s): Nokia 6110 Navigator, Unverified: E71, N79, N95
Platform(s): S60 3rd Edition, Feature Pack 1
S60 3rd Edition FP1
Created: User:Technical writer 1 (29 May 2008)
Last edited: hamishwillee (26 Jun 2013)


Calling LocationProvider.getLocation(int timeout)] periodically may result in the method to block forever regardless of the timeout value, which in turn results in a lock-up behavior in form of slow overall device performance even when the MIDlet has been exited. Attempts to access GPS by using another MIDlet or a native GPS application, such as GPS data, result in the device to hang. The device must be power cycled to resume normal operations.

How to reproduce

  1. Implement a test MIDlet using source code from
  2. After installing the test MIDlet, use App. Manager to change Settings for Positioning to Ask first time.
  3. Start the MIDlet and set the timing parameters. For example, set the timeout to 1 second.
  4. Select "Start Sync" to begin sampling using getLocation().
  5. Get a GPS fix and wait.
  6. Reproducing this problem may take time, for example, with 1 second as the initial timeout value, this may take up to 900 seconds to appear. The display will stop updating when the MIDlet eventually hangs, signaling the result lock-up state.
  7. Try launching "GPS Data" and other applications on the device. In the lock-up state, the device will launch applications sluggishly and GPS applications will hang.


No known solution.

This page was last modified on 26 June 2013, at 05:48.
56 page views in the last 30 days.