Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8030597
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T00:49:22+00:00 2026-06-05T00:49:22+00:00

In my app my cloud services are provided by google drive (formely google docs)

  • 0

In my app my cloud services are provided by google drive (formely google docs)
to interact with google docs I use this library:

http://code.google.com/p/google-api-java-client/

It works great but requires that the device has the Google Apis on it and a google account set up

Is there any other way to authenticate on google docs without using this library?
Or do I have to migrate my cloud provider to Dropbox?

Thank you

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-05T00:49:23+00:00Added an answer on June 5, 2026 at 12:49 am

    Your best bet is to use OAuth 2.0 using the Client-side flow which is designed (partly) for mobile devices.

    Basically what you’ll have to do is use a Web View and redirect your users to the OAuth 2.0 grant page and then after they have granted you access to their data you simply:

    • Catch the auth code inside the web view
    • Close the web view
    • Exchange the auth code for a refresh and an access token
    • Keep the refresh token in your local database because it gives you unlimited access to the API => no need to trigger Auth flows any more.

    That’s it! With the newly acquired OAuth 2.0 Access Token and Refresh Token you’ve got all you need to access the user’s Drive data on their behalf and use the API. You’ve circumvented the Android Account Manager.

    There might even be some OAuth 2.0 / Web View client libraries available somewhere for Android, that would help a lot.

    PS: this technique is widely used, for instance on iOS if you use the Facebook library, it will first check if there is the Facebook app installed. If the Facebook app is not installed it will use OAuth 2 and the Web View technique automatically. Google’s Objective-C client library also uses that technique (as I’ve heard, never used it).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Amazon Cloud Services (AWS) has provided the ready to use Library to make calls
Google App Engine is a cloud computing architecture that supports java based web services
I want to use blob-leasing mechanism in my Windows Azure cloud app. I am
i am trying to store data from the app engine app to google cloud
App Engine only allows you to use these formats for XMPP addresses: app-id@appspot.com anything@app-id.appspotchat.com
I'm writing an Android app which will be making use of the cloud-2-device messaging
I have to set up push cloud notification server. I decided to use: http://pypi.python.org/pypi/pyapns/
I'm new to Google App Engine. I know the Cloud concept and I know
Is it possible to edit web.config file of my cloud app deployed on Windows
I hosted my python flask web app to fluxflex cloud hosting (Apache, FastCGI). So,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.