Help with Java to send files to Google Drive

Hi guys,

I want to send the files that people upload in my app to a Drive environment.
This page apparently has the code to do this: Upload Browser Blobs to Files in Google Drive API v3 · GitHub

Though, I cannot figure out yet how to make it work in AppGyver.

Anyone who knows how to do this?