How to upload a folder to Google drive programmatically
问题 I want to upload a folder to Google drive in my android app programmatically. Is there an api which would let me upload / copy an entire folder in my android device to Google drive while preserving the directory structure? All documentation and examples only talk about file uploads but not folder. 回答1: You have 2 different ways to do it. Specifically, 2 different APIs, the REST Api and the GDAA. Basically, the algorithm goes like this: 1/ find root folder 2/ use it as a parent of your first