So I'm a bit of a novice and I wish to list all the files and folders in Google Drive.
I had downloaded the new SDK, got my app all authorised etc. I used the samples to pick a folder with an opener, and then display the contents in the Listview.
BUT - NO files were displayed. It only displays any sub folders from the selected folder.
So it seems the new SDK only has SCOPE_FILE access, which I gather only allows the app to see files that it has created, or ones that the user selects themselves.
But since I need to be able to list all files and folders in a given folder, then this doesn't work for me at all.
From further reading, it seems I have to use the REST Java API (or something), and that this will allow me to get even read-only access to files and metadata.
Problem is, I have having trouble finding what exactly it is I need in terms of Jar files etc, and where I should put them.
Remember, I'm new to all this.
I'm using Android Studio, so could someone tell me:
what JAR files I need exactly
where I should put them (in libs folder?)
do I need to edit build.gradle to include them?
any example for authorizing?
and and example for listing files and folders e.g. in the ROOT folder
do I need the new SDK at all?
Thanks for any help with this.