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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T20:13:55+00:00 2026-05-25T20:13:55+00:00

In the Google I/O Session on Android Pro Tips, http://www.google.com/events/io/2011/sessions/android-protips-advanced-topics-for-expert-android-app-developers.html , the speaker mentions

  • 0

In the Google I/O Session on Android Pro Tips, http://www.google.com/events/io/2011/sessions/android-protips-advanced-topics-for-expert-android-app-developers.html , the speaker mentions to register location updates using pending intents over location listener ?? Does anyone know the reason behind it ?

  • 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-25T20:13:56+00:00Added an answer on May 25, 2026 at 8:13 pm

    Location listener is an interface implemented by your class, which means that you class (and your activity/app) must be in memory (app/service must be active) to be called.

    OTOH, with pending intents OS can start a service and deliver the intent, meaning that your app does not need to be active at that time.

    So if you need to get location updates at all times, then use pending intents. They will wake your app and deliver the intent. You should use this with a Service, so that a service is started and does the required work in the background.

    But if you only need location updates while your app is active then use location listener. Where you implement the listener is up to your architecture.

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

Sidebar

Related Questions

I'm following this guide: http://code.google.com/intl/it-IT/apis/documents/docs/2.0/developers_guide_java.html I just need to retrieve a token and use
To all, If you watch the Google IO session on building Android REST apps
I am trying to learn a few things from http://code.google.com/p/iosched/source/checkout . I wanted to
i'm trying to use C2DM client with this tutorial:http://www.vogella.de/articles/AndroidCloudToDeviceMessaging/article.html I'm using this code for
This question is regarding Google bots and what they actually do with session variables,
I am having trouble upgrading my session token in google app engine if my
How can I determine if an ETW session is dropping events? If it is
I just enabled Session in my Google AppEngine/Java + GWT application. And how do
My problem occur after getting the session token from Google SECURELY Here's what I
I want to create an android activity for setting up an SSH Session with

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.