On Thu, Jan 26, 2012 at 10:34 AM, Oliviu Vais <[email protected]> wrote:

> I have tried those events. I need to use a while loop, but when i use it
> within my ontouch i get an error on my device, it goes forever.
>

Well, yeah.


>  I read somewhere i need to put it in a new thread.
>

Where was that?


> Can you please show me how can i do that?
>

Nope, sorry. But that probably wouldn't work anyway. While it would prevent
you from blocking the UI thread, there's still the minor detail of knowing
when to *stop*.
There must be some event that indicates when a touch has stopped. When you
find how to do that, everything else should fall into place.

-------------------------------------------------------------------------------------------------
TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago
transit tracking app for Android-powered devices

-- 
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

Reply via email to