AccountManager OAuth doesn't work as Expected
<p>the code is in the following link..</p>

<p><a href="http://codeviewer.org/view/code:2e5d" rel="nofollow">http://codeviewer.org/view/code:2e5d</a></p>

<p>when i start the activity it appears like getAuthToekn is executed but no call back is recieved from AccountManagerCallback to the function "public void run(AccountManagerFuture result) " </p>

<p>it was successfull the very first time i executed after that it never worked so I added AccountManger.invalidate  even that didn't help</p>

<p>can someone point out what is wrong with my code?</p>
