Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Android Nearby

Android Nearby

Droid Up 5.0 , 2017 talk about Android Nearby and its models

Merab Tato Kutalia

February 26, 2017
Tweet

More Decks by Merab Tato Kutalia

Other Decks in Programming

Transcript

  1. Android Nearby Appeared in 2015 Part of the Google Services

    Crossplatform? Works mostly on Android*
  2. Nearby.Connections Nearby.Connections allows the discovery of devices connected to be

    on the same Wi-Fi network using multicast packets sent over the access point.
  3. Nearby.Connections Nearby Connections is more like a Master-Slaves Model (One-

    to-Many model). The Master Device can Nearby.Connections.startAdvertising to all the devices. The nearby devices could use Nearby.Connections.startDiscovering to discover the advertisement.
  4. Nearby.Messages Nearby.Messages is like a broadcast and receiver model. It’s

    a many-to-many model, where all devices broadcast and everyone listens. The function used is Nearby.Messages.publish and Nearby.Messages.subscribe.
  5. Nearby.Messages Nearby Connections is more like a Master-Slaves Model (One-

    to-Many model). The Master Device can Nearby.Connections.startAdvertising to all the devices. The nearby devices could use Nearby.Connections.startDiscovering to discover the advertisement.