Well.... I read a lot of posts and... I don't find the solution..... the example closets one is this post
"Android Bluetooth / BluetoothAdmin Tutorial"
This is a clear example of what I need ..... when one of the two devices connected enter in the ** Activity (chatactivity) Pause, UserClosed = true **
the thevice in this mode is lost all the data sended form the other device.
I need (in the Activity Pause state) recive the data decode it and wake up the phone like if I push the button turn on the screen and continue running the program normally.
Thank's a lot for any sugestion
Better implementation based on B4XPages: https://www.b4x.com/android/forum/threads/b4xpages-bluetooth-chat-example.119014/#content Tutorial was rewritten in April 2018. We will create a chat example between two Android devices. All the non-UI code is implemented in a class named...