

'mimeType' : 'application/'įile = drive_service.files().create(body=file_metadata, def create_folder_in_folder(folder_name,parent_folder_id): I have tried to make a python function, you can use it in the way you want.

Int byteSize = bitmapUpload.getRowBytes() * bitmapUpload.getHeight() īyteBuffer byteBuffer = ByteBuffer.allocate(byteSize) īyteArrayInputStream bs = new ByteArrayInputStream(byteArray) įile file = mService.files().insert(fileMetadata, bs)Ĭom.abstract inputstreamcontent I have tried this: String IdFolder = (String) objects Im trying with this code but doesnt working String IdFolder = (String) objects īitmap bitmapUpload = (Bitmap) objects įtParents(Collections.singletonList(new ParentReference().setId(IdFolder))) įile file = mService.files().insert(fileMetadata, bitmapUpload) I am trying to get the names of the folders in my google drive programmatically and create a folder inside folder but there is no way.īut how do I get a specific folder and create another one in it?.Programmatically, Not with an assistant.
