Message object problem.
try to use
          Message.obtain(); to get message object again
OR use

          Message.obtain(msg); to reuse the message object created
already

On Feb 3, 9:19 am, yogi <[email protected]> wrote:
> Hi All,
> I have created a thread in a activity which is sleeping for 1 sec and
> then send a message to the main thread using Handler(),
> No as the thread start it crashes. with the log as
>
> 02-03 09:40:19.598: ERROR/AndroidRuntime(1684):
> android.util.AndroidRuntimeException: { what=1000 when=2469427 obj=4 }
> This message is already in use.
>
> Did any one have any idea regarding this.
>
> Thanks in Advance
> Regards
> YOGI

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