title: what is the procedure for file-opener2 to work for any internal link to a pdf file?
body: <p>I am building a Cordova app for android, made up of a (large) number of files. Most of them have intenal links to pdf files such as this one:</p>
  
  <pre><code>&lt;a class="download " target="_self" href="../res/DOC140416-1.pdf" download="DOC140416-1.pdf"&gt;&lt;span&gt;DOC140416-1.pdf&lt;/span&gt;&lt;/a&gt;"
  </code></pre>
  
  <p>To access them from the app, I downloaded the file-opener2 plugin from GitHub. It installed nicely in the plugin folder in the newly created directory: cordova-plugin-file-opener2</p>
  
  <p>I then found the following snipet which I pasted in the index.js</p>
  
  <pre><code>cordova.plugins.fileOpener2.open(
      filePath, 
      fileMIMEType, 
      {
          error : function(){ }, 
          success : function(){ } 
      } 
  );
  </code></pre>
  
  <p>And finally I added </p>
  
  <pre><code>&lt;plugin name="FileOpener" value="com.phonegap.plugins.fileopener.FileOpener"/&gt;
  </code></pre>
  
  <p>to the config.xml.</p>
  
  <p>As most of you can probably tell (stop laughin'!), tapping on the links fails miserably (though working well of vourse on my pc, since the borwsers are fitted for pdf files).</p>
  
  <p>Can I get some help from you guys? 
  Many thanks!</p>