How To Create The File Inside A Folder In Google Drive? January 21, 2024 Post a Comment I am facing the issue in creating the file inside a folder , i created the separate file and separate folder in google drive but i can't create the file inside a folder in google dSolution 1: You are calling Drive.DriveApi.getRootFolder(mGoogleApiClient).createFileCopywhich (unsurprisingly) creates a file in the Root Folder. Instead you should call DriveFolder.createFile Copyas described at https://developers.google.com/android/reference/com/google/android/gms/drive/DriveFolder.html#createFile(com.google.android.gms.common.api.GoogleApiClient,com.google.android.gms.drive.MetadataChangeSet,com.google.android.gms.drive.DriveContents) Share Post a Comment for "How To Create The File Inside A Folder In Google Drive?"
Post a Comment for "How To Create The File Inside A Folder In Google Drive?"