I'm checking this doc for Integrate Drive UI but I don't understand the part of Drive Integration:
In this section, you'll need to specify the Open URL for your app, and your preferences on how users create and open files with the app. Also, you can select from optional features like support for multiple file selection and Google doc import.
Creating files
You can control whether or not users can create new Drive files with your application by checking the Allow users to create new documents using this application option. If enabled, you must provide a New URL that users are redirected to when a user selects your application from the New menu in Drive. You can optionally fill in the Document Name field to provide a name for the type of document your application creates. This is displayed in the New menu in Drive.
But documentation doesn't show a code sample of Open URL and New URL pages, someone could help me showing a sample?