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 6647015
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T00:29:15+00:00 2026-05-26T00:29:15+00:00

Right now, I only know of one method to do this: – Get last

  • 0

Right now, I only know of one method to do this:
– Get last known location
– Have the location manager request location updates

However, I really only need to get the CURRENT coordinates ONCE right when the application is called, but it’s not doing what I want.
What’s the simplest way to get the current coordinates? Is there something I could call or some code I could use just to get the location RIGHT NOW ?

thanks in advance! I’m still a little new with android development.

  • 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-26T00:29:15+00:00Added an answer on May 26, 2026 at 12:29 am

    What’s the simplest way to get the current coordinates?

    There is no way to get the current coordinates on demand.

    Is there something I could call or some code I could use just to get the location RIGHT NOW ?

    No, for three related reasons:

    1. Not all location technologies are low power. GPS, for example, is a serious battery hog. Hence, GPS is not powered on unless something is actively seeking a GPS fix.

    2. Not all location technologies are instantaneous. GPS, for example, takes some number of seconds to get a fix after being powered on.

    3. No location technology is universally available. GPS, for example, may be unavailable because you are in a large building.

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

Sidebar

Related Questions

I have a Utils unit in my app which, as of right now, only
Right, I know I am totally going to look an idiot with this one,
I've got a MySQL database that stores image information. Right now it only has
I'm using the facedetect example and going from there. Right now it only detects
I am working on an in-place HTML editor, concentrating on Firefox only right now.
I'm learning MVVM right now. Since I've seen many tutorials or projects use only
I've got an app that's in invite-only beta right now. Problem is, I can't
Right now I have an upload field while uploads files to the server. The
Right now, I have: RewriteRule ^([^/\.]+)?$ index.php?id=$1 [L] to match any username at the
Right now when I run this it keeps clicking on the same button every

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.