Log-in to Google Account in Android WebView -


i'm integrating google drive in application.

using below link i'm able connect google drive , able download files , able upload files google drive.

https://developers.google.com/drive/quickstart-android

below code i'm using upload file drive.

inline image 2

using above code i'm able upload file drive , line numbers 20 - 23 in above pic, i'm getting file meta data such downloadurl, alternateurl , webcontentlink.

now i'm trying load webview alternateurl , page loading asking google credentials again. how avoid webview asking google credential. programmatically, how login google account in webview without explicitly entering google username , password. want webview pick account using either accountmanager or google play service api.

i referred below links, not able done needed.

http://nelenkov.blogspot.in/2012/11/sso-using-account-manager.html

any in regard highly appreciated.


Comments

Popular posts from this blog

css - Which browser returns the correct result for getBoundingClientRect of an SVG element? -

gcc - Calling fftR4() in c from assembly -

.htaccess - Matching full URL in RewriteCond -