<?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 Cannot share a preview in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Cannot-share-a-preview/m-p/193517#M8689</link>
    <description>&lt;P&gt;Hi Dropbox support team,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would like to be able to share a document between the dropbox app and and my android app. My app supports the following intent filter:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;&amp;lt;intent-filter&amp;gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;    &amp;lt;action &lt;/SPAN&gt;&lt;SPAN&gt;android&lt;/SPAN&gt;&lt;SPAN&gt;:name=&lt;/SPAN&gt;&lt;SPAN&gt;"android.intent.action.SEND"&lt;/SPAN&gt;&lt;SPAN&gt;/&amp;gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;    &amp;lt;category &lt;/SPAN&gt;&lt;SPAN&gt;android&lt;/SPAN&gt;&lt;SPAN&gt;:name=&lt;/SPAN&gt;&lt;SPAN&gt;"android.intent.category.DEFAULT"&lt;/SPAN&gt;&lt;SPAN&gt;/&amp;gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;    &amp;lt;data &lt;/SPAN&gt;&lt;SPAN&gt;android&lt;/SPAN&gt;&lt;SPAN&gt;:mimeType=&lt;/SPAN&gt;&lt;SPAN&gt;"application/pdf"&lt;/SPAN&gt;&lt;SPAN&gt;/&amp;gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&amp;lt;/intent-filter&amp;gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;It works great when I export a file saved in dropbox to my app but it's broken when I share a document that is not saved in dropbox yet.&lt;/P&gt;&lt;P&gt;Steps to reproduce:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; - open a doc from any email client using&amp;nbsp;the dropbox preview&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; - tap&amp;nbsp;on the menu icon and&amp;nbsp;tap on "Share to"&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; -&amp;gt; the shared Uri doesn't allow me to read the file&amp;nbsp;(I am using the&amp;nbsp;&lt;SPAN&gt;ContentResolver)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The uri format passed between the apps is "file:///data/user/0/com.dropbox.android/global/external/docpreviews/XXXXX.pdf}".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I tried to shared this file with Inbox, Gmail, Slack... none of those apps are able to complete the action.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Is there a way a can read the file?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Would it be possible to pass a Uri that can be resolved by the ContentResolver?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 29 May 2019 09:28:30 GMT</pubDate>
    <dc:creator>elodie</dc:creator>
    <dc:date>2019-05-29T09:28:30Z</dc:date>
    <item>
      <title>Cannot share a preview</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Cannot-share-a-preview/m-p/193517#M8689</link>
      <description>&lt;P&gt;Hi Dropbox support team,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would like to be able to share a document between the dropbox app and and my android app. My app supports the following intent filter:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;&amp;lt;intent-filter&amp;gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;    &amp;lt;action &lt;/SPAN&gt;&lt;SPAN&gt;android&lt;/SPAN&gt;&lt;SPAN&gt;:name=&lt;/SPAN&gt;&lt;SPAN&gt;"android.intent.action.SEND"&lt;/SPAN&gt;&lt;SPAN&gt;/&amp;gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;    &amp;lt;category &lt;/SPAN&gt;&lt;SPAN&gt;android&lt;/SPAN&gt;&lt;SPAN&gt;:name=&lt;/SPAN&gt;&lt;SPAN&gt;"android.intent.category.DEFAULT"&lt;/SPAN&gt;&lt;SPAN&gt;/&amp;gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;    &amp;lt;data &lt;/SPAN&gt;&lt;SPAN&gt;android&lt;/SPAN&gt;&lt;SPAN&gt;:mimeType=&lt;/SPAN&gt;&lt;SPAN&gt;"application/pdf"&lt;/SPAN&gt;&lt;SPAN&gt;/&amp;gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&amp;lt;/intent-filter&amp;gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;It works great when I export a file saved in dropbox to my app but it's broken when I share a document that is not saved in dropbox yet.&lt;/P&gt;&lt;P&gt;Steps to reproduce:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; - open a doc from any email client using&amp;nbsp;the dropbox preview&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; - tap&amp;nbsp;on the menu icon and&amp;nbsp;tap on "Share to"&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; -&amp;gt; the shared Uri doesn't allow me to read the file&amp;nbsp;(I am using the&amp;nbsp;&lt;SPAN&gt;ContentResolver)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The uri format passed between the apps is "file:///data/user/0/com.dropbox.android/global/external/docpreviews/XXXXX.pdf}".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I tried to shared this file with Inbox, Gmail, Slack... none of those apps are able to complete the action.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Is there a way a can read the file?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Would it be possible to pass a Uri that can be resolved by the ContentResolver?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2019 09:28:30 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Cannot-share-a-preview/m-p/193517#M8689</guid>
      <dc:creator>elodie</dc:creator>
      <dc:date>2019-05-29T09:28:30Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot share a preview</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Cannot-share-a-preview/m-p/193519#M8690</link>
      <description>Unfortunately, the Dropbox Android app doesn't currently support content links, but I'll be sure to pass this along as a feature request.</description>
      <pubDate>Tue, 08 Nov 2016 00:34:58 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Cannot-share-a-preview/m-p/193519#M8690</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2016-11-08T00:34:58Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot share a preview</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Cannot-share-a-preview/m-p/193521#M8691</link>
      <description>&lt;P&gt;Hi Greg,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your quick answer.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It's true that supporting content links would solve my issue but I don't think it's the only problem.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When the document is saved in Dropbox I can read the file from the Uri passed by dropbox&lt;/P&gt;&lt;P&gt;(format is file:///storage/emulated/0/Android/data/com.dropbox.android/files/XXX ) even if it's not a content link.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But when I try to share a document that is not saved yet, the Uri passed by the dropbox app doesn't seem to exist. I get a&amp;nbsp;FileNotFoundException.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Would it be possible to pass the Uri passed by the mail client as a temporary solution?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I don't see how the "share to" option in the dropbox preview screen is supposed to work otherwise. Does it work in some cases?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 08 Nov 2016 01:00:33 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Cannot-share-a-preview/m-p/193521#M8691</guid>
      <dc:creator>elodie</dc:creator>
      <dc:date>2016-11-08T01:00:33Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot share a preview</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Cannot-share-a-preview/m-p/193624#M8710</link>
      <description>Thanks for elaborating. I'll have the team take a look to see if we can offer a solution.</description>
      <pubDate>Tue, 08 Nov 2016 18:46:30 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Cannot-share-a-preview/m-p/193624#M8710</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2016-11-08T18:46:30Z</dc:date>
    </item>
  </channel>
</rss>

