title: Opening a file on Google Drive directly in a Google Drive App
body: <p>If I open the shareable link I have got for a file from Google Drive in the browser, I always get either to the Drive's internal preview program or to a download page (See below).</p>
  
  <p>I would like to know whether there is a programmatic way to launch a specific drive-connected application (with confirmed access permissions) to open a file for which I have the link (and thus, the ID as well). </p>
  
  <p>I don't want to do this through the drive's interface, but rather within my program. Let's say I want to let the users browse their files and open them in the browser with their default app as they have defined it on their drive (and let's say I already know that app).</p>
  
  <p>To make it clear, I just want to achieve what Google Drive's interface does in the browser: You click a file, and it opens in a new tab in your default app.</p>
  
  <p><a href="https://i.stack.imgur.com/PcpEc.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/PcpEc.png" alt="enter image description here"></a></p>