Revision as of 07:32, 12 March 2012 by hamishwillee (Talk | contribs)

Archived:Location.getCourse() and Location.getSpeed() not working in S60 3rd FP1 Emulator (Known Issue)

From Nokia Developer Wiki
Jump to: navigation, search
Article Metadata
Tested with
Devices(s): Emulator
Platform(s): S60 3rd Edition, FP1
S60 3rd Edition FP1
Keywords: Location getCourse() getSpeed()
Created: schoenke (03 May 2009)
Last edited: hamishwillee (12 Mar 2012)


To get a LocationProvider that provides current speed and course, the criteria have to be set accordingly before retrieving the instance of LocationProvider:

Criteria criteria = new Criteria();
LocationProvider locationProvider = LocationProvider.getInstance(criteria);

This works fine for S60 3rd FP1 devices. But if the setSpeedAndCourseRequired criterion is set in the emulator, the call of getInstance() always returns null.

The purpose of an emulator is voided if it doesn't behave like the devices it represents.

55 page views in the last 30 days.

Was this page helpful?

Your feedback about this content is important. Let us know what you think.


Thank you!

We appreciate your feedback.