I am trying to write some synchronization program which would check periodically between different device and synchronize the data within them.
I have been using Bluetooth with J2ME MIDP and JSR82 before. However, whenever I want to make a connection from one device to another, both the master and slave have to agree on this connection. My problem is to to suppress such "Do you allow XXX to connect?" messages.
If the user started the synchronization program, it is assumed that he allows connections to be made (anonymously) anyway! The synchronization or sharing program should do everything in the background, and involve no user explicit actions unless he want to start/stop the server.
Is there anyway I can suppress such dialogs? If it is not possible in Java, can I do something similar in C++?