This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
I have to implement a bluetooth server running on a desktop computer that has to provide special services to non-J2ME phones. When a phone sees the service and connect to the server, the latter has to propose it different menus, for example if a user presses 1, he receives what is under the first menu, if presses 2, he receives what is under the second menu, and so on.
1) What kind of connection have I to establish ? RFCOMM or L2CAP, or even another type ?
2) How have I to send the different elements to the connected phones, i.e so that it appears as different menus on the phone display (for example 1 Sport 2 Mensa 3 Uni events etc.) ?
3) How do I catch on the server the number pressed on the phone ? Certainly with a listener, but ... ?
Would be great if someone could help me a little bit.