The use case is that the thread may want to call Activity.startActivity().

On Friday, September 7, 2012 11:35:50 AM UTC-5, Larry Meadors wrote:
>
> That's probably unsafe due to the lifecycle of activities. What's the use 
> case? 
>
> Larry 
>
>
> On Fri, Sep 7, 2012 at 10:18 AM, bob <[email protected]<javascript:>> 
> wrote: 
> > What do you normally do on Android when you spawn a thread but the 
> thread 
> > needs to access 
> > 
> > your Activity object?  Do you typically pass the Activity object to your 
> own 
> > constructor for the Thread? 
> > 
> > 
> > -- 
> > 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]<javascript:> 
> > To unsubscribe from this group, send email to 
> > [email protected] <javascript:> 
> > 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 [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