On Wed, Oct 26, 2011 at 9:22 AM, Streets Of Boston
<[email protected]> wrote:
> First, i would suggest trying not to use an Activity reference in your
> doInBackground at all. Maybe you can just use a Context
> (activity.getApplicationContext()) instead.

Or, get the data you need out of the activity in the constructor or
onPreExecute(), so you can use the strings or numbers or whatever
safely.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

_Android Programming Tutorials_ Version 4.0 Available!

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