Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9241817
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T08:26:46+00:00 2026-06-18T08:26:46+00:00

I have an Android application that uses a mock GPS location provider to feed

  • 0

I have an Android application that uses a mock GPS location provider to feed latitude/longitude coordinates into the Google Maps Navigation application. The application works fine with all pre-Android 4.2 devices, but will not work on a Nexus 10. I’ve done a bit of research today, but haven’t been able to figure out what changed.
The problem appears to be that the LocationManager is not being updated with the new coordinates. The following lines from the logcat on a device running 4.1 (the first from the LocationManager, and second from my application):

01-29 13:40:22.501: I/LocationManagerService(770): handleLocationChanged for com.abc.navigationsimulator, Provider: gps, Lat: 42.2977542, Long: -88.00421718333334, Bearing: 278.9126, Accuracy: 30.0

01-29 13:40:22.611: V/Navigation Simulator(14875): lat: 42.2977542 lon: -88.00421718333334 bearing: -81.08741 speed: 10.610382 time: 1359488422459

I only see the second line on the 4.2 device.
Does anyone know what has changed?
Thanks.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-18T08:26:47+00:00Added an answer on June 18, 2026 at 8:26 am

    It’s the blasted elapsed real time nanos
    http://developer.android.com/reference/android/location/Location.html#getElapsedRealtimeNanos%28%29

    New and improved JB 4.2 wants to use that for knowing how old the fix was. So set it using setElapsedRealtimeNanos with appropriate check that you are doing it on the right Android platform

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an application that uses the Facebook SDK for Android to login into
I have created android application that uses Google Maps, ans it works fine here
I have an Android application that uses the Android database to create tables and
I have a simple Android application that uses a JAR I have built. When
I have a Web Service and an Android application that uses this web service.
I am building an android application that uses several third party libraries. I have
I have a problem with my android application. That application which uses the kSOAP
I have an android application that uses a database created by SQLite Database Browser
I have an Android application that uses tabs. I already have the tabs, and
I have an Android library project and the main application that uses this library

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.