How can I get the android device id which I get on dialing " *#*#8255#*#* "
<p>How can I get the android device id which I get on dialing
<kbd>*</kbd><kbd>#</kbd><kbd>*</kbd><kbd>#</kbd><kbd>8</kbd><kbd>2</kbd><kbd>5</kbd><kbd>5</kbd><kbd>#</kbd><kbd>*</kbd><kbd>#</kbd><kbd>*</kbd></p>

<p>I am using the following code but it does not return the same...what I want</p>

<pre><code>String android_id = Secure.getString(getActivity()
                .getContentResolver(), Secure.ANDROID_ID);
</code></pre>

<p><img src="http://i.stack.imgur.com/u0yGK.png" alt="enter image description here"></p>
