Tuesday, January 8, 2013

[android-developers] Re: pass parameters between threads

I think the type declaration " Map<String, String>" was turning it
into a local variable, but when I remove that, the error goes away and
it becomes part of the instance variables of the class

On Jan 8, 6:38 pm, TreKing <treking...@gmail.com> wrote:
> On Tue, Jan 8, 2013 at 5:27 PM, John Merlino <stoici...@aol.com> wrote:
> > I have a thread to make a web service request. And then I get the data and
> > store it in response variable. Now I need to add items to the map on the
> > main thread, but how do i get the response data back in the main thread.
>
> Use AsyncTask.
>
> --------------------------------------------------------------------------- ----------------------
> 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 android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate