• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Simulating location change in Nokia emulator..

 
Monu Tripathi
Rancher
Posts: 1369
1
Android Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am trying to write a simple program that can display current location of the device. Using the tourist route example on the Nokia site(found here), I was able to get a handle on the LocationProvider (using default criteria) and also was able to register a Listener that would get updated location information.

But when I run my code, and print the latitude and longitude of updated location, I get 0.0 and 0.0 respectively, everytime. I suspect, location changes can be emulated by, maybe, providing a file to the emulator on startup? (atleast that is the way it is done on Android..)

I think I read something about PSY files and NMEA format and am still searching..If you've tried this out, please help me.
I am using S60 SDK 3rd edition (supporting FP1).

Thanks.
 
Monu Tripathi
Rancher
Posts: 1369
1
Android Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Got the answer on this page.


Thanks!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic