Reputation: 11813
I have created an android app and would like to enable users to transfer data (e.g. over TCP). Both have my app installed. Is there any framework or guide how to use bluetooth and/or w-lan to get a good user experience? How do they initiate the connection?
Thanks!
Upvotes: 2
Views: 996
Reputation: 4971
I learned how to use Bluetooth on Android by this link, analysing the source code of the example. About sending information through TCP/IP, use normal Java for that (Sockets, for example). The only extra you could put it is to send an Intent to activate Wireless if was not activated yet.
Upvotes: 2