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

  • SEARCH
  • Home
  • 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 4321194
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T08:43:00+00:00 2026-05-21T08:43:00+00:00

On an Android 2.2 emulator, loading a blank page with the following script fails:

  • 0

On an Android 2.2 emulator, loading a blank page with the following script fails:

navigator.geolocation.getCurrentPosition(
          function(pos){
            var lat = pos.coords.latitude;
            var lon= pos.coords.longitude;
            alert('success ' + lat + ',' + lon);
          },
          function(){
              alert('geoloc test FAILED');
          }
        );

Specifically, it causes the error:

I/Database(  306): sqlite returned: error code = 14, msg = cannot open file at source line 25467

I’ve added pretty much every geo-related permission I can find to the manifest:

<uses-permission android:name="android.permission.ACCESS_GPS" />
<uses-permission android:name="android.permission.ACCESS_ASSISTED_GPS" />
<uses-permission android:name="android.permission.ACCESS_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_LOCATION_EXTRA_COMMANDS" />
<uses-permission android:name="android.permission.ACCESS_MOCK_LOCATION" />

I’m not sure what else I can do! I’ve been at this for hours with no progress – any insight would be greatly appreciated.

(I am able to view my location in the emulator browser after sending geo fix)

  • 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-05-21T08:43:01+00:00Added an answer on May 21, 2026 at 8:43 am

    According to the phonegap mailing list, this error is normal and can be safely ignored. All Android devices 2.X onwards have geolocation built into the browser.

    A possibly helpful note: when testing geolocation, it helped me a lot to use DDMS to set a fake location, or simply telnet to localhost:5554 and run the command geo fix 50.0 50.0, for example, to set mock gps lat/long coords to (50, 50).

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

Sidebar

Related Questions

I want to display one static HTML page in my android emulator.
Android Emulator Icon in windows 7 does not show in TaskBar..see my Image... I
I am using the Android Emulator to debug my application, first off it is
Possible Duplicate: Slow Android emulator I am using Eclipse to load the Android project
I am trying to set up an Android emulator to do some playing around
Starting with Android SDK Tools rev 17 the Android emulator supports using the hardware
I'm using google api 15 on android emulator. I want to specify a country
I try to send gps longitude and latitude to the android emulator with eclipse,
This is pretty simple: I'm using NetBeans on Linux with Android emulator 1.6. I
I am developing a small application on Google's android emulator. I am trying to

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.