title: Android get Serial Number
body: <p>I am trying to get the device serial number programmatically. I have used the following line:</p>
  
  <pre><code>Build.SERIAL
  </code></pre>
  
  <p>Which returns something like :</p>
  
  <p>95b9efad04ad28</p>
  
  <p>However which I go to the settings on the device, I can see that it displays a different string:</p>
  
  <p><a href="https://i.stack.imgur.com/HjmNX.png" rel="noreferrer"><img src="https://i.stack.imgur.com/HjmNX.png" alt="enter image description here"></a></p>
  
  <p>Could anyone point me in the correct direction?</p>