title: Getting Android Device Identifier From ADB and Android SDK
body: <p>I am looking for the easiest way to get a unique android device identifier from both the Android adb and the Android ADK itself.  </p>
  
  <p>For example, when i use the adb 'devices' command, the serial number of my connected device is outputted to the screen.  I have yet to identify a method in the Android sdk to get me the same serial number.</p>
  
  <p>I don't care what unique identifier is used, just something that can be easily retrieved from both the adb and android sdk.  Rooting a device will not be an option.</p>