Good afternoon.

I need from time to time do a check on a server, because I'm not using
AsyncTask do not need no update from my view.

Then I used a Handler that runs a thread from time to time, and this thread
makes access to the server. In Honeycomb versions running down blz, already
in top get a exception: android.os.NetworkOnMainThreadException.

Someone uses a different strategy to do this kind of task?

Thank you.

---------------------------------------
Diêgo Nunes Assunção
"Give Peace a Chance"

-- 
-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to