I think you have to write code to handle gestures... not sure tho, haven't
actually tried that. I recall some chatter about this issue when Moto Droid
first came out... and Android 2.0+, that multi-touch was available, but apps
weren't using it. Only apps that specifically handled the gestures worked.

On Tue, Jun 8, 2010 at 9:03 PM, Raymond Rodgers <raym...@badlucksoft.com>wrote:

>
>
> On Tue, Jun 8, 2010 at 7:14 PM, Steve Howard <ste...@android.com> wrote:
>
>> A simple solution is to add an Overlay, override the draw() method, and
>> not actually do any drawing, but simply use the method as a hook to know
>> anytime the map has potentially moved or zoomed.  The problem is, this will
>> get called more often than necessary, so you'll need some custom logic to
>> decide when the viewport has changed "enough" for you to make a new query.
>>  This shouldn't be too difficult however -- you can track the current center
>> and zoom in your Overlay subclass -- and you'd probably need some kind of
>> logic like this anyway.
>>
>> Let me know how that works for you, or if it works at all.
>>
>> Steve
>>
>>
>> Thanks Steve, I eventually came to give that very method a try, although I
> haven't yet decided on how to avoid the excessive updating. I may try to
> find out when the user's fingers are no longer on the touch screen or when
> the trackball (if present) is no longer moved. Can I recommend that a
> simpler method of doing this sort of detection be added in the future?
> Perhaps an interface/listener combination like many other similar cases?
>
> Thanks,
> Raymond
>
> --
> 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
> android-developers+unsubscr...@googlegroups.com<android-developers%2bunsubscr...@googlegroups.com>
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>

-- 
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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to