Chapter 7Peer-to-Peer Networking Using Bluetooth and Wi-Fi Direct

In this chapter, we’ll give peer-to-peer (P2P) networks the attention they deserve. We’ve mastered the exchange of data between Android devices using Wi-Fi. Now it’s time to end our dependence on wireless infrastructure. Popular services such as Skype and BitTorrent are only two examples that use peer-to-peer technology.[167] However, the concept of P2P communication doesn’t stop with telephony or file sharing and has little do with copyright.

P2P networking has several advantages. First of all, it’s free. We don’t require a carrier network or access to Wi-Fi infrastructure, and we won’t be restricted by data quotas. P2P still works if wireless infrastructure is unavailable ...

Get Rapid Android Development now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.