"The LocationManager.request*Updates methods must be called from a
Looper thread, such as the main thread of an Activity. Additional
method variants have been added that take an explicit Looper argument
to allow for use outside of a main thread."

This could be the solution for my problem. Now I have to understand
what that means for me. If someone knows the solution I'm looking
forward reading it. :-)

Regards!

On 21 Aug., 15:50, code_android_festival_way
<[EMAIL PROTECTED]> wrote:
> Thank you for your response. I will try handling this in a different
> way now. If I'm struggling I will come back to your offer. :-)
>
> Regards!
>
> On 21 Aug., 15:38, Mark Murphy <[EMAIL PROTECTED]> wrote:
>
> > code_android_festival_way wrote:
> > > In M5 I only called "getCurrentLocation()" and everything was fine.
> > > Now as the methode is gone I need to set this update request to the
> > > LocationManager in order to get a not outdatet position. To achieve
> > > that I have to loop inside my "geo location" class and wait for the
> > > Listener to be invoked in order to be able to return some location
> > > from the "geo location" class.
>
> > Off the cuff, I suspect you will need to have whatever code uses
> > GeoProvider switch to supporting asynchronous delivery of location data.
> > It may no longer be possible to synchronously get your current position.
>
> > But, I won't be diving into the new mapping code until this weekend at
> > the earliest, so I can't comment on how better to handle your situation
> > until then.
>
> > If you're still struggling come Monday, send me an email to remind me to
> > post something.
>
> > --
> > Mark Murphy (a Commons Guy)http://commonsware.com
> > Warescription: All titles, revisions, & ebook formats, just $35/year
>
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
Announcing the new Android 0.9 SDK beta!
http://android-developers.blogspot.com/2008/08/announcing-beta-release-of-android-sdk.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to