0
Google 드라이브 Android API를 사용하여 사용자의 Incoming
항목을 표시하고 액세스하고 싶지만 Drive API documentation에서 해당 방법을 찾을 수 없습니다. 난 단지 스크린 샷에서 My Drive
을 의미 사용자 드라이브의 루트 얻는 방법을 알고 : 불행히도Google 드라이브의 '수신 폴더'목록 및 액세스
// The setup code is from https://developers.google.com/drive/web/quickstart/quickstart-java
Drive drive = new Drive.Builder(httpTransport, jsonFactory, credential).build();
About a = drive.about().get().execute();
id = a.getRootFolderId();
File driverootfolder = drive.files().get(id).execute();
// From here, can use Drive API to traverse user's Drive directories structure
을의 Incoming
폴더 My Drive
아무 곳없는 그 ID를 얻는 방법이 없습니다 . 액세스 할 수있는 방법이 있습니까? 내 직감은 제 3 자 앱이 그렇게 할 수 없다는 것입니다.
파일 ID가있는 경우 해당 파일에 액세스 할 수 있습니다. 사용자가 드라이브에 파일을 추가했거나 파일 선택기로 파일을 선택했다면이 파일에 액세스 할 수 있습니다. –