title: Get ID through code that matches adb device ID?
body: <p>Is there a way to get a unique device ID through code, and also get that same unique ID through adb?</p>
  
  <p>The only unique ID that I know of through adb is the one shown when you type "adb devices", but I am unable to get this ID through code within an app.</p>