On Wed, Dec 5, 2012 at 4:58 PM, erdal <[email protected]> wrote:
> Thank you for your reply!
>
> We have a server that needs to do some periodic requests so we would need
> the refresh token,
> I noticed there is a Bundle extras parameter in the getToken function, but I
> couldn't find any documentation for it.
>

If you have a server, why do you need to do this in Android? You can
get the tokens
using a browser, etc. and put them in your server config files, etc. Or are
you doing anything special?

> Using a webview we managed to get the refresh token, so I was thinking it
> should be possible using the API also because it's a lot nicer.
>

The idea of the API is to make it simple to use for people that don't
necessarily
know the details of the protocol, so they try to wrap as much as possible. It
works quite well in that respect. I just don't quite agree with the ugly class
name though. 'GoogleAuthUtil', really?

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

Reply via email to