I have some folders in Google Drive (lets assume, that I have them in the Root folder).
How can I parse them from Drive as folderName
and driveId
?
I'd like to do it with Google Drive API Google Drive API, not with REST.
You need to setup Google Drive API for Android in your project. Everything is in guides/documentation on Google Drive API site. Here is link to get started
Then you will do like this:
DriveApi.getRootFolder
listChildren
(Link to documentation) on folder returned in step 1asDriveFile()
(Link to documentation)