Search code examples
google-drive-apigoogle-drive-android-api

Google Drive Android SDK: where to start from?


I have been looking all day at the Google Drive SDK for Android,

but I am a bit confused.

I need to make the list of folders and files in the user Google Drive account.

I thought that was a simple, basic standard feature, but maybe not...

Please can you help me?


Solution

  • You have two possible ways to go:

    I would say the former would be easier to start with.

    • If you decide to go with the REST, you may use the GitHub demo here, that has both the REST and the GDAA 'CRUD' implementations (you just comment out the one you don't need). It also has some code to deal with the authentication / authorization which you need to do anything on Google Drive. See SO 28439129.
    • In case you decide to use GDAA, (you still have to get the authorization done), the 'official' to get you started demos are here and here.

    You will definitely run into a lot of roadblocks and the solutions are mostly found here under the tag 'google-drive-android-api'.

    Good Luck.