title: Android unique id
body: <p>How do I get an unique ID from an Android phone?</p>
  
  <p>Whenever I try to get the unique ID from the phone as a string it
  always shows <em>android id</em> and no other unique hex values.</p>
  
  <p>How do I
  get that one?</p>
  
  <p>This is the code I use to get the ID until now:</p>
  
  <pre><code>String id=Settings.Secure.getString(contentResolver,Settings.Secure.ANDROID_ID);
  Log.i("Android is is:",id);
  </code></pre>
  
  <p>the output which I get looks like this:</p>
  
  <pre><code>Android id is: android id
  </code></pre>
  
  <p>I am using a Nexus One for testing.</p>