On Tue, May 11, 2010 at 5:56 PM, mcvetyty <[email protected]> wrote:
> 1) I want to ensure I am using a current 'fixed' location and not > a previously stored one, so I am trying to avoid using getLastKnownLocation, > but cannot seem to figure out the alternate to this? > That's not really a question ... > 2) What is the best way to display a "please wait" message or something > along those lines while the GPS service is attempting to get a fix (and > ideally periodically allow the user to cancel out)? > "Best" is debatable - but you could use an AsyncTask that does whatever it is you need your GPS fix for and include getting a fix as one of it's steps, during which time you show an indeterminate progress dialog that says "Getting your current location ... please wait..." or something. That's what I do when the last known location will not suffice. Works well enough. ------------------------------------------------------------------------------------------------- TreKing - Chicago transit tracking app for Android-powered devices http://sites.google.com/site/rezmobileapps/treking -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

