title: Is it possible to detect Android devices laying side by side
body: <p>I am developing an Android application that requires devices to be laid side by side and/or above and below each other.</p>
  
  <p>I know I can use the Nearby API to detect devices "Nearby" however I need something a little more "Finer Grained".</p>
  
  <p>My app needs to be able to identify a device laying either on the left side, above, right side or below. While all devices are laying flat on a table (for instance).</p>
  
  <p>I can find nothing on the web that describes this use case.</p>
  
  <p>Is it possible?</p>
  
  <p>UPDATE</p>
  
  <p>My use case is that I want Android devices to be able to detect any number of "Other Devices" laying either to their left or right. The devices will be laid out horizontally with a "small" gap between each one.</p>
  
  <p>In the same way that you might layout children's lettered blocks to spell out a word or phrase, or numbered blocks to make a sum.</p>
  
  <p>not only should the line of devices be able to detect their immediate neighbours to their left and right the two devices at either end should be able to detect they they are the start and end (reading left to right) of the line.</p>