cheng81 / Android-Bluetooth-Simulator

Simple tcp-based bluetooth simulator for the android emulator
47 stars 6 forks source link

Can't run the sample application #3

Closed jervds closed 2 years ago

jervds commented 14 years ago

I've created 2 emulators, and I've installed the android-btsim-application on it. (I've done it by using Eclipse.. import project and then I run it on both emulators ).

I then import and run the btsim server, still into eclipse.

But when I run "BluetoothEmulator" on the emulator, I have this message : "The application BluetoothEmulator (process dk.itu.android.btmenu has stopped unexpectedly. Please try again".

I'm running my emulators on api level8. Can you help me ?

ps: when I close the server, I have this message: Server started on port 8199 ADB command: adb press any key to exit

exiting... error in server main loop! java.net.SocketException: Socket closed at java.net.PlainSocketImpl.socketAccept(Native Method) at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:390) at java.net.ServerSocket.implAccept(ServerSocket.java:453) at java.net.ServerSocket.accept(ServerSocket.java:421) at dk.itu.btemu.Server$1.run(Server.java:43) at java.lang.Thread.run(Thread.java:619)