On Sat, Aug 10, 2013 at 6:23 AM, saran vonteddu <saran.myw...@gmail.com> wrote:

>
> Now I'm trying to load a WebView with the AlternateUrl and the page is
> loading but it is asking for Google credentials again. How to avoid the
> webview from asking Google Credential. Programmatically, how to login to
> Google account in webview without explicitly entering Google username and
> password. I want webview to pick account using either AccountManager or
> Google Play Service api.
>
> I referred below links, but not able to get it done what I needed.
>
> http://nelenkov.blogspot.in/2012/11/sso-using-account-manager.html
>

You are not saying what you tried and why it didn't work, so it's kind of
hard to guess what's going on. WebView won't pick an account for you
automatically, you have to do this programatically and then the load
the URL which contains the auth token into the WebView. All the info
you need is in the blog post, but basically you need to get an
'weblogin:' token for the service you are trying to use. For more details
see the Browser app source in AOSP.

-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to