bluecove

Send text through Bluetooth from Java Server to Android Client

爱⌒轻易说出口 提交于 2019-11-26 15:21:23
问题 First of all... don't redirect me to Bluetooth Chat and I have fully read it. I have an Android Client which stablishes the connection properly with the server, and what's most I can send text to the server in my pc and show it correctly, but I can't do the opposite action, send a simple string from the server to the client and show it in my android app. I don't want to implement a chat is just to show how BT communication works between a Java Server and Android Client. To make it easy: I

Sending a string via Bluetooth from a PC as client to a mobile as server

[亡魂溺海] 提交于 2019-11-26 12:04:09
问题 I need help by transferring a string from a PC to an Android mobile device via Bluetooth. The Android mobile device should act as a server and displays the string message on the screen of the device. The PC which is the client should send the string to the mobile device. I want the server react on the extracted string (transferred via Bluetooth). That means that on one side the server always has to listen for new strings to arrive, but on the other side still has to be able to react on these