[android-developers] Re: Google Play Services: UserRecoverableAuthException's intent doesn't start

2013-05-09 Thread b0b
On Monday, 11 March 2013 09:05:48 UTC+1, Goddchen wrote: > > I'm having issues with the Google Drive SDK for Android. > > Everything works fine except for some devices (on which it used to be > working, but now doesn't) the Intent that is returned by > `UserRecoverableAuthException.getIntent()`

Re: [android-developers] Re: Google Play Services: UserRecoverableAuthException's intent doesn't start

2013-05-09 Thread Goddchen
In my sepcific case, the problem was that I was launching the intent from a Service. But a Service doesn't have a onActivityResult(...) callback. So I found that there are some requirements for the startActivity(Intent) call 1) It's not startActivity, but it HAS TO be startActivityForResult(...) wh

[android-developers] Re: Google Play Services: UserRecoverableAuthException's intent doesn't start

2013-05-08 Thread Ryan Harter
Did you ever find a resolution for this? I'm seeing the same behavior in the dredit sample Drive SDK code, and my code based off of it. I create a pending intent out of the intent returned from getIntent(), but it doesn't launch. Here is my code, taken directly from the sample: try { GoogleA