Namespaces
Variants
Actions

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

Jump to: navigation, search
Archived.png
Archived: 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

Compatibility
Platform(s): S60 3rd Edition, Feature Pack 1

Article
Created: User:Technical writer 1 (29 May 2008)
Last edited: hamishwillee (15 Jun 2012)

Description

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 http://www.developer.nokia.com/Community/Discussion/showthread.php?127120-JSR-179-serious-bug-in-getLocation-implementation&s=4f0d07e55ff730bd87626acfdf1609ca&p=387632
  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.

Solution

No known solution.

This page was last modified on 15 June 2012, at 09:59.
277 page views in the last 30 days.
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved