[android-developers] AccountManager "wrong password or account changed" error

2010-04-14 Thread exh
I've been trying to work with the AccountManager and it's not going so
well.  I've read through the various discussions on it but nothing
seems to cover what I've hit:

In my app, I find the "com.google" account type, then call
getAuthToken() on it.  The first time this is called, it does the
expected thing and provides the intent for requesting user permission
(both GET_ACCOUNTS and USE_CREDENTIALS are set in the manifest).
However, when I tell it to Allow, it then opens a dialog called
"Google sign-in" with the message "You entered the wrong password or
your account has changed.  Please re-enter your password."  However,
I'm just using the account that's been set on the phone, and
everything other than my app is working fine.  Re-entering the correct
password does nothing -- it looks like behind the scenes an exception
gets thrown:

java.io.IOException: Bad HTTP response code: 302
   at O.p.a(Unknown Source)
   at O.n.run(Unknown Source)
   at java.lang.Thread.run(Thread.java:1096)

And the dialog just stays up, with the "Sign-in" button disabled until
I start typing in the password field again.

What's the deal?  My password is correct.  Every other app dependent
on my google account info works.

thanks for any help,
eric

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

To unsubscribe, reply using "remove me" as the subject.


[android-developers] no xml for PathShape?

2009-04-29 Thread exh

Hi all,

I'm new to Android so apologies if this has been covered, but I didn't
see it mentioned:  I'd like to create a drawable resource that makes
use of ShapeDrawable and PathShape.  I haven't seen any docs online
describing this, so I've been poking through the Android source.  I
see that PathShape doesn't implement inflate(), so I'm assuming that
means there's no xml spec for it?  Is this correct?

thanks much,
eric

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---