problem with Galaxy player bluetooth

alvinmb

Member
Licensed User
Longtime User
I'm using astream to read S but fails on a Galaxy Player and Galaxy Tab 10"

I can pair with the device and can connect to the device using the BlueTooth admin and the I get a java.io.IOException: Connection refused.

I have included the detail Log. Any idears would be welcome.

LOG**************
java.io.IOException: Connection refused
** Activity (main) Pause, UserClosed = true **
** Activity (main) Create, isFirst = true **
** Activity (main) Resume **
** Service (service1) Create **
service1_service_create (java line: 637)
java.net.BindException: bind failed: EADDRINUSE (Address already in use)
at libcore.io.IoBridge.bind(IoBridge.java:89)
at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:150)
at java.net.ServerSocket.<init>(ServerSocket.java:100)
at java.net.ServerSocket.<init>(ServerSocket.java:69)
at anywheresoftware.b4a.objects.SocketWrapper$ServerSocketWrapper.Initialize(SocketWrapper.java:156)
at anywheresoftware.b4a.b4abridgeplus.service1._service_create(service1.java:637)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:99)
at anywheresoftware.b4a.BA.raiseEvent(BA.java:85)
at anywheresoftware.b4a.b4abridgeplus.service1.onCreate(service1.java:35)
at android.app.ActivityThread.handleCreateService(ActivityThread.java:2267)
at android.app.ActivityThread.access$1600(ActivityThread.java:128)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1215)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:137)
at android.app.ActivityThread.main(ActivityThread.java:4514)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:790)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:557)
at dalvik.system.NativeStart.main(Native Method)
Caused by: libcore.io.ErrnoException: bind failed: EADDRINUSE (Address already in use)
at libcore.io.Posix.bind(Native Method)
at libcore.io.ForwardingOs.bind(ForwardingOs.java:39)
at libcore.io.IoBridge.bind(IoBridge.java:87)
... 21 more
** Service (service1) Create **
service1_service_create (java line: 637)
java.net.BindException: bind failed: EADDRINUSE (Address already in use)
at libcore.io.IoBridge.bind(IoBridge.java:89)
at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:150)
at java.net.ServerSocket.<init>(ServerSocket.java:100)
at java.net.ServerSocket.<init>(ServerSocket.java:69)
at anywheresoftware.b4a.objects.SocketWrapper$ServerSocketWrapper.Initialize(SocketWrapper.java:156)
at anywheresoftware.b4a.b4abridgeplus.service1._service_create(service1.java:637)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:99)
at anywheresoftware.b4a.BA.raiseEvent(BA.java:85)
at anywheresoftware.b4a.b4abridgeplus.service1.onCreate(service1.java:35)
at android.app.ActivityThread.handleCreateService(ActivityThread.java:2267)
at android.app.ActivityThread.access$1600(ActivityThread.java:128)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1215)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:137)
at android.app.ActivityThread.main(ActivityThread.java:4514)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:790)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:557)
at dalvik.system.NativeStart.main(Native Method)
Caused by: libcore.io.ErrnoException: bind failed: EADDRINUSE (Address already in use)
at libcore.io.Posix.bind(Native Method)
at libcore.io.ForwardingOs.bind(ForwardingOs.java:39)
at libcore.io.IoBridge.bind(IoBridge.java:87)
... 21 more
 
Top