1

Data sent via Bluetooth turn up multiple times while new data continue to be received

view story
linux-howto

http://stackoverflow.com – I'm trying to build an android client application that sends data regarding gestures that the user performs, to a Java server, using Bluetooth. When the user performs a gesture, the app sends data about it to the pc. For example (android client send) 5:-24:2, (java server receive) 5:-24:2. As long as the gestures are performed long range between themselves, the code works fine. The problem is when the app sends data very fast (because the user perform a scroll for example, so onScroll(...) called for each onTouchEvent(...)). Then a specific message gets stuck: (android client send) 5:-24 (HowTos)