thx, i will try.

On 26 Jun., 16:25, Streets Of Boston <[email protected]> wrote:
> I assume that Thread B is the main UI-thread, handling messages,
> 'holding' the View.
> Thread A is a background thread doing some computation or other stuff.
>
> If I'm correct in this assumption, you can just post to the View from
> thread A.
>
> While in thread A:
>    myViewInThreadB.post(new Runnable() {
>       public void run() {
>          // This run() method will run in the thread on which
>          // this view 'mViewInThreadB' was created.
>          ...
>          doSomethingWith(mViewInThreadB);
>          ...
>       }
>    });
>
> On Jun 26, 10:06 am, "Mr.No" <[email protected]> wrote:
>
> > hello,
> > how  can i trigger  in tread A  a methode from thread B? the methode
> > schould be than executetd in thread b.
> > I want to manipulate within a thread A a View from Thread B, how can i
> > do that?
>
> > rgds
> > mr.no
--~--~---------~--~----~------------~-------~--~----~
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