Hi,
I am currently developing a project which needs to write/read data via
bluetooth.
I met a werid problem when I try to use a handler to deal with the
information back from the service I created.
When I put a breakpoint after bytes = mmInStream.read(buffer);
( in ConnectedThread.run() )
I
Right, just move your obtainMessage() inside your loop.
I personally use Message.obtain(), although I'm not sure what the difference is.
On Wed, Feb 2, 2011 at 11:45 PM, Dianne Hackborn hack...@android.com wrote:
You are sending the same messages into the handler while they are still
being
Thanks no i understand the my fault.
On Thu, Feb 3, 2011 at 2:26 PM, Miguel Morales therevolti...@gmail.comwrote:
Right, just move your obtainMessage() inside your loop.
I personally use Message.obtain(), although I'm not sure what the
difference is.
On Wed, Feb 2, 2011 at 11:45 PM, Dianne
do i have any thing that can stop getting key dispatch Time out error. For
not clicking the button for the second time i disabled the button. I have a
server that sends the msgs to the quiz application. When the server is
disconnected and when i am clicking on the button its not getting disable
Date: Thu, Feb 3, 2011 at 9:46 AM
Subject: [android-developers] Problem in Handler
To: Android Developers android-developers@googlegroups.com
Hi all,
I have created to thread in an application, and from these threads i
am sending a value.
But the App has started but after 5-6 seconds it crashes
Plz tell does this means really i am confused with this android.
Right, just move your obtainMessage() inside your loop.
On Thu, Feb 3, 2011 at 2:26 PM, Miguel Morales therevolti...@gmail.comwrote:
Right, just move your obtainMessage() inside your loop.
I personally use Message.obtain(),
Hi all,
I have created to thread in an application, and from these threads i
am sending a value.
But the App has started but after 5-6 seconds it crashes and with the
following log error.
02-03 09:40:19.598: ERROR/AndroidRuntime(1684): FATAL EXCEPTION: main
02-03 09:40:19.598:
You are sending the same messages into the handler while they are still
being dispatched. Each message you send needs to be a new one you obtain.
On Wed, Feb 2, 2011 at 8:16 PM, yogi yogi.ru...@gmail.com wrote:
Hi all,
I have created to thread in an application, and from these threads i
am
Hi, I have an app which makes a new server thread. This server thread
connects and parses data received from the irc server and uses a
handler inside the main class to update the textview. The problem I'm
having is most of the times, the message is not seen by the handler. I
know for sure it
Hi, I have an app which makes a new server thread. This server thread
connects and parses data received from the irc server and uses a
handler inside the main class to update the textview. The problem I'm
having is most of the times, the message is not seen by the handler. I
know for sure it
10 matches
Mail list logo