On Fri, Nov 2, 2012 at 4:25 PM, bob <[email protected]> wrote:
> I changed it to this:
>
> Listener_Thread listener_Thread = new Listener_Thread(this);
> listener_Thread.start();

Well what is the lifespan of listener_Thread?  If it's local in
onCreate() as seems to be implied then you haven't changed much as
listener_Thread will go out of scope just moments later, leaving your
Listener_Thread instance with no references again.  Try making
listener_Thread a member variable of your Activity to make it longer
lived (if just for the sake of test).

If your problem is 100% reliably reproducible then this might not be
the root cause.  However, it could be one of the causes.

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