How to move a file from root to a folder with Google Drive SDK API?
I tried this, but it never work!
1) Insert the file id into a folder.
Method: https://developers.google.com/drive/v2/reference/children/insert
Result: Files are able to insert into the folder, but files are also shown in the root.
2) Remove the file id from the parent.
Method: https://developers.google.com/drive/v2/reference/parents/delete
Result: A weird result. It should remove the parent's files but this removed the children files in the folder.
Any help please?