No they are designed to be run on two different devices. one device
runs one thread and the other one runs the other thread but they both
need to run a connected thread.

On Sep 2, 1:40 pm, Appaholics <raghavs...@appaholics.in> wrote:
> I am not sure but if you have both of them start the same thread in a single
> run wouldn't you be starting the same thread twice? This may raise an
> exception.
>
> Thanks
>
>
>
>
>
>
>
>
>
> On Fri, Sep 2, 2011 at 6:07 PM, Steven Bruce <stevebruc...@gmail.com> wrote:
> > I mean they both start a new thread called 'ConectedThread'. Is this
> > ok or should I not be doing this?
>
> > On Sep 2, 1:28 pm, Steven Bruce <stevebruc...@gmail.com> wrote:
> > > I have thee threads in my bluetooth program. Both my AcceptThread and
> > > ConnectThread create a newConnectThread from within their Thread class
> > > but my program seems to crash at this point. Are you not allowed to
> > > start a new thread from within a thread class?
>
> > --
> > 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
>
> --
> ------------------
> Raghav Sood
> CEO/Founder/Owner/Dictator/Tyrant at Appaholics (Basically all titles
> required to have complete 
> control)http://www.raghavsood.com/https://market.android.com/developer?pub=Appaholicshttp://www.appaholics.in/

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

Reply via email to