<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Open Local PDF - Android in Software Archive</title>
    <link>https://community.intel.com/t5/Software-Archive/Open-Local-PDF-Android/m-p/1047638#M48617</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I have a PDF file stored locally on the android device file system.&amp;nbsp; In I-OS it works great you can just do a window.open.&lt;/P&gt;

&lt;P&gt;But, android is more complicated.&lt;/P&gt;

&lt;P&gt;Currently, the only thing that sorta works for me in android&amp;nbsp;is:&lt;/P&gt;

&lt;P&gt;intel.xdk.device.launchExternal(wfilepath);&amp;nbsp;&lt;/P&gt;

&lt;P&gt;I say sorta works because if your "default" application (like adobe reader) gets uninstalled, the launchexternal stops working (rather than ask you for a new default viewer).&lt;/P&gt;

&lt;P&gt;I haven't been able to get any of these plugins&amp;nbsp;to work:&lt;/P&gt;

&lt;P&gt;cordova-plugin-fileopener&lt;BR /&gt;
	cordova-plugin-file-opener2&lt;BR /&gt;
	cordova-open&lt;BR /&gt;
	cordova-plugin-openfilenative&lt;/P&gt;

&lt;P&gt;I considered using the PDF.js, but that is way too roll your own for me...&lt;/P&gt;

&lt;P&gt;What is the best practice?&lt;/P&gt;

&lt;P&gt;Thanks in advance,&lt;/P&gt;

&lt;P&gt;Rich&lt;/P&gt;</description>
    <pubDate>Fri, 25 Sep 2015 19:34:53 GMT</pubDate>
    <dc:creator>Rich_S_</dc:creator>
    <dc:date>2015-09-25T19:34:53Z</dc:date>
    <item>
      <title>Open Local PDF - Android</title>
      <link>https://community.intel.com/t5/Software-Archive/Open-Local-PDF-Android/m-p/1047638#M48617</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I have a PDF file stored locally on the android device file system.&amp;nbsp; In I-OS it works great you can just do a window.open.&lt;/P&gt;

&lt;P&gt;But, android is more complicated.&lt;/P&gt;

&lt;P&gt;Currently, the only thing that sorta works for me in android&amp;nbsp;is:&lt;/P&gt;

&lt;P&gt;intel.xdk.device.launchExternal(wfilepath);&amp;nbsp;&lt;/P&gt;

&lt;P&gt;I say sorta works because if your "default" application (like adobe reader) gets uninstalled, the launchexternal stops working (rather than ask you for a new default viewer).&lt;/P&gt;

&lt;P&gt;I haven't been able to get any of these plugins&amp;nbsp;to work:&lt;/P&gt;

&lt;P&gt;cordova-plugin-fileopener&lt;BR /&gt;
	cordova-plugin-file-opener2&lt;BR /&gt;
	cordova-open&lt;BR /&gt;
	cordova-plugin-openfilenative&lt;/P&gt;

&lt;P&gt;I considered using the PDF.js, but that is way too roll your own for me...&lt;/P&gt;

&lt;P&gt;What is the best practice?&lt;/P&gt;

&lt;P&gt;Thanks in advance,&lt;/P&gt;

&lt;P&gt;Rich&lt;/P&gt;</description>
      <pubDate>Fri, 25 Sep 2015 19:34:53 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Open-Local-PDF-Android/m-p/1047638#M48617</guid>
      <dc:creator>Rich_S_</dc:creator>
      <dc:date>2015-09-25T19:34:53Z</dc:date>
    </item>
    <item>
      <title>Are you building with Android</title>
      <link>https://community.intel.com/t5/Software-Archive/Open-Local-PDF-Android/m-p/1047639#M48618</link>
      <description>&lt;P&gt;Are you building with Android or Android-Crosswalk? The native webview in Android is often not optimal, that is why we offer the Crosswalk build.&lt;/P&gt;</description>
      <pubDate>Fri, 25 Sep 2015 19:53:34 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Open-Local-PDF-Android/m-p/1047639#M48618</guid>
      <dc:creator>Pamela_H_Intel</dc:creator>
      <dc:date>2015-09-25T19:53:34Z</dc:date>
    </item>
  </channel>
</rss>

