Google picker api examples has an file-open example which doesn't set the app id (setAppId) and an upload example which does it.
I would like to get clarifications:
For the Google Drive SDK, always set the App ID.
https://developers.google.com/drive/integrate-open