Android_Id returns "null" in sdk version 2.0
<p>Hi im trying to get android unique id im using this code to get android unique id </p>

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

<p>when i use this code on sdk version 2.3 on emulator it work fine and return randomly generated android id,but when i use similar code in sdk version 2.0 it will return null,</p>

<p>i try this code also but same result,</p>

<pre><code>String phoneID = System.getString(getContext().getContentResolver(), System.ANDROID_ID);
</code></pre>

<p>any one can help me is there any another way to get android unique id,im testing my application on emulator,thanks in andvance. </p>
