I try to explain better my question.
For the example "Control the desktop with your phone" there is need also the application that running pc side on listening for UDP packets or only works only with the android example running on the smartphone?
I also tryed to send messages via bluetooh, but between two android device they works while from smartphone to PC not works. The smartphone does not see the PC during the serching bluetooh device.