I have followed the Drive API guide (https://developer.android.com/google/play-services/drive.html) and my app now uploads photos smoothly, but I am now trying to upload vid
Without getting into much detail, just a few pointers:
Anything you want to upload (image, text, video,...) consists from
The demo you mention does it with an image (JPEG bytestream) and you need to do it with video. So, the changes you need to implement are:
to the content.
These are the only changes you need to make. Google Drive Android API doesn't care what is your content and metadata, it just grabs it a shoves it up to Google Drive.
In Google Drive, apps (web, android,...) read the metadata and content, and treat it accordingly.