I am writing an application that sends bytecodes from a tablet to a ฮผ controller. Everything worked perfectly on Lenovo A1 (Androi 2.3) and Samsung Galaxy Tab 7 Plus N (Android 3.2). Now I have problems with the new Samsung Galaxy Tab 2 tab (Android 4.0).
I can connect to a Bluetooth antenna (which is connected to the ฮผ-controller and transmits via a serial protocol). When I launched the application, I will again be asked to enter a password and connect. After entering the pairing password, my main layout is displayed, but the connection is not established.
LogCat in eclipse tells me:
06-19 16:00:20.656: V/BluetoothSocket.cpp(3189): availableNative 06-19 16:00:20.664: V/BluetoothSocket.cpp(3189): abortNative 06-19 16:00:20.664: V/BluetoothSocket.cpp(3189): ...asocket_abort(49) complete 06-19 16:00:20.664: I/ActivityManager(185): No longer want com.google.android.partnersetup (pid 3220): hidden
In addition, LogCat receives a thousand times the message:
V/BluetoothSocket.cpp(3189): availableNative
So, when I searched on the net, I found several guys with a similar problem, but without a solution. Does anyone know something about this issue?
Perhaps this is a compatibility issue between the antenna and Android 4.0. I donโt think there is an error in my code, because, as I said, the same code works fine on older versions of Android.
fuentessifuentes
source share